Author Topic: Can't build bitshares-core on ubuntu server 16.04  (Read 1363 times)

0 Members and 1 Guest are viewing this topic.

Offline svichase

  • Newbie
  • *
  • Posts: 1
    • View Profile
I need to setup bts on ubuntu server. And always I had faced to issue related to the boost. I have tried with boost 1.57, 1.58 and 1.60. Can you provide me some work solutions please?

[ 35%] Building CXX object libraries/fc/tests/CMakeFiles/all_tests.dir/utf8_test.cpp.o
[ 36%] Linking CXX executable all_tests
CMakeFiles/all_tests.dir/compress/compress.cpp.o: In function `boost::unit_test::make_test_case(boost::unit_test::callback0<boost::unit_test::ut_detail::unused> const&, boost::unit_test::basic_cstring<char const>)':
/home/ubuntu/boost_1_58_0/include/boost/test/unit_test_suite_impl.hpp:255: undefined reference to `boost::unit_test::ut_detail::normalize_test_case_name(boost::unit_test::basic_cstring<char const>)'
../libfc_debug.a(time.cpp.o): In function `unsigned short boost::date_time::month_str_to_ushort<boost::gregorian::greg_month>(std::string const&)':
/home/ubuntu/boost_1_58_0/include/boost/date_time/date_parsing.hpp:67: undefined reference to `boost::gregorian::greg_month::get_month_map_ptr()'
../libfc_debug.a(filesystem.cpp.o): In function `boost::filesystem::path_traits::convert(char const*, char const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)':
/home/ubuntu/boost_1_58_0/include/boost/filesystem/path.hpp:837: undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, __mbsta
te_t> const&)'
../libfc_debug.a(filesystem.cpp.o): In function `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&)':
/home/ubuntu/boost_1_58_0/include/boost/filesystem/path.hpp:845: undefined reference to `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
../libfc_debug.a(filesystem.cpp.o): In function `boost::filesystem::path::path<boost::filesystem::directory_entry>(boost::filesystem::directory_entry const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::typ
e>, void>::type*)':
/home/ubuntu/boost_1_58_0/include/boost/filesystem/path.hpp:140: undefined reference to `boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::string&)'
collect2: error: ld returned 1 exit status
libraries/fc/tests/CMakeFiles/all_tests.dir/build.make:480: recipe for target 'libraries/fc/tests/all_tests' failed
make[2]: *** [libraries/fc/tests/all_tests] Error 1
CMakeFiles/Makefile2:286: recipe for target 'libraries/fc/tests/CMakeFiles/all_tests.dir/all' failed
make[1]: *** [libraries/fc/tests/CMakeFiles/all_tests.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
« Last Edit: September 28, 2017, 02:46:45 pm by svichase »