User forums > General (but related to Code::Blocks)

Installation Problem ld.exe

(1/2) > >>

CEinNYC:
Noob here to CodeBlocks, and trying to compile initial programs (circa "Hello World!" level), and I'm encountering this problem

ld.exe cannot find -lstrmbase
ld.exe cannot find -lz


I do have MinGW installed and using the most up to date version of CodeBlocks.   I find that this is a common problem on forums, but the resolution options are either inconsistent or dated to previous versions of CodeBlocks/Windows.

Any suggestions?  This is for a class and I"m the sole PC user in the class (Apple users dominate the class).  So, I'm out here alone.   :shock:

Thanks for any advice!

stahta01:
Turn ON FULL Compiler Logging!!!

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Post info about your Compiler! Name and Version?

Find a site that supports your Compiler for most questions like this.

Do the missing libraries exist as standard in the Compiler?
Or, do you have the Libraries installed that the Compiler can not find?

Path to the Libraries?

Tim S.

Ceniza:
Just delete the libraries from the project settings if you do not really need them (z and strmbase)... which, for a nearly "Hello World" project, you will most likely not.

CEinNYC:
Thanks for the replies. Still no luck but I'm on the path.  (Sans, deleting libraries, but that may be my last resort).

stahta01:

--- Quote from: CEinNYC on November 05, 2010, 04:51:26 pm ---Thanks for the replies. Still no luck but I'm on the path.  (Sans, deleting libraries, but that may be my last resort).



--- End quote ---

Try installing the z library.

Edit: And, delete the strmbase from your library list.

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version