eclipse c++ nothing to build error

15,503

Had this exact same problem today, but luckily I found a video which sorted it out for me. Seems we weren't properly installing MinGW.

Check this out: http://www.youtube.com/watch?v=b2cfc9ERkpk

Share:
15,503
kamikaze_pilot
Author by

kamikaze_pilot

Updated on June 04, 2022

Comments

  • kamikaze_pilot
    kamikaze_pilot almost 2 years

    so I was trying to build a C++ project, but then I get this error

    **** Build of configuration Release for project p ****
    
    **** Internal Builder is used for build               ****
    Nothing to build for p
    

    and I search online for solutions but they're not solving the problem

    1. my files are all in lower case
    2. my files are properly included in the project, in fact the files were generated from File -> new -> c++ project -> hello world project so they're created by eclipse...

    and the code is just the eclipse hello world code...

    #include <iostream>
    using namespace std;
    
    int main() {
        cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
        return 0;
    }
    
    1. The compiler is installed properly...I got mingw on C:\mingw and the project's includes folder contain all these files properly...

    does anyone know what might be wrong?