Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: wmbuRn on July 05, 2013, 04:48:36 am
-
I am using SDL with C::B. It compiles perfectly. And everything is running, but only when i choose SDL project from Project Wizzard. When i download single .cpp file from net which contains SDL commands C::B wont compile it. Compiler shows tons of error (for any SDL command) . [.cpp file from net does compile from terminal with gcc -lSDL and if needed -lSDL_image ]. So i probably have linked something wrong. How to set up C::B to compile .cpp files from internet which contains SDL commands?
Sorry about my bad english.
-
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(errors)#Q:_What_do_I_need_to_know_when_using_3rd_party_libs.3F
(SDL is a third party library)