News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

"You can't "run" a commands-only target..."

Started by krokodylek, February 27, 2011, 09:38:08 PM

Previous topic - Next topic

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

krokodylek

Thanks for tips.

I know what was wrong: i'm in "build target" selected "all" instead name of project.

Now all works :)