unstable mingw in XP 64bit in Hyper-V [message #1512133] |
Mon, 15 December 2014 13:34 |
Chin-Tsai Lin Messages: 1 Registered: December 2014 |
Junior Member |
|
|
On installing Mingw or Mingw64, the first compilation is OK. However, after rebooting and rebuilding the C++ test project, Eclipse will generate the messages:
21:15:39 **** Incremental Build of configuration Debug for project test ****
Info: Internal Builder is used for build
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\test.o" "..\\src\\test.cpp"
g++ -o test.exe "src\\test.o"
g++.exe: error: src\test.o: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
I check g++ is OK because the command g++ -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\test.o" "..\\src\\test.cpp" works OK under the Debug directory.
Why?
RE: The cause may be CDT maker. Using "GNU Make Builder" instead of "CDT Internal Builder" solves the problem: Project -> Property -> C/C++ Build -> Tool Chain Editor, then change the Current builder to GNU Make Builder.
[Updated on: Sat, 20 December 2014 12:46] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02755 seconds