Jump to content
  • Advertisement
Sign in to follow this  
Dondrei

Dev-C++

This topic is 4266 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Okay, I have no idea whether this is a problem with Dev-C++ or with SDL (which I'm using), but all of a sudden it refuses to compile. I didn't change my project file at all but now when I hit compile it works fine but doesn't make the executable file - it was working fine before. It doesn't bring up any error messages or anything, just fails to make the executable. I uninstalled and reinstalled Dev, but that didn't change anything.

Share this post


Link to post
Share on other sites
Advertisement
The weird thing is that it seems to have deleted my old executable and now refuses to make a new one. Here's the compile log:

Building resource file...
Compiling files :
C:\UTILS\DEV-C_~1\BIN\g++ "c:\workarea\programming\dev\example2\example2b.cpp" -c -s -mwindows -lmingw32 -lSDLmain -lSDL -lmingw32 -lSDLmain -lSDL -IC:\UTILS\DEV-C_~1\INCLUDE\ -IC:\UTILS\DEV-C_~1\INCLUDE\G__~1 -IC:\UTILS\DEV-C_~1\INCLUDE\ -LC:\UTILS\DEV-C_~1\LIB\ -BC:\UTILS\DEV-C_~1\BIN


The only messages I got were these:

g++: -lmingw32: linker input file unused since linking not done
g++: -lSDLmain: linker input file unused since linking not done
g++: -lSDL: linker input file unused since linking not done
g++: -lmingw32: linker input file unused since linking not done
g++: -lSDLmain: linker input file unused since linking not done
g++: -lSDL: linker input file unused since linking not done

Which I always get when using SDL, and it's never stopped it compiling an EXE.

Share this post


Link to post
Share on other sites
Oh, hell - never mind. I'm some kind of idiot, I had "-lmingw32 -lSDLmain -lSDL" in the extra compiler options box instead of the "further object files" box... I don't know how I managed that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!