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:
commit
4dbe076103
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user