Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: myapple on December 18, 2017, 11:52:38 AM



Title: compiling bitcoin 0.9.4 problem
Post by: myapple on December 18, 2017, 11:52:38 AM
I am compiling bitcoin wallet 0.9.4
In the guide it says
Cd /c/bitcoin-0.9.4

./autogen.sh

CPPFLGS=“-|/c/....

Autually how to run this since CPPFLGS is not a command
Where to put this code? Run command it was not recognized


Title: Re: compiling bitcoin 0.9.4 problem
Post by: myapple on December 18, 2017, 12:05:37 PM
I am according to the guide
https://bitcointalk.org/index.php?topic=149479.0

But it is not clear for bitcoin 0.9.4 and for qt on 0.8.6 it not works
For 0.8.6 it compiled one bitcoind but cannot for qt


Title: Re: compiling bitcoin 0.9.4 problem
Post by: achow101 on December 18, 2017, 03:25:30 PM
Why are you trying to compile such old software?

You should use the latest Bitcoin Core and follow the build instructions provided by Core: https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md


Title: Re: compiling bitcoin 0.9.4 problem
Post by: cr1776 on December 18, 2017, 03:35:57 PM
I am compiling bitcoin wallet 0.9.4
In the guide it says
Cd /c/bitcoin-0.9.4

./autogen.sh

CPPFLGS=“-|/c/....

Autually how to run this since CPPFLGS is not a command
Where to put this code? Run command it was not recognized

CPPFLGS is a variable/macro used to include directories.  make then uses them as part of the build process.  Are you using the shell as mentioned in the instructions you are following?  (e.g. Install msys shell ).  Perhaps you are using the wrong shell?

And to reiterate what achow101 said, is there a reason to use 0.9.4 vs 0.15.1?