1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-23 07:08:13 +00:00

Unable to compile without providing c++ version flag

This commit is contained in:
Yancy Ribbens 2018-02-20 23:02:07 -06:00
parent 8f744c6632
commit 8704220047

View File

@ -521,7 +521,7 @@ The code uses a predefined private key to produce the same bitcoin address every
[source,bash]
----
# 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
$ ./addr
Public key: 0202a406624211f2abbdc68da3df929f938c3399dd79fac1b51b0e4ad1d26a47aa