SFML community forums

Help => General => Topic started by: lorence30 on May 01, 2015, 05:04:36 pm

Title: You must select a host application to "run" a commands-only target
Post by: lorence30 on May 01, 2015, 05:04:36 pm
Im done building the SFML with cmake and I am compiling it right now with Code::Blocks 13.12
Im compiling it with Build target "all".
But a window that says "You must select a host application to "run" a commands-only target" keeps popping up.
Title: Re: You must select a host application to "run" a commands-only target
Post by: shadowmouse on May 01, 2015, 06:30:46 pm
Did you select "empty project" when creating your project?
Title: Re: You must select a host application to "run" a commands-only target
Post by: zsbzsb on May 01, 2015, 06:41:21 pm
You do realize... actually you don't, but there is a difference between building a program and executing it... you aren't supposed to execute the built SFML project directly (well as this thread shows, you can't).

Did you select "empty project" when creating your project?

Huh? ???

Im done building the SFML with cmake
Title: Re: You must select a host application to "run" a commands-only target
Post by: shadowmouse on May 01, 2015, 08:00:48 pm
Oh sorry, I misread the post. I thought it was a sfml based program that wasn't compiling rather than sfml itself.