News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

"/usr/bin/ld: cannot find -lmingw32" from Dev C++ Windows to Code::Blocks Linux

Started by Dr. Kylstien, December 24, 2008, 07:37:57 PM

Previous topic - Next topic

Dr. Kylstien

If I recall correctly, I had manually added "-lmingw32" as well as parameters for SDL to my project in Dev C++. I believe this to be the cause of my current trouble. However, I cannot find these anywhere in Code::Blocks.

stahta01

You should add the Project's libraries to:
Project -> Build Options
Tab "Linker Settings"
Box "Link Libraries"

add in "mingw32" without double quotes or the leading -l.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Dr. Kylstien

I wanted to remove it, not re-add it! But you did help me find it, so thanks.