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 07-29-2021, 06:56 AM
Vire70
Sarnak
 
Join Date: Apr 2010
Posts: 33
Default zlib-ngd1.dll and compiling server issues

I've been trying to compile my own eqemu-based server, with some code modifications of my own. I'm reasonably sure my code works, in as far as one can be without actively testing it, and when I build the project in Visual Studio there are no errors.

However when I copy the binaries back into my server and overwrite the old ones, the server doesn't work. Upon launching it I experience this error;

world.exe - System Error:
"The code execution cannot proceed because zlib-ngd1.dll was not found. Reinstalling the program may fix this problem."

Searching the internet led me to this thread, http://www.eqemulator.org/forums/sho...d.php?p=266200
which is oddly enough not for the same dll but a very similarly named one. So... is this just the newest iteration of the same problem? Can anyone help me figure this out?
Thanks in advance.
Reply With Quote
  #2  
Old 07-29-2021, 10:05 AM
Bawan
Fire Beetle
 
Join Date: May 2007
Posts: 2
Default

That DLL is also created in another folder in the build, under libs/release or /debug etc or w/e was your build, it gets dumped along with your other binaries into your working server folder /bin.
Reply With Quote
  #3  
Old 07-29-2021, 06:58 PM
Vire70
Sarnak
 
Join Date: Apr 2010
Posts: 33
Default

Quote:
Originally Posted by Bawan View Post
That DLL is also created in another folder in the build, under libs/release or /debug etc or w/e was your build, it gets dumped along with your other binaries into your working server folder /bin.
zlib-ng1.dll is in my bin folder: zlib-ngd1.dll isn't, and that's the error I'm getting. In fact I can't find any record of this file. If I rename that one to ngd1, it just gives me some other error on server start; world.exe can't start, error 0x07000000000 or something like that.

[edit] So I bit the bullet and tried recompiling a standard unmodified EQEMU source, and that worked fine on the server. So apparently these vague & unhelpful errors are telling me something in my code changes has not worked. Not exactly sure how I track that down when the code is solid, VS shows no errors etc. but oh well.
Reply With Quote
  #4  
Old 07-30-2021, 05:25 AM
Bawan
Fire Beetle
 
Join Date: May 2007
Posts: 2
Default

Ahh well noticed, ) yea, I do have zlib-ngd1.dll within my working server folder but it isn't created it seems with a compile. I used the Akk installer first time around and have been compiling my own binaries with pasting them over ontop into the bin folder. It seems to work so far.
Reply With Quote
  #5  
Old 07-30-2021, 11:21 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

Quote:
Originally Posted by Bawan View Post
Ahh well noticed, ) yea, I do have zlib-ngd1.dll within my working server folder but it isn't created it seems with a compile. I used the Akk installer first time around and have been compiling my own binaries with pasting them over ontop into the bin folder. It seems to work so far.
I always do my own compiles and i have never had that infamous zlib-ngd1.dll in my server folder and it always runs fine. As you can see from the folder screenshot, it's not there. I just did a fresh server setup last night, for other testing references.

__________________
Hanging out at Antonica.World
Reply With Quote
  #6  
Old 08-01-2021, 05:58 PM
rencro
Hill Giant
 
Join Date: Sep 2008
Location: So. California
Posts: 219
Default

I was able to replicate your issue by building in "debug" referencing the fact the file name is asking for the d version.

Perhaps the issue is zlib dll is not building a debug compatible version when set to debug build with emus internal zlib?

If you must build in debug until this is addressed, in cmake uncheck EQEMU_BUILD_ZLIB and ZLIB_COMPAT, re-generate, re-compile, then just copy the contents of the debug into your servers bin directory.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:44 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3