BitShares Forum
Main => Technical Support => Topic started by: vertoe on September 22, 2014, 09:35:19 pm
-
Hi recently I can not compile btsx wallet anymore.
This is my AUR package (install script) https://aur.archlinux.org/packages/bi/bitshares-x/PKGBUILD
This is the error I get:
[ 78%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
[ 78%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/genesis_json.cpp.o
/home/afri/aur/bitshares-x/src/bitsharesx/libraries/blockchain/chain_database.cpp: In member function ‘void bts::blockchain::chain_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)’:
/home/afri/aur/bitshares-x/src/bitsharesx/libraries/blockchain/chain_database.cpp:1189:63: internal compiler error: in calc_dfs_tree, at dominance.c:401
} FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) }
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
libraries/blockchain/CMakeFiles/bts_blockchain.dir/build.make:570: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o' failed
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
CMakeFiles/Makefile2:714: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/all' failed
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
gcc version 4.9.1 20140903 (prerelease)
Any ideas?
-
Use clang...
-
I thought it didn't work with clang? Try gcc 4.8
Sent from my SCH-I535 using Tapatalk
-
clang is working nicely over here
@OP: this is how to do it:
https://bitsharestalk.org/index.php?topic=8363.msg109457#msg109457
-
see also: https://github.com/BitShares/bitshares_toolkit/issues/774
-
Thanks everyone, will switch to clang.
Edit, just saw that it will be fixed in gcc 4.9.2.... I'm on 4.9.1 so just need to wait till it's available in ArchLinux.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62079
-
Damn, what's missing now?
bitshares-x/src/bitsharesx/programs/qt_wallet/MainWindow.cpp:356:34: error: no member named 'get_mail_client' in 'bts::client::client'
clientWrapper()->get_client()->get_mail_client()->new_mail_notifier.connect([=](int newMessages) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
(http://i.imgur.com/SCIv4wG.png)
-
is this a fresh compile? if not maybe a "make clean; make" can help
-
is this a fresh compile? if not maybe a "make clean; make" can help
did not work with make clean either, it seemed to be a bug. with v0.4.17 its working now. thanks everyone.
(clang is awesome btw, why did I ever use gcc lol)