Eclipse: Fixing the “Program is not a Recognized Executable” Error

This has been taken from a FAQ at http://wiki.wxwidgets.org

When you compile & link a program, the Eclipse run feature will try to recognize the executable, using one of several parsers. If the wrong binary parser (or none at all) is selected for the project, Eclipse will show the above error in the “Run…” dialog when you select the executable file for your project. Follow those steps to add a binary parser:

In the Eclipse main menu

  • select “Project” -> “Properties”
  • navigate to “C/C++ Build” -> “Settings” -> (on the right) “Binary Parsers”

In the “Binary parser:” list, check the “PE Windows Parser” and click “OK” (lower right)

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: