Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Program not a recognized executable?
Program not a recognized executable? [message #144165] Thu, 28 April 2005 18:25 Go to next message
Eclipse UserFriend
Originally posted by: kopang.iastate.edu

I started a Standard C++ Project using eclipse in Windows, the project
builds fine, no error returned when I use "Build All". (I compile the
program using the -g option). The build process produce an executable file
(.exe). I can run the .exe file from windows command prompt.

However when I choose to debug, the program keep telling me the following:

Program not a recognized executable.
java.io.FileNotFoundException: Program not Binary
org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyBinary( AbstractCLaunchDelegate.java:747)
org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launc h(LocalRunLaunchDelegate.java:59)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:569)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:788)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:955)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Program not Binary
java.io.FileNotFoundException: Program not Binary
org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyBinary( AbstractCLaunchDelegate.java:747)
org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launc h(LocalRunLaunchDelegate.java:59)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:569)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:788)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:955)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Why is this happening? I have installed cygwin gcd, make, and gcc. I have
set the paths correctly, when I open a console and type gcd make or gcc it
works.

Thanks.
Re: Program not a recognized executable? [message #144177 is a reply to message #144165] Thu, 28 April 2005 20:11 Go to previous message
Eclipse UserFriend
Originally posted by: kopang.iastate.edu

Nevermind, I found that since I'm using cygwin, In Project > Properties >
C/C++ Make Project under tab binary parser I need to select "cygwin PE
parser".
Previous Topic:ErrorParserManager & case sensetive!
Next Topic:debug error mi_cmd_env_cd
Goto Forum:
  


Current Time: Fri Jul 18 06:15:20 EDT 2025

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

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

Back to the top