Reputation: 455
I have just started to learn C++, but I can't get CDT to work with eclipse. I have installed MinGW and MSYS 1.0. When I tried to first run the Hello World tutorial program, I got an error along the lines of "no run program was specified." So, I tried to set up my run configuration, but I have no idea what to put under C/C++ application. To get to the run configuration menu I went to Run > Run Configurations. What should I put under C/C++ application to make this work? My code compiles fine, but I just can't run it.
Upvotes: 3
Views: 9434
Reputation: 17021
It's been long time since I developed C++ in Eclipse. Of course I can write lots of instructions like what check box to click and what to write in which text field, but it wouldn't be fun, would it? Instead, I highly recommend that you first create a Hello World project by doing:
File -> New -> C++ Project -> Executable -> Hello World C++ Project -> Next -> Next -> Finish
Now build it. And try to run. You'll see that everything works fine. Now go to Run -> Run Configurations...
and inspect how it was configured. Then simply do the same for your project. I believe that would be much better for you in a sense that you'll have some practice and will understand how Eclipse manages projects better.
If you have troubles of course I can expand my answer.
Upvotes: 1