PDA

View Full Version : Compile problems in .7-0-788


Armanthuz
05-15-2006, 02:58 AM
On compiling world in vs net 2005 i get...

Error about not being able to find EQChatPacket file
- Removed line from world vcproj and it compiles fine after that.

However when i try to compile zone.exe i get only 2 errors at the very end when its trying to link stuff...

Linking...
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/Zone.exe : fatal error LNK1120: 2 unresolved externals


Anyone have a clue what i can do to get this to compile???

fathernitwit
05-15-2006, 01:33 PM
you need common\patches\Titanium.cpp in your project file, it should have been there by default though.

Armanthuz
05-17-2006, 12:55 AM
Thank you for taking the time to asnwer my question. I double checked the existence and location of said files and they are there. Ill make another post later today about my experiences trying to compile this and maybe it will make more sense then.

LostZaphod
05-17-2006, 02:56 AM
I use Visual studio 2003 and these mods

(also make sure you have mysql, zlib, perl header files and the the libs "mysqlclient.lib, zlib.lib, perl58.lib")

delete these from the common section world.vcproj
<File RelativePath="..\common\EQChatPacket.cpp"> </File>
<File RelativePath="..\common\EQLoginPacket.cpp"> </File>
<File RelativePath="..\common\EQMailPacket.cpp"> </File>
<File RelativePath="..\common\EQWorldPacket.cpp"> </File>
<File RelativePath="..\common\EQZonePacket.cpp"> </File>

add these to the common section of world.vcproj
<File RelativePath="..\common\TCPServer.cpp"> </File>
<File RelativePath="..\common\EmuTCPConnection.cpp"> </File>
<File RelativePath="..\common\EmuTCPServer.cpp"> </File>