Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: CEinNYC on November 04, 2010, 04:05:57 pm

Title: Installation Problem ld.exe
Post by: CEinNYC on November 04, 2010, 04:05:57 pm
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!
Title: Re: Installation Problem ld.exe
Post by: stahta01 on November 04, 2010, 04:46:53 pm
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.

Title: Re: Installation Problem ld.exe
Post by: Ceniza on November 04, 2010, 04:49:29 pm
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.
Title: Re: Installation Problem ld.exe
Post by: 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).

Title: Re: Installation Problem ld.exe
Post by: stahta01 on November 05, 2010, 09:38:17 pm
Thanks for the replies. Still no luck but I'm on the path.  (Sans, deleting libraries, but that may be my last resort).



Try installing the z library.

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

Tim S.
Title: Re: Installation Problem ld.exe
Post by: jamec9869 on November 18, 2010, 04:09:58 am
I've the same problem
Title: Re: Installation Problem ld.exe
Post by: stahta01 on November 18, 2010, 05:18:21 am
I've the same problem

Find a site that supports your compiler and post there!!

Tim S.
Title: Re: Installation Problem ld.exe
Post by: Jenna on November 18, 2010, 07:30:39 am
I've the same problem

Find a site that supports your compiler and post there!!

Tim S.
He will not answer.
It was just spambot and the account is deleted now.