Показать сообщение отдельно
Старый 10.12.2010, 12:53   #37
Slavich
Гость
 
Сообщений: n/a
По умолчанию

Доброе время суток,

Не знал где отписать, и вроде в теме нашел что пробовали компилить исходники от rsa
Сильно не пинайте я начинающий
1 исходники от rsa (10.12.2010)
2 пробовал VS 2008 и VS2010

Ядро компилится в порядке без каких либо проблем, но вот со скриптами:
хотя есть несколько предупреждений но они не столь важны:
Код:
..\..\src\game\Level3.cpp(4794) : warning C4018: '>' : signed/unsigned mismatch
..\..\src\game\Level3.cpp(4842) : warning C4018: '>' : signed/unsigned mismatch

..\..\src\game\Pet.cpp(3153) : warning C4018: '>' : signed/unsigned mismatch

..\..\src\game\AntiCheat.cpp(355) : warning C4018: '>' : signed/unsigned mismatch
..\mangos\src\game\anticheat.cpp(722) : warning C4715: 'AntiCheat::CheckSpellOndeath' : not all control paths return a value
1 попытка компилирования
предупреждение:
Код:
..\scripts\northrend\icecrown_citadel\frozen_halls\forge_of_souls\instance_forge_of_souls.cpp(77) : warning C4060: switch statement contains no 'case' or 'default' labels

..\scripts\northrend\icecrown_citadel\frozen_halls\halls_of_reflection\halls_of_reflection.cpp(955) : warning C4018: '<=' : signed/unsigned mismatch

..\scripts\northrend\icecrown_citadel\frozen_halls\pit_of_saron\boss_forgemaster_gafrost.cpp(149) : warning C4305: 'argument' : truncation from 'double' to 'float'
..\scripts\northrend\icecrown_citadel\frozen_halls\pit_of_saron\boss_forgemaster_gafrost.cpp(149) : warning C4305: 'argument' : truncation from 'double' to 'float'
..\scripts\northrend\icecrown_citadel\frozen_halls\pit_of_saron\boss_forgemaster_gafrost.cpp(149) : warning C4305: 'argument' : truncation from 'double' to 'float'
..\scripts\northrend\icecrown_citadel\frozen_halls\pit_of_saron\boss_forgemaster_gafrost.cpp(159) : warning C4305: 'argument' : truncation from 'double' to 'float'
..\scripts\northrend\icecrown_citadel\frozen_halls\pit_of_saron\boss_forgemaster_gafrost.cpp(159) : warning C4305: 'argument' : truncation from 'double' to 'float'
..\scripts\northrend\icecrown_citadel\frozen_halls\pit_of_saron\boss_forgemaster_gafrost.cpp(159) : warning C4305: 'argument' : truncation from 'double' to 'float'

..\scripts\northrend\crusaders_coliseum\trial_of_the_champion\boss_grand_champions.cpp(554) : warning C4305: 'argument' : truncation from 'double' to 'float'
..\scripts\northrend\crusaders_coliseum\trial_of_the_champion\boss_grand_champions.cpp(558) : warning C4305: 'argument' : truncation from 'double' to 'float'

..\mangos\src\bindings\scriptdev2\scripts\northrend\ulduar\ulduar\instance_ulduar.cpp(1093) : warning C4715: 'instance_ulduar::CheckConditionCriteriaMeet' : not all control paths return a value

..\scripts\eastern_kingdoms\scarlet_enclave\ebon_hold.cpp(1209) : warning C4018: '<' : signed/unsigned mismatch
..\scripts\eastern_kingdoms\scarlet_enclave\ebon_hold.cpp(1224) : warning C4018: '<' : signed/unsigned mismatch
ошибки:
Код:
c1xx : fatal error C1083: Cannot open source file: '..\scripts\northrend\ulduar\ulduar\boss_xt_002.cpp': No such file or directory

c1xx : fatal error C1083: Cannot open source file: '..\scripts\northrend\ulduar\ulduar\boss_general_vezax.cpp': No such file or directory

c1xx : fatal error C1083: Cannot open source file: '..\scripts\northrend\ulduar\ulduar\boss_flame_leviathan.cpp': No such file or directory

c1xx : fatal error C1083: Cannot open source file: '..\scripts\northrend\ulduar\ulduar\assembly_of_iron.cpp': No such file or directory

..\scripts\northrend\ulduar\halls_of_lightning\boss_loken.cpp(147) : error C3861: 'round': identifier not found
исправление ошибок:
первые 3 ошибок исправляются 2 способами:
1 способ заходим в ..\scripts\northrend\ulduar\ulduar\ и видим что они вроде присутствуют но переименованы, кроме assembly_of_iron.cpp:
boss_xt_002.cpp -> boss_xt002.cpp
boss_general_vezax.cpp -> boss_vezax.cpp
boss_flame_leviathan.cpp -> boss_leviathan.cpp

