Code::Blocks Forums

User forums => Help => Topic started by: Dr. Kylstien on December 24, 2008, 07:37:57 pm

Title: "/usr/bin/ld: cannot find -lmingw32" from Dev C++ Windows to Code::Blocks Linux
Post by: Dr. Kylstien on December 24, 2008, 07:37:57 pm
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.
Title: Re: "/usr/bin/ld: cannot find -lmingw32" from Dev C++ Windows to Code::Blocks Linux
Post by: stahta01 on December 25, 2008, 12:27:54 am
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
Title: Re: "/usr/bin/ld: cannot find -lmingw32" from Dev C++ Windows to Code::Blocks Linux
Post by: Dr. Kylstien on December 25, 2008, 02:01:05 am
I wanted to remove it, not re-add it! But you did help me find it, so thanks.