PDA

View Full Version : Zlib.lib


mixxit
06-24-2009, 02:31 PM
http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008

This links me a zlib with no zlib.lib resulting in a failure

Has anyone gone through this guide to test that it is working?

nilbog
06-24-2009, 02:40 PM
That link works fine for me.. I don't think its the zlib.lib you are looking for, just the C:/zlib/lib as a folder.

It should contain zdll.exp, zdll.lib, and zlib.def

mixxit
06-24-2009, 02:44 PM
Hmm

1>------ Build started: Project: ucs, Configuration: Release Win32 ------
2>------ Build started: Project: mailserver, Configuration: Release Win32 ------
1>Linking...
2>Linking...
1>LINK : fatal error LNK1181: cannot open input file 'zlib.lib'
2>LINK : fatal error LNK1181: cannot open input file 'zlib.lib'
2>Build log was saved at "file://c:\eqemu\mailserver\Release\BuildLog.htm"
2>mailserver - 1 error(s), 0 warning(s)
1>Build log was saved at "file://c:\eqemu\ucs\Release\BuildLog.htm"
1>ucs - 1 error(s), 0 warning(s)
3>------ Build started: Project: chatserver, Configuration: Release Win32 ------
3>Linking...
3>LINK : fatal error LNK1181: cannot open input file 'zlib.lib'
3>Build log was saved at "file://c:\eqemu\chatserver\Release\BuildLog.htm"
3>chatserver - 1 error(s), 0 warning(s)
4>------ Build started: Project: Zone, Configuration: Release Win32 ------
5>------ Build started: Project: World, Configuration: Release Win32 ------
5>Linking...
4>Linking...
5>LINK : fatal error LNK1181: cannot open input file 'zlib.lib'
5>Build log was saved at "file://c:\eqemu\Build\World\Release\BuildLog.htm"
4>LINK : fatal error LNK1181: cannot open input file 'zlib.lib'
5>World - 1 error(s), 0 warning(s)
4>Build log was saved at "file://c:\eqemu\Build\Zone\Release\BuildLog.htm"
4>Zone - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 5 failed, 2 up-to-date, 0 skipped ==========

mixxit
06-24-2009, 02:48 PM
As you can see in the project they are clearly defined as zlib.lib

http://games.freshinc.co.uk/dp/zlib.PNG

Shendare
06-24-2009, 02:58 PM
Sounds like you haven't told Visual C++ where to find zlib.lib.

Check under Tools -> Options -> Projects and Solutions -> VC++ Directories

Under the right-hand drop-down list, choose "Library Files", and make sure your zlib directory (e.g., C:\zlib\lib) is listed in the big list box underneath.

You'll also want to make sure the Include directory is set (e.g. C:\zlib\include).

Also, it doesn't hurt to double check your configured zlib directory and make sure zlib.lib is indeed in the lib folder.

mixxit
06-24-2009, 03:00 PM
No the wiki links me a file without zlib.lib like i said in my OP

The paths are defined in includes and libraries, the folder matches the content and is without a .lib file.

mixxit
06-24-2009, 03:02 PM
http://games.freshinc.co.uk/dp/nozlib.PNG

Shendare
06-24-2009, 03:06 PM
Ahh, I see what's going on.

The official zip file calls the lib 'zdll.lib' instead of 'zlib.lib'.

I personally simply made a copy of zdll.lib named zlib.lib, and everything worked for me from there.

It's been a while, so I forgot about that little switcheroo.

mixxit
06-24-2009, 03:07 PM
Cheers! I'll give it a quick go now!

mixxit
06-24-2009, 03:08 PM
Erk - it got past the zlib but gave me a whole load more instead!

