Eclipse Unresolved includes

asked 2020-03-17 20:46:02 -0500

stan12 gravatar image

updated 2020-03-18 03:24:17 -0500

gvdhoorn gravatar image

Hello,

I am just a beginner in eclipse, trying to run a simple code (as below) in eclipse with Version: Photon Release (4.8.0).

Code

#include <iostream>
using namespace std;
int main()
{
    cout<<"Hello and Welcome"<<endl;
return 0;
}

With above code, first I got error in including iostream and i resolved that error following #q211064.

Adding CDT GCC Built-in Compiler Settings [ Shared ] removed the error, however i still cannot see the output.

When i am clicking 'run', it is showing error "Launch failed: binary not found" and 1 warning as below "Unknown referenced nature: org.eclipse.cdt.meson.core.mesonNature."

Please suggest how to see the output.

Kind Regards,

edit retag flag offensive close merge delete

Comments

1

As-is, your question does not appear to be ROS related, but more a matter of setting up Eclipse CDT.

If your question is how to configure Eclipse for use with ROS, I would first suggest to look at wiki/IDEs.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-18 03:29:40 -0500 )edit