0

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

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by vbx_wx
0

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.

0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.