PDA

View Full Version : Down to just 2 compile errors, help plz


tcsmyworld
05-12-2002, 12:43 PM
I read all the posts about compile errors, fixed all the ones that are in them, but i have 2 not yet listed.
I get one error on world compile=

--------------------Configuration: World - Win32 Release--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "zlib.lib"
Error executing link.exe.

World.exe - 1 error(s), 0 warning(s)


And i get one warning and the same error as world on zonent=

--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'


Linking...
LINK : fatal error LNK1181: cannot open input file "zlib.lib"
Error executing link.exe.
Creating browse info file...

ZoneNT.exe - 1 error(s), 1 warning(s)

Any help would be greatly appreciated, I'm fairly new to coding and compiling, but am trying to do as much as i can myself.
I set up config in compiler to point to zlib (which fixed my zlib.h prob. but brought the new error), and pointed it also to mysql (which fixed other prob :) with mysql.h).
I've tried everything I can think of , it's driving me nuts :)
I'm using MSVC++6.0 , MySql 3.23.49 ,and zlib114.

Trumpcard
05-12-2002, 01:35 PM
Think zlib.lib is in mysql/lib

look in there, and add it to your project lib path, or copy it into the standard lib path..

tcsmyworld
05-12-2002, 07:49 PM
I added it and stiil the same thing, dont see link.exe anywhere tho.