Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2011, 07:55 AM
Kalastrom
Fire Beetle
 
Join Date: May 2011
Posts: 8
Default

Well the only problem with the pthread.h and other related compilation problems is that somebody (for some unknown reason) decided to change the OS defs from _WIN32 to _WINDOWS which breaks windows compilation as there's no such definition according to MS. There's about 170 or so of them that I've replaced in my copy of the source from what I remember in my find and replace.

For those that wish to know more, pthread.h and a couple others are *nix specific headers relating mostly to threading, since *nix is typically posix compatible and windows is not.

To break it down even further, since those of us with this particular problem are on windows platforms it's looking for _WINDOWS to be defined, and since it isn't VS skips to the else section which is for *nix. In other words not a IDE problem, but a problem resulting from attempting to program for multiple platforms without knowing the proper OS defines.


Now to figure out why my eqlaunch is complaining about unresolved zlib externals when it shouldn't be...
Reply With Quote
  #2  
Old 01-19-2012, 09:07 AM
dark_fusion's Avatar
dark_fusion
Fire Beetle
 
Join Date: Jun 2007
Posts: 18
Default

Slowly I'm making progress, I get everything to compile except the world which gives the following error messages - Any idea how to fix?

Code:
console.obj : error LNK2019: unresolved external symbol "public: void __thiscall QueryServConnection::SetConnection(class EmuTCPConnection *)" (?SetConnection@QueryServConnection@@QAEXPAVEmuTCPConnection@@@Z) referenced in function "public: bool __thiscall Console::Process(void)" (?Process@Console@@QAE_NXZ)
2>net.obj : error LNK2019: unresolved external symbol "public: bool __thiscall QueryServConnection::Process(void)" (?Process@QueryServConnection@@QAE_NXZ) referenced in function _main
2>net.obj : error LNK2019: unresolved external symbol "public: __thiscall QueryServConnection::QueryServConnection(void)" (??0QueryServConnection@@QAE@XZ) referenced in function "void __cdecl `dynamic initializer for 'QSLink''(void)" (??__EQSLink@@YAXXZ)
2>zoneserver.obj : error LNK2019: unresolved external symbol "public: bool __thiscall QueryServConnection::SendPacket(class ServerPacket *)" (?SendPacket@QueryServConnection@@QAE_NPAVServerPacket@@@Z) referenced in function "public: bool __thiscall ZoneServer::Process(void)" (?Process@ZoneServer@@QAE_NXZ)
2>.\../build/World.exe : fatal error LNK1120: 4 unresolved externals
Reply With Quote
  #3  
Old 01-19-2012, 09:21 AM
dark_fusion's Avatar
dark_fusion
Fire Beetle
 
Join Date: Jun 2007
Posts: 18
Default

Well I fixed it - to anyone else who has this issue. I had to manually add queryserv.h and queryserv.cpp to the world project.
Reply With Quote
  #4  
Old 01-19-2012, 10:42 AM
dark_fusion's Avatar
dark_fusion
Fire Beetle
 
Join Date: Jun 2007
Posts: 18
Default

Ok so I got it to compile, now the zones crash as soon as they boot up.. guess im not using a new version...
Reply With Quote
  #5  
Old 01-29-2012, 12:08 AM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

just dropped in to let you know this compiled like a champ for me. Thanks Secrets.
Reply With Quote
  #6  
Old 01-29-2012, 01:10 AM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

Kalastrom
read the last post
http://www.eqemulator.org/forums/sho...ht=zlib+errors
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:42 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3