lycsop 发表于 2008-1-10 22:07:31

linux下编译sma文件的问题

CentOS4.1; HL3421;amxx1.76c,用chmod +x compile.sh,加了权限,可是运行时如下:
addons/amxmodx/scripting/include/cstrike.inc(14) : warning 207: unknown #pragma
addons/amxmodx/scripting/include/cstrike.inc(14) : error 038: extra characters on line
addons/amxmodx/scripting/include/cstrike.inc(16) : warning 207: unknown #pragma
addons/amxmodx/scripting/include/cstrike.inc(16) : error 038: extra characters on line

amxmodx/scripting/include/fun.inc(14) : warning 207: unknown #pragma
amxmodx/scripting/include/fun.inc(14) : error 038: extra characters on line
addons/amxmodx/scripting/include/fun.inc(16) : warning 207: unknown #pragma
addons/amxmodx/scripting/include/fun.inc(16) : error 038: extra characters on line

部分文件可以编译成功,是不是有些sma文件有问题才这样,有高手知道的没?

lhping 发表于 2008-1-11 02:19:42

回复: linux下编译sma文件的问题

你可以直接在win用版主修改过的编译器编译用用在linux环境。

lycsop 发表于 2008-1-11 08:25:43

回复: linux下编译sma文件的问题

哦,那我去下个试试。
页: [1]
查看完整版本: linux下编译sma文件的问题