Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Commando950 on February 01, 2013, 02:45:14 pm

Title: [HELP]Strange LD.exe cannot find bug.
Post by: Commando950 on February 01, 2013, 02:45:14 pm
OS:Vista
IDE:Code::Blocks
Compiler:minGW
Project:Sauerbraten(game at http://sauerbraten.org/)
Trying to recompile the source code to my likings.
I have 0 Errors in my code, but as soon as I try to compile it.

I get the build message below.
ld.exe  cannot find -lzlib1

Does anyone know how I can fix this? Please help me I know of no other place to ask really.   :-\

I am new to code::blocks,c++ programming, and mingw.Yet, I am sure I made 0 errors in my code.
Title: Re: [HELP]Strange LD.exe cannot find bug.
Post by: jarod42 on February 01, 2013, 05:23:12 pm
It is a linker error.

Do you have zlib installed on your machine ?

You have to provide linker seach Path to zlib (if it is not in a standard place) in:
Project -> Build options.. : Search Directories : Linker.

Title: Re: [HELP]Strange LD.exe cannot find bug.
Post by: Commando950 on February 01, 2013, 08:22:39 pm
It is a linker error.

Do you have zlib installed on your machine ?

You have to provide linker seach Path to zlib (if it is not in a standard place) in:
Project -> Build options.. : Search Directories : Linker.



I don't know,my guess is probably not?Where can I get this zlib from?