Debug launch problem "Program not recognized executable" [message #759145] |
Sat, 26 November 2011 17:04  |
Eclipse User |
|
|
|
I am new to Eclipse and was not sure if this question belongs here (Newcomers) or in the CDT forum. I am trying here first.
I am running Mac OS Lion (10.7.2) and have downloaded and installed XCode 4.1 and Eclipse Indigo.
I have a straightforward C++ program. The program compiles and executes correctly in Eclipse. But when I go to Debug, it won't start and I get this message, "Launching <program> Debug has encountered a problem, Program is not a recognized executable." When I click "Details" I get the "not an executable" message four times.
In the Project properties / settings, it is pointed to GDB and to the right executable. I can launch GDB with the program executable from a terminal window and it works fine.
I've scoured the internet and Bugzilla, but I've only seen one other instance of this problem and the solution given didn't work for me (and was for Windows anyhow).
Any suggestions are greatly appreciated!
|
|
|
Re: Debug launch problem "Program not recognized executable" [message #759148 is a reply to message #759145] |
Sat, 26 November 2011 17:19  |
Eclipse User |
|
|
|
On 2011.11.26 15:04, Dan wrote:
> I am new to Eclipse and was not sure if this question belongs here
> (Newcomers) or in the CDT forum. I am trying here first.
>
> I am running Mac OS Lion (10.7.2) and have downloaded and installed
> XCode 4.1 and Eclipse Indigo.
>
> I have a straightforward C++ program. The program compiles and executes
> correctly in Eclipse. But when I go to Debug, it won't start and I get
> this message, "Launching <program> Debug has encountered a problem,
> Program is not a recognized executable." When I click "Details" I get
> the "not an executable" message four times.
>
> In the Project properties / settings, it is pointed to GDB and to the
> right executable. I can launch GDB with the program executable from a
> terminal window and it works fine.
>
> I've scoured the internet and Bugzilla, but I've only seen one other
> instance of this problem and the solution given didn't work for me (and
> was for Windows anyhow).
>
> Any suggestions are greatly appreciated!
Likely more of an Eclipse CDT question.
|
|
|
Powered by
FUDForum. Page generated in 0.07330 seconds