Author Topic: Build file: "no target"  (Read 41921 times)

Offline AZ

  • Almost regular
  • **
  • Posts: 163
Build file: "no target"
« on: September 14, 2015, 08:15:31 am »
hello,
 getting
||=== Build file: "no target" in "no project" (compiler: unknown) ===|

when i open a file and "build" it.
i wonder why ?

wonder how to invoke the debugger. I thought setting a breakpoint and "build/run" will be sufficient to have it up. But this file "just runs " - builds and executes in the xterm.

CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13338
    • Travis build status
Re: Build file: "no target"
« Reply #1 on: September 14, 2015, 08:28:14 am »
Do you have a project? The debugger doesn't work without a project.
Also you have to use Debug->Start or Debug->Attach.
(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!]

Offline AZ

  • Almost regular
  • **
  • Posts: 163
Re: Build file: "no target"
« Reply #2 on: September 14, 2015, 08:35:53 am »
> ..Do you have a project? The debugger doesn't work without a project.
uhh. that answers the question.
No i don't have a project, just wonted to compile and debug a single file.
Is there a way to accomplish this without creating a project?
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13338
    • Travis build status
Re: Build file: "no target"
« Reply #3 on: September 14, 2015, 08:45:25 am »
Nope.
(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!]

Offline AZ

  • Almost regular
  • **
  • Posts: 163
Re: Build file: "no target"
« Reply #4 on: September 14, 2015, 09:14:32 am »
thank you .
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)