assembly_of_iron.cpp вообще нету

2 способ заходим в фаил 90ScriptDev2.vcproj и находим вот эти строчки
Код:
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\assembly_of_iron.cpp"
>
</File>
*******************************************************
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\boss_flame_leviathan.cpp"
>
</File>
*******************************************************
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\boss_general_vezax.cpp"
>
</File>
*******************************************************
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\boss_xt_002.cpp"
>
</File>
исправление:
Код:
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\assembly_of_iron.cpp"
>
</File> - удаляем
*******************************************************
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\boss_leviathan.cpp" - переименовываем 
>
</File> - 
*******************************************************
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\boss_vezax.cpp" - переименовываем 
>
</File>
*******************************************************
<File
RelativePath="..\scripts\northrend\ulduar\ulduar\boss_xt002.cpp" - переименовываем 
>
</File>
последняя ошибка:
Код:
..\scripts\northrend\ulduar\halls_of_lightning\boss_loken.cpp(147) : error C3861: 'round': identifier not found
исправляет вот это Murderer
Код:
	double round(double value) {
		return floor(value + 0.5);
		}
ну вроде все, начинаем снова компилить, попытка номер 2
вот тут и не знаю что делать:
Код:
   Creating library ..\..\..\..\bin\win32_release/mangosscript.lib and object ..\..\..\..\bin\win32_release/mangosscript.exp
ebon_hold.obj : error LNK2019: unresolved external symbol "public: static class Player * __cdecl ObjectAccessor::FindPlayer(class ObjectGuid)" (?FindPlayer@ObjectAccessor@@SAPAVPlayer@@VObjectGuid@@@Z) referenced in function "public: virtual void __thiscall npc_eye_of_acherusAI::JustDied(class Unit *)" (?JustDied@npc_eye_of_acherusAI@@UAEXPAVUnit@@@Z)
instance_trial_of_the_champion.obj : error LNK2001: unresolved external symbol "private: static bool MaNGOS::Singleton<class World,class MaNGOS::SingleThreaded<class World>,class MaNGOS::OperatorNew<class World>,class MaNGOS::ObjectLifeTime<class World> >::si_destroyed" (?si_destroyed@?$Singleton@VWorld@@V?$SingleThreaded@VWorld@@@MaNGOS@@V?$OperatorNew@VWorld@@@3@V?$ObjectLifeTime@VWorld@@@3@@MaNGOS@@0_NA)
instance_trial_of_the_champion.obj : error LNK2001: unresolved external symbol "private: static class World * MaNGOS::Singleton<class World,class MaNGOS::SingleThreaded<class World>,class MaNGOS::OperatorNew<class World>,class MaNGOS::ObjectLifeTime<class World> >::si_instance" (?si_instance@?$Singleton@VWorld@@V?$SingleThreaded@VWorld@@@MaNGOS@@V?$OperatorNew@VWorld@@@3@V?$ObjectLifeTime@VWorld@@@3@@MaNGOS@@0PAVWorld@@A)
instance_trial_of_the_champion.obj : error LNK2019: unresolved external symbol "public: __thiscall World::World(void)" (??0World@@QAE@XZ) referenced in function "public: static class World * __cdecl MaNGOS::OperatorNew<class World>::Create(void)" (?Create@?$OperatorNew@VWorld@@@MaNGOS@@SAPAVWorld@@XZ)
instance_trial_of_the_champion.obj : error LNK2019: unresolved external symbol "public: __thiscall World::~World(void)" (??1World@@QAE@XZ) referenced in function "public: void * __thiscall World::`scalar deleting destructor'(unsigned int)" (??_GWorld@@QAEPAXI@Z)
ScriptLoader.obj : error LNK2019: unresolved external symbol "void __cdecl AddSC_oculus(void)" (?AddSC_oculus@@YAXXZ) referenced in function "void __cdecl AddScripts(void)" (?AddScripts@@YAXXZ)
..\..\..\..\bin\win32_release/mangosscript.dll : fatal error LNK1120: 6 unresolved externals
Build log was saved at "file://e:\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BuildLog.htm"
ScriptDev2 - 7 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
зашел к rsa, у кого то уже подобная ошибка вышла, Venom писал ...

может кто что подскажет где капать и даст совет

Последний раз редактировалось Slavich; 10.12.2010 в 13:02.
  Ответить с цитированием