Author Topic: "/usr/bin/ld: cannot find -lmingw32" from Dev C++ Windows to Code::Blocks Linux  (Read 12108 times)

Dr. Kylstien

  • Guest
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Dr. Kylstien

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