Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: You must select a host application to "run" a commands-only target  (Read 4572 times)

0 Members and 1 Guest are viewing this topic.

lorence30

  • Full Member
  • ***
  • Posts: 124
    • View Profile
    • Email
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.

shadowmouse

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
Re: You must select a host application to "run" a commands-only target
« Reply #1 on: May 01, 2015, 06:30:46 pm »
Did you select "empty project" when creating your project?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: You must select a host application to "run" a commands-only target
« Reply #2 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
« Last Edit: May 01, 2015, 06:43:10 pm by zsbzsb »
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

shadowmouse

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
Re: You must select a host application to "run" a commands-only target
« Reply #3 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.