Sorry I will update the docs. I've been meaning to go through them for a
while. I'll fix that text now.
We're on Freenode IRC in #darkwallet
On 01/01/14 22:48, Ramón T. B. wrote:
> Hello all,
>
> I'm trying to compile the Quickstart example
> <http://libbitcoin.dyne.org/doc/quickstart.html#quickstart>, but I get
> an error:
> [tb@new-host programs]$ g++ -o test test.cpp -std=c++11 $(pkg-config
> --cflags --libs libbitcoin)
>
> test.cpp: In function 'int main()':
>
>
> test.cpp:15:50: error: invalid initialization of reference of type
> 'const libbitcoin::block_header_type&' from expression of type
> 'libbitcoin::block_type'
> In file included from /usr/local/include/bitcoin/bitcoin.hpp:170:0,
>
>
> from test.cpp:9:
>
>
> /usr/local/include/bitcoin/block.hpp:47:13: error: in passing argument 1
> of 'libbitcoin::hash_digest libbitcoin::hash_block_header(const
> libbitcoin::block_header_type&)'
> It seems that the function hash_block_headerdoesn't work with the output
> of genesis_block() because of data types (block_type !=
> block_header_type).
>
> Someone could help?
>
> Regards
>
>
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
>