1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-23 23:18:42 +00:00

Merge pull request #512 from yancyribbens/add-compile-version

Unable to compile without providing c++ version flag
This commit is contained in:
Will Binns 2018-03-03 13:50:05 -06:00 committed by GitHub
commit 4dbe076103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -521,7 +521,7 @@ The code uses a predefined private key to produce the same bitcoin address every
[source,bash] [source,bash]
---- ----
# Compile the addr.cpp code # Compile the addr.cpp code
$ g++ -o addr addr.cpp $(pkg-config --cflags --libs libbitcoin) $ g++ -o addr addr.cpp -std=c++11 $(pkg-config --cflags --libs libbitcoin)
# Run the addr executable # Run the addr executable
$ ./addr $ ./addr
Public key: 0202a406624211f2abbdc68da3df929f938c3399dd79fac1b51b0e4ad1d26a47aa Public key: 0202a406624211f2abbdc68da3df929f938c3399dd79fac1b51b0e4ad1d26a47aa