Hi everyone! I'm new to BTS, and I want to compile it from sources. :)
I tried to compile current BTS sources, but
1. I had troubles with boost (with SSL3), but I have fixed boost sources with hack.
2. it failed to link embed_genesis with the following error:
Linking CXX executable embed_genesis
../chain/libgraphene_chain.a(types.cpp.o): In function `graphene::chain::extended_public_key_type::operator fc::ecc::extended_public_key() const':
types.cpp:(.text+0x595): undefined reference to `fc::ecc::extended_public_key::deserialize(fc::array<char, 78ul> const&)'
../chain/libgraphene_chain.a(types.cpp.o): In function `graphene::chain::extended_private_key_type::operator fc::ecc::extended_private_key() const':
types.cpp:(.text+0x9f5): undefined reference to `fc::ecc::extended_private_key::deserialize(fc::array<char, 78ul> const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [libraries/egenesis/embed_genesis] Error 1
make[1]: *** [libraries/egenesis/CMakeFiles/embed_genesis.dir/all] Error 2
make: *** [all] Error 2
I did subrepos updates! (git submodule update --init --recursive)
Everything compiles well, but linker fails.
I tried to grep sources for implementation of both deserialize() static methods, but there is nothing in whole repo!
Looks like someone forgot to commit.
Detailed steps please? lib versions?
Quote
1. I had troubles with boost (with SSL3), but I have fixed boost sources with hack.
No need to hack.. try libs/dependencies with recommended versions.
Afaik it will be smooth if you follow this document (ignore the QT part): https://github.com/cryptonomex/graphene/wiki/build-ubuntu
Quote from: abit on March 24, 2016, 05:00:44 PM
Detailed steps please? lib versions?
Quote
1. I had troubles with boost (with SSL3), but I have fixed boost sources with hack.
No need to hack.. try libs/dependencies with recommended versions.
I use recommended version:
910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967 boost_1_57_0.tar.bz2
Quote from: pianisteg on March 24, 2016, 04:12:46 PM
I tried to compile current BTS sources, but
1. I had troubles with boost (with SSL3), but I have fixed boost sources with hack.
2. it failed to link embed_genesis with the following error:
Linking CXX executable embed_genesis
../chain/libgraphene_chain.a(types.cpp.o): In function `graphene::chain::extended_public_key_type::operator fc::ecc::extended_public_key() const':
types.cpp:(.text+0x595): undefined reference to `fc::ecc::extended_public_key::deserialize(fc::array<char, 78ul> const&)'
../chain/libgraphene_chain.a(types.cpp.o): In function `graphene::chain::extended_private_key_type::operator fc::ecc::extended_private_key() const':
types.cpp:(.text+0x9f5): undefined reference to `fc::ecc::extended_private_key::deserialize(fc::array<char, 78ul> const&)'
I did subrepos updates! (git submodule update --init --recursive)
Which repo and version did you build from? The above error occurs when building with an old version of the libraries/fc submodule.
QuoteWhich repo and version did you build from? The above error occurs when building with an old version of the libraries/fc submodule.
https://github.com/bitshares/bitshares-2
https://github.com/cryptonomex/fc.git
I follow official documentation.
Quote from: abit on March 24, 2016, 05:00:44 PM
https://github.com/cryptonomex/graphene/wiki/build-ubuntu
compiles well, now going to test :)
Next step — to compile Qt for desktop!
Quote from: pianisteg on March 24, 2016, 06:38:18 PM
Quote from: abit on March 24, 2016, 05:00:44 PM
https://github.com/cryptonomex/graphene/wiki/build-ubuntu
compiles well, now going to test :)
Next step — to compile Qt for desktop!
Just a note: the QT part in bitshare-2 repo is obsoleted.
To compile the GUI, you need to go with this repo: https://github.com/bitshares/bitshares-2-ui
//Update: I don't know how to compile GUI. Perhaps
@xeroc know where is the document.
Quote from: abit on March 24, 2016, 06:57:59 PM
//Update: I don't know how to compile GUI. Perhaps @xeroc know where is the document.
https://github.com/cryptonomex/graphene/issues/560#issuecomment-181565576
(I never managed to build it myself, though.)
Quote from: pianisteg on March 24, 2016, 05:24:50 PM
https://github.com/bitshares/bitshares-2
Which version?
Web wallet can be compiled as shown over here:
http://docs.bitshares.eu/testnet/6-webwallet.html