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. |
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.
|
Quote:
[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. |
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.
|
Quote:
https://i.ibb.co/k0cH2TB/server-folder.jpg |
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. |
All times are GMT -4. The time now is 05:02 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.