News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

mingw32-g++.exe: lSDL_image: No such file or directory

Started by Spooder, September 11, 2011, 10:03:21 PM

Previous topic - Next topic

Spooder

So, I've been working with Visual studio for several years, and got tired of VC++, so I decided to jump over and start using standard C++ in code::blocks.
After fixing the thousands of errors in my project as a result of the switch, I was exited to run my program, it built fine, but when I try to use "build and run" I get this:

-------------- Build: Release in Lexi ---------------

Linking executable: bin\Release\Lexi.exe
mingw32-g++.exe: lSDL_image: No such file or directory
mingw32-g++.exe: -E or -x required when input is from standard input
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

I've told code::blocks where to find all the libs, and I have the dlls in the Release folder, so I am totally stumped.  I tried both release and debug builds, no change.
I am more than willing to answer any additional questions about the setup of the project.
Help would be greatly appreciated!

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Spooder

I checked that a thousand times, but i just checked again and found that I had a space after the -
Now I have new errors to contend with, but I'm confident I can handle them. Thanks a lot!

oBFusCATed

BTW, you don't have to specify the -l, there is a special field 'Link libraries'
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Spooder