Bitcoin Forum
April 19, 2024, 04:37:22 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Compilation error Windows  (Read 1879 times)
barwizi (OP)
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 04, 2013, 02:25:53 PM
 #1

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?
1713544642
Hero Member
*
Offline Offline

Posts: 1713544642

View Profile Personal Message (Offline)

Ignore
1713544642
Reply with quote  #2

1713544642
Report to moderator
1713544642
Hero Member
*
Offline Offline

Posts: 1713544642

View Profile Personal Message (Offline)

Ignore
1713544642
Reply with quote  #2

1713544642
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713544642
Hero Member
*
Offline Offline

Posts: 1713544642

View Profile Personal Message (Offline)

Ignore
1713544642
Reply with quote  #2

1713544642
Report to moderator
smolen
Hero Member
*****
Offline Offline

Activity: 524
Merit: 500


View Profile
September 04, 2013, 02:43:01 PM
 #2

'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 Smiley

Of course I gave you bad advice. Good one is way out of your price range.
barwizi (OP)
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 04, 2013, 02:47:30 PM
 #3

'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 Smiley
how do i fix? Path i already set under environment variables
Mingw is installed , how do i set cc?
CryptoBullion
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
September 04, 2013, 03:10:18 PM
 #4

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...

Fold Proteins, earn cryptos! CureCoin. https://bitcointalk.org/index.php?topic=268556.0
CryptoPCS.com Prepaid phone refills, post paid phone payments, and bill payments https://bitcointalk.org/index.php?topic=285148.0
barwizi (OP)
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 04, 2013, 03:14:52 PM
 #5

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
smolen
Hero Member
*****
Offline Offline

Activity: 524
Merit: 500


View Profile
September 04, 2013, 03:20:11 PM
 #6

'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 Smiley
how do i fix? Path i already set under environment variables
Mingw is installed , how do i set cc?
Try to locate g++.exe (or may be it's named mingw-g++.exe or so), then run it from it's directory (should be 'bin'), then from directory with bitcoin sources. That's just wild guess, I don't have mingw installed now.

Of course I gave you bad advice. Good one is way out of your price range.
Hazard
Legendary
*
Offline Offline

Activity: 980
Merit: 1000



View Profile WWW
September 04, 2013, 03:28:03 PM
 #7

"Employable, but it'll cost you."

jdebunt
Legendary
*
Offline Offline

Activity: 1596
Merit: 1010


View Profile WWW
September 04, 2013, 03:35:09 PM
 #8

g++ –version , what result does that give you? Smiley (in command prompt)
smolen
Hero Member
*****
Offline Offline

Activity: 524
Merit: 500


View Profile
September 04, 2013, 03:41:03 PM
 #9

(ranting) from such large scale project as Bitcoin I'd expect XCode and Visual Studio project files...

Of course I gave you bad advice. Good one is way out of your price range.
shakezula
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile
September 04, 2013, 03:44:48 PM
 #10

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.
barwizi (OP)
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 05, 2013, 01:29:26 PM
 #11

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
jdebunt
Legendary
*
Offline Offline

Activity: 1596
Merit: 1010


View Profile WWW
September 05, 2013, 01:37:54 PM
 #12

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? Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!