Title: Compilation error Windows Post by: barwizi on September 04, 2013, 02:25:53 PM i keep getting
'g++' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:720: recipe for target 'build/bitcoin.o' failed mingw32-make: *** [build/bitcoin.o] Error 1 anyone know how to deal with this? Title: Re: Compilation error Windows Post by: smolen on September 04, 2013, 02:43:01 PM 'g++' is not recognized as an internal or external command, Mingw is not installed, or PATH is not set, or CC not set to compiler exe name. Or something else :)Title: Re: Compilation error Windows Post by: barwizi on September 04, 2013, 02:47:30 PM 'g++' is not recognized as an internal or external command, Mingw is not installed, or PATH is not set, or CC not set to compiler exe name. Or something else :)Mingw is installed , how do i set cc? Title: Re: Compilation error Windows Post by: CryptoBullion on September 04, 2013, 03:10:18 PM im guessing your making realcoin... which has
build/bitcoin-qt_res.o: src\qt\res\bitcoin-qt.rc windres -i src\qt\res\bitcoin-qt.rc -o build\bitcoin-qt_res.o --include-dir=./src/qt/res $(DEFINES) but no build dir in the src dir https://github.com/realcoin/realcoin/tree/master/src from src dir mkdir build just a guess... Title: Re: Compilation error Windows Post by: barwizi on September 04, 2013, 03:14:52 PM im guessing your making realcoin... which has build/bitcoin-qt_res.o: src\qt\res\bitcoin-qt.rc windres -i src\qt\res\bitcoin-qt.rc -o build\bitcoin-qt_res.o --include-dir=./src/qt/res $(DEFINES) but no build dir in the src dir https://github.com/realcoin/realcoin/tree/master/src from src dir mkdir build just a guess... nah the folder is there Title: Re: Compilation error Windows Post by: smolen on September 04, 2013, 03:20:11 PM 'g++' is not recognized as an internal or external command, Mingw is not installed, or PATH is not set, or CC not set to compiler exe name. Or something else :)Mingw is installed , how do i set cc? Title: Re: Compilation error Windows Post by: Hazard on September 04, 2013, 03:28:03 PM "Employable, but it'll cost you."
Title: Re: Compilation error Windows Post by: jdebunt on September 04, 2013, 03:35:09 PM g++ –version , what result does that give you? :) (in command prompt)
Title: Re: Compilation error Windows Post by: smolen on September 04, 2013, 03:41:03 PM (ranting) from such large scale project as Bitcoin I'd expect XCode and Visual Studio project files...
Title: Re: Compilation error Windows Post by: shakezula on September 04, 2013, 03:44:48 PM Double check your -qt.pro file and make sure the "windows libs =" and "XXX_BUILD_PATH" statement sections are set up correctly for Windows.
Another thing to consider, if you're using a newer (last couple weeks/month) build of MinGW, you may also need to re-install the WHOLE thing including the MSYS bits (they were checked in the older builds, but not in recent builds) and not having MSYS can certainly cause this. Title: Re: Compilation error Windows Post by: barwizi on September 05, 2013, 01:29:26 PM I re-installed everything, re did everything but now i get.
cc1plus.exe: error: unrecognized command line option "-fdiagnostics-show-option" Makefile.Debug:720: recipe for target 'build/bitcoin.o' failed mingw32-make[1]: *** [build/bitcoin.o] Error 1 mingw32-make[1]: Leaving directory 'C:/Serrazcoin' Makefile:34: recipe for target 'debug' failed mingw32-make: *** [debug] Error 2 Title: Re: Compilation error Windows Post by: jdebunt on September 05, 2013, 01:37:54 PM I re-installed everything, re did everything but now i get. cc1plus.exe: error: unrecognized command line option "-fdiagnostics-show-option" Makefile.Debug:720: recipe for target 'build/bitcoin.o' failed mingw32-make[1]: *** [build/bitcoin.o] Error 1 mingw32-make[1]: Leaving directory 'C:/Serrazcoin' Makefile:34: recipe for target 'debug' failed mingw32-make: *** [debug] Error 2 perhaps a stupid question/suggestion, but have you tried without -fdiagnostics-show-option? :) |