Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » unstable mingw in XP 64bit in Hyper-V(cannot generate .o file after reboot.)
unstable mingw in XP 64bit in Hyper-V [message #1512133] Mon, 15 December 2014 13:34
Chin-Tsai Lin is currently offline Chin-Tsai LinFriend
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

Previous Topic:help! problem on debugging multi-thread proggram
Next Topic:Eclipse console does not print standard error
Goto Forum:
  


Current Time: Fri Apr 26 02:52:51 GMT 2024

Powered by FUDForum. Page generated in 0.02755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top