News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compiler wont compile .cpp files with SDL commands in CodeBlocks

Started by wmbuRn, July 05, 2013, 04:48:36 AM

Previous topic - Next topic

wmbuRn

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.

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!]