Log in

View Full Version : What libraries


bushman77
11-14-2006, 10:05 AM
ok when trying to compile the latest binaries i get errors. Am I suppose to be using specific Librares and Header files to complile these or what?

paaco
11-14-2006, 10:15 AM
Check this out Bushman.
http://www.eqemulator.net/wiki/wikka.php?wakka=DevVSExpress

bushman77
11-15-2006, 10:14 AM
so far it lookin absolutly hopless

bushman77
11-21-2006, 01:40 PM
ok i've installed vs 2005 express with PSDK-x86.exe package.

Editied my vsprops to what was instructed and setup my library paths.
I get teh following when i try to compile

Compiling...
client.cpp
f:\zlib\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
EQChatPacket.cpp
c1xx : fatal error C1083: Cannot open source file: '..\common\EQChatPacket.cpp': No such file or directory
misc.cpp
f:\zlib\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
packet_functions.cpp
f:\zlib\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Generating Code...

which tells me i'm missing those files

fathernitwit
11-24-2006, 05:03 AM
if your zlib is looking for unistd.h, you have the wrong zlib.

bushman77
12-04-2006, 06:48 AM
what version of zlib do i need then?

bushman77
12-05-2006, 05:57 AM
ok i was using the download links in the wiki, which ponts to an incorrect package. this is the correct package you need http://www.zlib.net/zlib123-dll.zip

John Adams
12-05-2006, 09:51 AM
The Wiki also had a link on how to edit zconf.h.

http://www.thristam.com/stuff/tutorial/VS2K5_compile_windows.htm

Possible error messages with Uninst.h



You might get an error from the zlib\zconf.h having a problem with the uninst.h file. If you get this error, open zconf.h with a text editor and scroll down to line number 238. Make sure that the line shows as follows:

#if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */

If the #if is 1, change it to 0 to fix it (for windows)