1>------ Build started: Project: ucs, Configuration: Release Win32 ------
2>------ Build started: Project: mailserver, Configuration: Release Win32 ------
2>Linking...
1>Linking...
2>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateInit2_ already defined in zlib.lib(zlib1.dll)
2>mysqlclient.lib(inflate.obj) : error LNK2005: _inflate already defined in zlib.lib(zlib1.dll)
2>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateEnd already defined in zlib.lib(zlib1.dll)
1>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateInit2_ already defined in zlib.lib(zlib1.dll)
1>mysqlclient.lib(inflate.obj) : error LNK2005: _inflate already defined in zlib.lib(zlib1.dll)
1>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateEnd already defined in zlib.lib(zlib1.dll)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in LIBCMT.lib(recalloc.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __expand already defined in LIBCMT.lib(expand.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in LIBCMT.lib(msize.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_malloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_realloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_recalloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_malloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_realloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_recalloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_free already defined in LIBCMT.lib(align.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in LIBCMT.lib(recalloc.obj)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_msize already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(malloc.obj) : error LNK2005: _V6_HeapAlloc already defined in LIBCMT.lib(malloc.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __expand already defined in LIBCMT.lib(expand.obj)
2>LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in LIBCMT.lib(dbghook.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in LIBCMT.lib(msize.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_malloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_pHeaderDefer already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_amblksiz already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_realloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_amblksiz already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_recalloc already defined in LIBCMT.lib(align.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_malloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_init already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_realloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_find_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_recalloc already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_free_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_free already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_msize already defined in LIBCMT.lib(align.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_region already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(malloc.obj) : error LNK2005: _V6_HeapAlloc already defined in LIBCMT.lib(malloc.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_group already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_resize_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in LIBCMT.lib(dbghook.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_pHeaderDefer already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heapmin already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_check already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype_l already defined in LIBCMT.lib(isctype.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_amblksiz already defined in LIBCMT.lib(sbheap.obj)
2>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_amblksiz already defined in LIBCMT.lib(sbheap.obj)
2>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_init already defined in LIBCMT.lib(sbheap.obj)
2>.\../Build/Mailserver.exe : fatal error LNK1169: one or more multiply defined symbols found
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_find_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_free_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_region already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_group already defined in LIBCMT.lib(sbheap.obj)
2>Build log was saved at "file://c:\eqemu\mailserver\Release\BuildLog.htm"
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_resize_block already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heapmin already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_check already defined in LIBCMT.lib(sbheap.obj)
1>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype_l already defined in LIBCMT.lib(isctype.obj)
1>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj)
1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>.\../Build/Chatserver.exe : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://c:\eqemu\ucs\Release\BuildLog.htm"
1>ucs - 34 error(s), 1 warning(s)
2>mailserver - 34 error(s), 1 warning(s)
3>------ Build started: Project: chatserver, Configuration: Release Win32 ------
4>------ Build started: Project: eqlaunch, Configuration: Release Win32 ------
4>Linking...
3>Linking...
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)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in LIBCMT.lib(recalloc.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __expand already defined in LIBCMT.lib(expand.obj)
4>Embedding manifest...
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in LIBCMT.lib(msize.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_malloc already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_realloc already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_recalloc already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_malloc already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_realloc already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_recalloc already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_free already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_msize already defined in LIBCMT.lib(align.obj)
3>LIBCMTD.lib(malloc.obj) : error LNK2005: _V6_HeapAlloc already defined in LIBCMT.lib(malloc.obj)
3>LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in LIBCMT.lib(dbghook.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_pHeaderDefer already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_amblksiz already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_amblksiz already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_init already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_find_block already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_free_block already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_block already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_region already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_group already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_resize_block already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heapmin already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_check already defined in LIBCMT.lib(sbheap.obj)
3>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype_l already defined in LIBCMT.lib(isctype.obj)
3>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj)
3>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
3>.\../Build/Chatserver.exe : fatal error LNK1169: one or more multiply defined symbols found
3>Build log was saved at "file://c:\eqemu\chatserver\Release\BuildLog.htm"
3>chatserver - 34 error(s), 1 warning(s)
5>------ Build started: Project: Zone, Configuration: Release Win32 ------
5>Linking...
4>Build log was saved at "file://c:\eqemu\eqlaunch\Release\BuildLog.htm"
4>eqlaunch - 0 error(s), 0 warning(s)
5>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateInit2_ already defined in zlib.lib(zlib1.dll)
5>mysqlclient.lib(inflate.obj) : error LNK2005: _inflate already defined in zlib.lib(zlib1.dll)
5>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateEnd already defined in zlib.lib(zlib1.dll)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in LIBCMT.lib(recalloc.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __expand already defined in LIBCMT.lib(expand.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in LIBCMT.lib(msize.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_malloc already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_realloc already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_recalloc already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_malloc already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_realloc already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_offset_recalloc already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_free already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __aligned_msize already defined in LIBCMT.lib(align.obj)
5>LIBCMTD.lib(malloc.obj) : error LNK2005: _V6_HeapAlloc already defined in LIBCMT.lib(malloc.obj)
5>LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in LIBCMT.lib(dbghook.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: __set_amblksiz already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: __get_amblksiz already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_init already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_find_block already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_free_block already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_block already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_region already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_alloc_new_group already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_resize_block already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heapmin already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_heap_check already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(sbheap.obj) : error LNK2005: ___sbh_pHeaderDefer already defined in LIBCMT.lib(sbheap.obj)
5>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype_l already defined in LIBCMT.lib(isctype.obj)
5>LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj)
5>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
5>.\../Build/Zone.exe : fatal error LNK1169: one or more multiply defined symbols found
5>Build log was saved at "file://c:\eqemu\Build\Zone\Release\BuildLog.htm"
5>Zone - 34 error(s), 1 warning(s)
6>------ Build started: Project: World, Configuration: Release Win32 ------
6>Linking...
6>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateInit2_ already defined in zlib.lib(zlib1.dll)
6>mysqlclient.lib(inflate.obj) : error LNK2005: _inflate already defined in zlib.lib(zlib1.dll)
6>mysqlclient.lib(inflate.obj) : error LNK2005: _inflateEnd already defined in zlib.lib(zlib1.dll)
6>LINK : fatal error LNK1104: cannot open file 'perl510.lib'
6>Build log was saved at "file://c:\eqemu\Build\World\Release\BuildLog.htm"
6>World - 4 error(s), 0 warning(s)
========== Build: 1 succeeded, 5 failed, 1 up-to-date, 0 skipped ==========

nilbog
06-24-2009, 03:14 PM
Oh, strange I never even thought it would be named differently. That guide is the one I followed, only difference is I use visual studio 2008, instead of express, and my directories are closer to root C: than yours are in your pic.

http://i41.tinypic.com/fo3yb8.jpg

mixxit
06-24-2009, 03:17 PM
I'm not on express mate

mixxit
06-24-2009, 03:30 PM
Sounds to me like zlib is using something mysql is already using?

Shendare
06-24-2009, 03:40 PM
I'm not sure about the multiple-link errors.

It's possible you changed some linker settings as a result of the zlib.lib problem, and those changes are now breaking other things.

I would suggest doing a recursive SVN "revert" to re-download any files and settings that might have been changed from the stock SVN download.

Zandig
06-24-2009, 03:51 PM
If you follow the guide exactly it works.

Why do you have zlib installed to c:\programs\zlib?

- Download the zlib zip file and unzip it to c:\zlib

You may want to try the guide again and follow it exactly.

mixxit
06-24-2009, 05:12 PM
i have both

Zandig
06-24-2009, 06:43 PM
Delete your:
C:\Program Files\zlib directory

- make sure to unzip to only:
C:\zlib

- update your VS directories according to the guide for your Include files and Library files

- reboot and try again...