Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT with MinGW "build is stopped" while there's no error("Build error occurred, build is stopped", but g++ was executed)
icon5.gif  CDT with MinGW "build is stopped" while there's no error [message #881141] Mon, 04 June 2012 01:28 Go to next message
Liu Yan is currently offline Liu YanFriend
Messages: 6
Registered: March 2011
Location: China
Junior Member
I installed CDT on my home PC (WinXP x64), when I try to build project using MinGW tool chain, it stopped. I googled, but didn't found same issue: g++ is working (compiling, report compile warnings), but it stopped without any error message.

Build log:

**** Build of configuration Debug for project WaveMix ****

**** Internal Builder is used for build               ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o WaveMix.o ..\WaveMix.cpp
..\WaveMix.cpp: In function 'void MixAudio(WAVE_DATA_INFO*, WORD, WAVE_DATA_INFO&)':
..\WaveMix.cpp:219:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:219:5: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:230:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:230:4: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:238:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:238:3: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'DWORD {aka long unsigned int}' [-Wformat]
..\WaveMix.cpp:289:109: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'double' [-Wformat]
..\WaveMix.cpp: In function 'void WriteWavePCMFile(const char*, WAVE_DATA_INFO)':
..\WaveMix.cpp:323:6: warning: variable 'nWrite' set but not used [-Wunused-but-set-variable]
Build error occurred, build is stopped
Time consumed: 1172  ms.  


I've also installed CDT on my office computer (WinXP 32bit), it works fine (compile same code) with MinGW tool chain.

Home PC environment:
- Windows XP x64
- JDK 1.6.32 x64
- Eclipse Indigo SR-2 x64
- MinGW repository catalogue 20120426

[Updated on: Mon, 04 June 2012 15:34]

Report message to a moderator

icon5.gif  Re: CDT with MinGW "build is stopped" while there's no error [message #890037 is a reply to message #881141] Wed, 20 June 2012 18:02 Go to previous message
Liu Yan is currently offline Liu YanFriend
Messages: 6
Registered: March 2011
Location: China
Junior Member
does CDT on Windows XP x64 require MinGW-w64 to work properly?
Previous Topic:The PAUCITY of cdt tutorial and books written for Linux platform
Next Topic:Unable to debug ruby in CDT, even after trying multiple binary parsers
Goto Forum:
  


Current Time: Mon Nov 24 06:59:24 GMT 2014

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

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