I am getting this error when im trying to run a project.I added the C:\mingw\bin to my path variable and here is my path variable C:\Program Files (x86)\MiKTeX 2.9\miktex\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\FPC\2.4.4\bin\i386-Win32;C:\MinGW\bin;
After I build the project " nothing to build for x " is printed on console and suddenly it disappears resulting with a blank screen instead of an output. Only time I got the output properly is that I manually add a path variable(C:\mingw\bin ) in run configurations but I don't want to make this for every different file. Please help.
I have exactly the same problem. I am making my first attempt to run a program under Eclipse. I am using C++ under Windows XP with the MinGW toolchain. I precisely followed the tutorial instructions for creating the "HelloWorld" program. When I attempt to run, I get the error "Nothing to build for HelloWorld".
The executable gets created. I have tried running it directly (outside the Eclipse debugger), and I get the message: "libgcc_s_dw2-1.dll was not found". Since that file is on mingw\bin, I suspect there may be a problem with my path.
There are still some things I can try. But I think the best option may be to use a different SDK.
I had the same problem. I finally resolved everything by carefully following the directions for installing MinGW which require that you install the C and C++ compilers and MSYS basic system, and MinGW developer toolk packages. Also make sure that C:\MinGW\bin;C:\MinGW\msys\1.0\bin are added to your Path system variables. Insuring all of these did the trick for me.