I am working on a C project in Eclipse, the environment is windows X64, When I tried to compile the program, it said:
11:54:29 **** Incremental Build of configuration Debug for project TPCembarque **** Info: Internal Builder is used for build gcc "-ID:\java workspace\TPCembarque\inc" "-ID:\java workspace\TPCembarque\lib\" "-includeD:\java workspace\TPCembarque\lib\libVirtualBoard.a" -O0 -g3 -Wall -c -fmessage-length=0 -o "src\main.o" "..\src\main.c" gcc: error: workspace\TPCembarque\lib\libVirtualBoard.a -O0 -g3 -Wall -c -fmessage-length=0 -o src\main.o ..\src\main.c : No such file or directory gcc: fatal error: no input files compilation terminated.
11:54:29 Build Finished (took 657ms)
so as a result it couldn't find main.c
All my data related to the project were saved in D:/systnum and I created my project in D:/java workspace/TPCembarque.
I've already set the build environment as d:\systnum\MinGW\bin;d:\systnum\MSys\1.0\bin I have already added the file main.c to the project 1 Could anybody tell me how to let the Compiler find main.c? thanks!