punk
10.01.2010, 17:12
Есть у меня скрипт на эту часть ЦЛК. на винде компилируется нормально, а на линуксе ошибочки
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp:286:82: warning: no newline at end of file
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp: In member function 'void npc_proudmooreAI::StartEvent(Player*)':
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp:83: error: 'Sleep' was not declared in this scope
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp: In member function 'void npc_windrunnerAI::StartEvent(Player*)':
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp:189: error: 'Sleep' was not declared in this scope
make[6]: *** [instance_the_forge_of_souls.lo] Error 1
make[6]: Leaving directory `/opt/mangos/objdir/src/bindings/ScriptDev2'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/opt/mangos/objdir/src/bindings/ScriptDev2'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/mangos/objdir/src/bindings/ScriptDev2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/mangos/objdir/src/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/mangos/objdir'
make: *** [all] Error 2
сам скрипт http://filebeam.com/66d3de9bee7a3060e95c22e20de60f6b
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp:286:82: warning: no newline at end of file
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp: In member function 'void npc_proudmooreAI::StartEvent(Player*)':
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp:83: error: 'Sleep' was not declared in this scope
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp: In member function 'void npc_windrunnerAI::StartEvent(Player*)':
../../../../src/bindings/ScriptDev2/scripts/northrend/icecrown_citadel/the_forge_of_souls/instance_the_forge_of_souls.cpp:189: error: 'Sleep' was not declared in this scope
make[6]: *** [instance_the_forge_of_souls.lo] Error 1
make[6]: Leaving directory `/opt/mangos/objdir/src/bindings/ScriptDev2'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/opt/mangos/objdir/src/bindings/ScriptDev2'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/mangos/objdir/src/bindings/ScriptDev2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/mangos/objdir/src/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/mangos/objdir'
make: *** [all] Error 2
сам скрипт http://filebeam.com/66d3de9bee7a3060e95c22e20de60f6b