Compiling Errors
After "zone" is compiled and linking begins, I get this message:
Compiling manifest to resources... Linking... worldserver.obj : error LNK2019: unresolved external symbol __imp__ShellExecuteA@24 referenced in function "public: virtual void __thiscall WorldServer::Process(void)" (?Process@WorldServer@@UAEXXZ) EQZonePacket.obj : error LNK2019: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) referenced in function "public: __thiscall EQApplicationPacket::EQApplicationPacket(class OpcodeManager * *)" (??0EQApplicationPacket@@QAE@PAPAVOpcodeManager@@@ Z) EQChatPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) EQLoginPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) EQMailPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) EQWorldPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) patches.obj : error LNK2019: unresolved external symbol "void __cdecl Live::Register(class EQStreamIdentifier &)" (?Register@Live@@YAXAAVEQStreamIdentifier@@@Z) referenced in function "void __cdecl RegisterAllPatches(class EQStreamIdentifier &)" (?RegisterAllPatches@@YAXAAVEQStreamIdentifier@@@Z ) patches.obj : error LNK2019: unresolved external symbol "void __cdecl Live::Reload(void)" (?Reload@Live@@YAXXZ) referenced in function "void __cdecl ReloadAllPatches(void)" (?ReloadAllPatches@@YAXXZ) mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _my_win_init mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumValueA@32 referenced in function _my_win_init mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _my_win_init ../build/ZoneDebug.exe : fatal error LNK1120: 7 unresolved externals Creating browse information file... Microsoft Browse Information Maintenance Utility Version 8.00.50727 Copyright (C) Microsoft Corporation. All rights reserved. I'm using Microsoft Visual C++ 2005 and 0.7.0. I have very limited knowledge of c++ and am completely stuck at this point. Any information on how to fix these problems would be greatly appreciated. Thank you, Mendorr |
make sure u have all the files added to ur project in the common/patches folder. except template.cpp, dont add that ;p
|
I looks like you just need to add the file EQPacket.cpp to your Zone project.
|
adding the files in the common/patches folder got rid of a a couple errors. It now shows:
------ Build started: Project: Zone, Configuration: Debug Win32 ------ Linking... EQZonePacket.obj : error LNK2019: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) referenced in function "public: __thiscall EQApplicationPacket::EQApplicationPacket(class OpcodeManager * *)" (??0EQApplicationPacket@@QAE@PAPAVOpcodeManager@@@ Z) EQChatPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) EQLoginPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) EQMailPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) EQWorldPacket.obj : error LNK2001: unresolved external symbol "protected: __thiscall EQPacket::EQPacket(class OpcodeManager * *,unsigned short,unsigned char const *,unsigned int)" (??0EQPacket@@IAE@PAPAVOpcodeManager@@GPBEI@Z) patches.obj : error LNK2019: unresolved external symbol "void __cdecl Live::Register(class EQStreamIdentifier &)" (?Register@Live@@YAXAAVEQStreamIdentifier@@@Z) referenced in function "void __cdecl RegisterAllPatches(class EQStreamIdentifier &)" (?RegisterAllPatches@@YAXAAVEQStreamIdentifier@@@Z ) patches.obj : error LNK2019: unresolved external symbol "void __cdecl Live::Reload(void)" (?Reload@Live@@YAXXZ) referenced in function "void __cdecl ReloadAllPatches(void)" (?ReloadAllPatches@@YAXXZ) ../build/ZoneDebug.exe : fatal error LNK1120: 3 unresolved externals Creating browse information file... Microsoft Browse Information Maintenance Utility Version 8.00.50727 Copyright (C) Microsoft Corporation. All rights reserved. I double checked and my Eqpacket.cpp is in my zone project. |
All times are GMT -4. The time now is 09:54 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.