Code::Blocks
July 29, 2010, 06:04:04 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Code::Blocks Logo Elections closed! And the winner is... otaco!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: "/usr/bin/ld: cannot find -lmingw32" from Dev C++ Windows to Code::Blocks Linux  (Read 1974 times)
Dr. Kylstien
Newcomer
*
Posts: 2


« 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.
Logged
stahta01
Lives here!
****
Posts: 2379


WWW
« Reply #1 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
Logged

C Programmer working to learn more about C++.
OS: Win 6.1 AKA Win7
Compiler: mingw gcc 4.4 API 3.13 Runtime 3.15.2
IDE: Code::Blocks SVN + patches
wxMSW: SVN 2.9 Trunk & SVN 2.8 branch
SVN: 1.6.x
Dr. Kylstien
Newcomer
*
Posts: 2


« Reply #2 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.
Logged
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!