Code::Blocks Forums

User forums => Help => Topic started by: armlesscat on July 25, 2012, 11:20:14 pm

Title: My Code::Blocks stopped working after SDL installation
Post by: armlesscat on July 25, 2012, 11:20:14 pm
being interested in game programming, I decided to install SDL onto code::blocks. After installation, I tried to compile a console application program and received this error message:



-------------- Build: Debug in TextBasedGame ---------------

Linking console executable: bin\Debug\TextBasedGame.exe
mingw32-g++.exe: C:\Program Files\CodeBlocks\MinGW\lib\libmingw32.a: No such file or directory
mingw32-g++.exe: C:\Program Files\CodeBlocks\MinGW\lib\libSDL.dll.a: No such file or directory
mingw32-g++.exe: C:\Program Files\CodeBlocks\MinGW\lib\libSDLmain.a: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
i have since uninstalled and installed code::blocks, but this error still appears.
Please help me, as I think code:blocks is an excellent compiler and would like to continue using it in the future.
Title: Re: My Code::Blocks stopped working after SDL installation
Post by: jarod42 on July 26, 2012, 11:30:51 am
Add libraries in linker settings.
Title: Re: My Code::Blocks stopped working after SDL installation
Post by: ollydbg on July 26, 2012, 04:34:38 pm
Please read this:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F