Author Topic: [HELP]Strange LD.exe cannot find bug.  (Read 4980 times)

Offline Commando950

  • Single posting newcomer
  • *
  • Posts: 3
[HELP]Strange LD.exe cannot find bug.
« 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.

Offline jarod42

  • Multiple posting newcomer
  • *
  • Posts: 87
Re: [HELP]Strange LD.exe cannot find bug.
« Reply #1 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.


Offline Commando950

  • Single posting newcomer
  • *
  • Posts: 3
Re: [HELP]Strange LD.exe cannot find bug.
« Reply #2 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?