Code::Blocks Forums
User forums => Help => Topic started by: krokodylek on February 27, 2011, 09:38:08 pm
-
Hi.
(sorry for my bad english)
I'm currently play with OGRE render engine.
I'm downloaded Ogre SDK, framework etc.
Using CMake I'm created Code::Blocks project.
And project work fine (compile, etc) except that i can't run compiled program from Code::Blocks button "run" because this display text as in subject.
How to obtain possibility of running programs directly from code::blocks?
(i think that this is code::blocks side problem not for example ogre because compiled program work fine except running in Code::Blocks)
-
Check if you're using the correct build target.
And then check if the target has the correct type.
The second one is done in: Project -> Properties -> Build targets -> your target -> Type. Should be "Console application" or "GUI application"
-
Thanks for tips.
I know what was wrong: i'm in "build target" selected "all" instead name of project.
Now all works :)