Eclipse C++ on Mac OS X 10.5 [message #249544] |
Wed, 20 February 2008 12:12  |
Eclipse User |
|
|
|
Originally posted by: mathbeard.gmail.com
Hello,
I'm having trouble launching anything in eclipse. I get the "Launch
failed no binaries" error, but I don't know what that means. I have used
the eclipse Java before, but not the c++ version. I'm new to c++ and I'm
not sure that that error means.
Thanks
|
|
|
|
|
|
|
|
|
Re: Eclipse C++ on Mac OS X 10.5 [message #249608 is a reply to message #249588] |
Thu, 21 February 2008 03:01   |
Eclipse User |
|
|
|
It was actually me (Michael O'Brien) that raised the original question.
Yes, the program runs fine outside eclipse and actually runs fine inside
eclipse. It is just stopping on breakpoints that is the problem.
If I step carefully, I can reset all the breakpoints once the shared
library is loaded but that is tedious.
Eclipse displays the breakpoints in the breakpoint list, but they are
yellow in the code. ie. not able to be set.
Michael
Walter Harley wrote:
> "Gareth Markwardt" <mathbeard@gmail.com> wrote in message
> news:7ea94433f86cb5a276e23640a3b93b92$1@www.eclipse.org...
>> Hello,
>>
>> I'm having trouble launching anything in eclipse. I get the "Launch
>> failed no binaries" error, but I don't know what that means. I have used
>> the eclipse Java before, but not the c++ version. I'm new to c++ and I'm
>> not sure that that error means.
>
>
> Gareth, I don't use C++ with Eclipse but I have done plenty of C++ work in
> the past.
>
> I'm guess that "no binaries" means that the launcher couldn't find an
> executable to run, that is, that your link failed or that there is a problem
> with the runtime path.
>
> Are you able to find and run your program manually, e.g. by navigating to
> your build directory in a command shell and typing the name of the
> executable?
>
>
|
|
|
|
Re: Eclipse C++ on Mac OS X 10.5 [message #249776 is a reply to message #249611] |
Thu, 21 February 2008 10:03   |
Eclipse User |
|
|
|
On 2008-02-21 06:14:08 -0500, Anton Leherbauer
<anton.leherbauer@windriver.com> said:
> Walter Harley wrote:
>> "Gareth Markwardt" <mathbeard@gmail.com> wrote in message
>> news:7ea94433f86cb5a276e23640a3b93b92$1@www.eclipse.org...
>>> Hello,
>>>
>>> I'm having trouble launching anything in eclipse. I get the "Launch
>>> failed no binaries" error, but I don't know what that means. I have
>>> used the eclipse Java before, but not the c++ version. I'm new to c++
>>> and I'm not sure that that error means.
>>
>>
>> Gareth, I don't use C++ with Eclipse but I have done plenty of C++ work
>> in the past.
>>
>> I'm guess that "no binaries" means that the launcher couldn't find an
>> executable to run, that is, that your link failed or that there is a
>> problem with the runtime path.
>>
>> Are you able to find and run your program manually, e.g. by navigating
>> to your build directory in a command shell and typing the name of the
>> executable?
>>
>
> I would guess that you need to configure the correct binary parser for
> your project (Project Properties > C/C++ Build > Settings > Binary
> Parsers). Otherwise the binaries are not recognized as executable files.
>
> HTH
Also, make sure that the compiler is actually generating debug symbols.
The correct parser is the "Mach-O" binary parser.
Mike
OS X 10.4/Eclipse 4/CMake
|
|
|
|
Re: Eclipse C++ on Mac OS X 10.5 [message #249787 is a reply to message #249608] |
Thu, 21 February 2008 13:52  |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Michael O'Brien" <mob@mbedthis.com> wrote in message
news:47BD2FC2.3060504@mbedthis.com...
> It was actually me (Michael O'Brien) that raised the original question.
Um, no, you might have raised some other similar question, but if you look
at the thread to which I'm responding, you'll see that this is your first
entry into it, that are not the original poster, and that the original
poster is not asking anything to do with debugging or breakpoints.
Heaven help the OP, I expect he's far away by now, having watched his thread
get hijacked with his question unanswered.
|
|
|
Powered by
FUDForum. Page generated in 0.07252 seconds