I am getting this error when compiling in Eclipse Indigo in windows:

mingw32-make all 
'Building file: ../src/testing.cpp'
'Invoking: GCC C++ Compiler'
g++ -I"c:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\tr1\" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/testing.d" -MT"src/testing.d" -o "src/testing.o" "../src/testing.cpp"
g++: no input files
mingw32-make: *** [src/testing.o] Error 1

Can someone help me with this ? Ive included MinGW in the PATH

Recommended Answers

All 2 Replies

so it looks like the path to the .cpp file is wrong:
g++: no input files
I haven't work with eclipse on windows but in unix the include path of th makefile finished with "-I" :
-I"c:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\tr1\" -I.
or:
-I c:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\tr1\ -I.

Yes i`ve done that,still the same,but i got it working by reinstalling MinGW. Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.