Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2011, 12:28 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

You might try ActiveState 5.12 and see if you have the same issues. I believe 5.14 is the first to make that macro return an r-value. You will also need to search the code for the string #pragma comment(lib, "perl510.lib") and change it to the version you end up using. There are two places that need to be changed.

Some have reported that Strawberry Perl 5.10 worked for them, although I have not used it. You can get it here: http://strawberryperl.com/


I haven't had to compile with the newer version of zlib that renamed the files yet. If I had to I'd probably text replace "zlib.lib" to "zdll.lib" in all the *.vcproj files under the EQEmuServer directory and hope for the best. Kind of a pain though because if someone changes one you'll have a conflict when you refresh from SVN.

Other options include working some Google-Fu to find an older version before the rename, or some people have said that just renaming the new file to zlib.lib worked for them.
Reply With Quote
  #2  
Old 08-16-2011, 03:15 AM
takatok
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 20
Default

Thanks for the help.

If anyone else encounters these problems -- Switching to 5.12 and changing the pragma worked wonderfully. Changing the files to link to zdll also worked with one slight problem.

I'm currently using mysql server 5.1.58 and zlib version 1.2.3

On both zone and world I get the following linking problems:
3>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateInit2_ already defined in zlib.lib(zlib1.dll)
3>mysqlclient.lib(inflate.obj) : error LNK2005: _inflate already defined in zlib.lib(zlib1.dll)
3>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateEnd already defined in zlib.lib(zlib1.dll)


I'm guessing either both libraries do the same function or somehow they picked the same names for diffrent functions. Obviously a version problem between to the two. If anyone can tell me what versions of mysql and zlib they are using I might be able to hunt down older copies of one or the other. Links to either would be even more excellent.

Down to this final error to get things working

UPDATE ---------- UPDATE
Well after poking around in the mysql dirs. I noticed it used zlib itself. After seeing a million dependency problems fixed by switching order around, I flipped the lib directories in VC++. Worked like a charm. SO MAKE SURE MYSQL IS ABOVE ZLIB in the VC++ directories if you encounter this problem.

Tony

PS thanks again for the help lerxst
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 01:31 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