Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started 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!
-
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.
-
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.
-
Thanks for the replies. Still no luck but I'm on the path. (Sans, deleting libraries, but that may be my last resort).
-
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.
-
I've the same problem
-
I've the same problem
Find a site that supports your compiler and post there!!
Tim S.
-
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.