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!
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
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!
BTW, you don't have to specify the -l, there is a special field 'Link libraries'
Thanks a ton man, really means a lot to me.