User forums > Help

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

(1/1)

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:

--- Code: ----------------- 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
 
--- End code ---
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:
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

You have problems with you library settings, maybe missing the - in the lSDL_image

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'

Spooder:
Thanks a ton man, really means a lot to me.

Navigation

[0] Message Index

Go to full version