EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Can't compile zone.exe from 6.2 server (https://www.eqemulator.org/forums/showthread.php?t=19333)

WildcardX 09-12-2005 01:59 PM

Can't compile zone.exe from 6.2 server
 
I can compile world.exe and the emushare.dll but I can't compile zone.exe or zoneperl.exe to save my life. Right now I am trying for the zoneperl.exe but I keep getting these dumb linker errors. Anyone seen these before and know what I haven't included correctly? This is the first time I have tried to compile the eqemu source and I did install mysql, perl and tossed in the zlib library. Here is the output I am stuck on.

Linking...
zoning.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
trading.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)
tribute.obj : error LNK2001: unresolved external symbol "class OpcodeManager * ZoneOpcodeManager" (?ZoneOpcodeManager@@3PAVOpcodeManager@@A)


there is a lot more in linker errors but its too long to post and it looks much like what you see above. Any ideas?

MikeyUSC 09-12-2005 02:18 PM

Add EQZoneOpCode.cpp to your common files for Zone.

WildcardX 09-12-2005 02:23 PM

Ughh.. There is no EQZoneOpCode.cpp anywhere in the source code zip i downloaded... I'll see if I can get it out of CVS, I just hope its the same version.

WildcardX 09-12-2005 02:26 PM

grrr there isnt a EQZoneOpCode.cpp in CVS either.. you sure you got that filename spelled right?

MikeyUSC 09-12-2005 03:12 PM

Sorry, was from memory.. EQZonePacket.cpp

WildcardX 09-12-2005 03:14 PM

No prob.. Actually I found the thread:

http://www.eqemulator.net/forums/sho...hlight=compile

about needing to add those 5 EQ*.cpp files to the commons of zone project. But now I am still getting just one last link error about something like _boot_PerlPacket from function _xs_init. Know that one?

EDIT: I see in embperl.cpp that is in my zone.exe project the call to "PerlPacket::boot_PerlPacket" but I dont know what I need to add.

WildcardX 09-12-2005 04:20 PM

I figured it out.. for some reason a large number of the perl*.* .cpp and .h files and the emb*.h files were not part of the zone.exe project. I just added them per another thread I saw in the tutorial section and the perl compile for zone worked.

jillmatik 09-12-2005 05:22 PM

Could you email your new compiled files to me? I'm having issues with my current zoneperl.exe (Keeps crashing with application error)

PM me if you want an email address if you could!

Thx,
J

WildcardX 09-12-2005 05:50 PM

I'm having that same error.. A message box pops up on my server with a runtime error about perl quests.. I'm going to bed now and I'll look into it more tomorrow.


All times are GMT -4. The time now is 12:52 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.