Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Can not run executable from within Eclipse
Can not run executable from within Eclipse [message #158715] Tue, 22 November 2005 07:32 Go to next message
Eclipse UserFriend
- I created a standard c/c++ project and a makefile.
- I build & link my project.
- I select Debug... or Run... and create a new "C/C++ Local Application"
Configuration.
- In the tab Main I select my project, but I can not select my executable.
I does not show up hen I press "Search project", and when I select it with
"Browse", it gives the error message "Program is not a recognized
executable".

I am able to run it just fine from the command prompt...

Should I define an environment variable (which?where?) to tell Eclipse
where the binaries go to? I tried (a.o. ...) adding it to "project
properties"->"C/C++ project Paths"->Output, but that gave no result.


Greetings,
Kurt Dirix
Re: Can not run executable from within Eclipse [message #158731 is a reply to message #158715] Tue, 22 November 2005 08:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ccvural.ttnet.net.tr

> - I created a standard c/c++ project and a makefile.
> - I build & link my project.
> - I select Debug... or Run... and create a new "C/C++ Local Application"
> Configuration.
> - In the tab Main I select my project, but I can not select my
> executable. I does not show up hen I press "Search project", and when I
> select it with "Browse", it gives the error message "Program is not a
> recognized executable".
>
> I am able to run it just fine from the command prompt...
>
> Should I define an environment variable (which?where?) to tell Eclipse
> where the binaries go to? I tried (a.o. ...) adding it to "project
> properties"->"C/C++ project Paths"->Output, but that gave no result.
>
>
> Greetings,
> Kurt Dirix
>

Eclipse uses `Binary Parsers` to detect binary files.
Please choose the correct parser at Project->Properties->C/C++ Make
Project->Binary Parser

CC Vural
Re: Can not run executable from within Eclipse [message #158739 is a reply to message #158731] Tue, 22 November 2005 08:24 Go to previous message
Eclipse UserFriend
Oopsie. Thank you! It works now.

Do you know where I can find some general information on binary parsers?
It is totally Greek (well, almost) for me, and I think I can do with some
background info...
Previous Topic:different error parser in standard make
Next Topic:Can I debug a C program with multi-process?
Goto Forum:
  


Current Time: Wed Apr 30 05:09:54 EDT 2025

Powered by FUDForum. Page generated in 0.03855 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top