Program not a recognized executable? [message #144165] |
Thu, 28 April 2005 18:25  |
Eclipse User |
|
|
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.28748 seconds