Geting strange error when compiling blender at 100% compiling

I followed wiki on blender and try to compile blender, bat when compiler reach 100 % a got this error, can someone just put me on right way to try to solve this problem :slight_smile: tnx



Scanning dependencies of target blender
[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
Linking CXX executable ../../bin/blender
../../lib/libbf_intern_locale.a(boost_locale_wrapper.cpp.o): In function `bl_locale_init':
boost_locale_wrapper.cpp:(.text+0x2a): undefined reference to `boost::locale::localization_backend_manager::global()'
boost_locale_wrapper.cpp:(.text+0x5f): undefined reference to `boost::locale::localization_backend_manager::select(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
boost_locale_wrapper.cpp:(.text+0x7e): undefined reference to `boost::locale::localization_backend_manager::global(boost::locale::localization_backend_manager const&)'
boost_locale_wrapper.cpp:(.text+0x89): undefined reference to `boost::locale::localization_backend_manager::~localization_backend_manager()'
boost_locale_wrapper.cpp:(.text+0xd5): undefined reference to `boost::locale::localization_backend_manager::~localization_backend_manager()'
boost_locale_wrapper.cpp:(.text+0x12d): undefined reference to `boost::locale::localization_backend_manager::~localization_backend_manager()'
../../lib/libbf_intern_locale.a(boost_locale_wrapper.cpp.o): In function `bl_locale_pgettext':
boost_locale_wrapper.cpp:(.text+0x1a0): undefined reference to `boost::locale::base_message_format<char>::id'
../../lib/libbf_intern_locale.a(boost_locale_wrapper.cpp.o): In function `bl_locale_set':
boost_locale_wrapper.cpp:(.text+0x28e): undefined reference to `boost::locale::generator::generator()'
boost_locale_wrapper.cpp:(.text+0x2a8): undefined reference to `boost::locale::generator::add_messages_path(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&)'
boost_locale_wrapper.cpp:(.text+0x2ba): undefined reference to `boost::locale::generator::add_messages_domain(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
boost_locale_wrapper.cpp:(.text+0x30c): undefined reference to `boost::locale::generator::generate(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&) const'
boost_locale_wrapper.cpp:(.text+0x53b): undefined reference to `boost::locale::generator::~generator()'
boost_locale_wrapper.cpp:(.text+0x574): undefined reference to `boost::locale::generator::generate(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&) const'
boost_locale_wrapper.cpp:(.text+0x7a6): undefined reference to `boost::locale::generator::~generator()'
../../lib/libbf_intern_locale.a(boost_locale_wrapper.cpp.o): In function `boost::locale::info const& std::use_facet&lt;boost::locale::info&gt;(std::locale const&)':
boost_locale_wrapper.cpp:(.text._ZSt9use_facetIN5boost6locale4infoEERKT_RKSt6locale[boost::locale::info const& std::use_facet&lt;boost::locale::info&gt;(std::locale const&)]+0x11): undefined reference to `boost::locale::info::id'
/opt/lib/oiio/lib/libOpenImageIO.a(imageioplugin.cpp.o): In function `OpenImageIO::v1_1::pvt::catalog_all_plugins(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)':
imageioplugin.cpp:(.text+0x1e64): undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)'
imageioplugin.cpp:(.text+0x1ea4): undefined reference to `boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'
/opt/lib/oiio/lib/libOpenImageIO.a(imageioplugin.cpp.o): In function `boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>::dispose()':
imageioplugin.cpp:(.text._ZN5boost6detail17sp_counted_impl_pINS_10filesystem6detail11dir_itr_impEE7disposeEv[boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>::dispose()]+0x37): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)'
/opt/lib/oiio/lib/libOpenImageIO.a(imageioplugin.cpp.o): In function `void boost::checked_delete<boost::filesystem::detail::dir_itr_imp>(boost::filesystem::detail::dir_itr_imp*)':
imageioplugin.cpp:(.text._ZN5boost14checked_deleteINS_10filesystem6detail11dir_itr_impEEEvPT_[void boost::checked_delete<boost::filesystem::detail::dir_itr_imp>(boost::filesystem::detail::dir_itr_imp*)]+0x34): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::filename(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
filesystem.cpp:(.text+0x102): undefined reference to `boost::filesystem::path::filename() const'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::extension(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
filesystem.cpp:(.text+0x226): undefined reference to `boost::filesystem::path::extension() const'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::replace_extension(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
filesystem.cpp:(.text+0x3d2): undefined reference to `boost::filesystem::path::replace_extension(boost::filesystem::path const&)'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::exists(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
filesystem.cpp:(.text+0x552): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::is_directory(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
filesystem.cpp:(.text+0x642): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::is_regular(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
filesystem.cpp:(.text+0x732): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::last_write_time(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
filesystem.cpp:(.text+0x96a): undefined reference to `boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::last_write_time(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, long)':
filesystem.cpp:(.text+0xa1e): undefined reference to `boost::filesystem::detail::last_write_time(boost::filesystem::path const&, long, boost::system::error_code*)'
/opt/lib/oiio/lib/libOpenImageIO.a(filesystem.cpp.o): In function `OpenImageIO::v1_1::Filesystem::searchpath_find(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool, bool)':
filesystem.cpp:(.text+0x234e): undefined reference to `boost::filesystem::path::codecvt()'
filesystem.cpp:(.text+0x2367): undefined reference to `boost::filesystem::path::m_append_separator_if_needed()'
filesystem.cpp:(.text+0x2414): undefined reference to `boost::filesystem::path::m_erase_redundant_separator(unsigned int)'
filesystem.cpp:(.text+0x24fd): undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)'
filesystem.cpp:(.text+0x2543): undefined reference to `boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'
collect2: ld returned 1 exit status
make[2]: *** [bin/blender] Error 1
make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [all] Error 2


What is missing here :slight_smile:

Iā€™m afraid I had the same problem, but am not sure how it sorted out.

Do you have the packages libboost-filesystem-dev and libboost-locale-dev installed? Then you may also try removing the file CMakeCache.txt, then running cmake and configuring the build again. I think it helped in my case.