User forums > Help
"You can't "run" a commands-only target..."
(1/1)
krokodylek:
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)
oBFusCATed:
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"
krokodylek:
Thanks for tips.
I know what was wrong: i'm in "build target" selected "all" instead name of project.
Now all works :)
Navigation
[0] Message Index
Go to full version