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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-11-2012, 11:32 PM
dew1960
Sarnak
 
Join Date: Feb 2008
Posts: 80
Default Overcoming fatal error unable to open "Zlib.lib"

Success!

Just a Heads up for anyone encountering annyoing fatal errors about not being able to open zlib.lib file when compiling:

I Used VS 2008 Express, MySQL Server ver 5.1.61-win32,and ActivePerl-5.12.4.1205-MSWin32-x86-294981.

I installed to the c:\ root directory and also unzipped the zlib compressed file download.


Note: The "zlib.lib" file was missing from the posted source. I obtained a copy from a previous server I had set up (I saved my old installation files to the server folder after I compiled it).

I opened up the file with and editor and posted the code here for anyone that is missing that file and getting the fatal error's related to being unable to access 'zlib.lib".

Go to your zlilb\lib\ folder and start a new txt file but save it as "zlib.lib" and choose "all files for the file type" (in Windows). Then if that was your only compile error, you should be able to compile with no more errors. Ignore the warnings, it is only errors you have to be concerned with.


I hope this helps. I know how frustrating it can be when you keep trying to compile and get errors every time. :(

With Any luck your result will be like mine:


6>Build log was saved at "file://c:\Source\trunk\EQEmuServer\ucs\Debug\BuildLog.htm "
6>ucs - 0 error(s), 85 warning(s)
========== Build: 6 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Code:

LIBRARY
; zlib data compression library

EXPORTS
; basic functions
    zlibVersion
    deflate
    deflateEnd
    inflate
    inflateEnd
; advanced functions
    deflateSetDictionary
    deflateCopy
    deflateReset
    deflateParams
    deflateBound
    deflatePrime
    inflateSetDictionary
    inflateSync
    inflateCopy
    inflateReset
    inflateBack
    inflateBackEnd
    zlibCompileFlags
; utility functions
    compress
    compress2
    compressBound
    uncompress
    gzopen
    gzdopen
    gzsetparams
    gzread
    gzwrite
    gzprintf
    gzputs
    gzgets
    gzputc
    gzgetc
    gzungetc
    gzflush
    gzseek
    gzrewind
    gztell
    gzeof
    gzclose
    gzerror
    gzclearerr
; checksum functions
    adler32
    crc32
; various hacks, don't look :)
    deflateInit_
    deflateInit2_
    inflateInit_
    inflateInit2_
    inflateBackInit_
    inflateSyncPoint
    get_crc_table
    zError

Have a Happy Day!
Reply With Quote
 


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 02:25 PM.


 

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