RobinHood Posted June 19, 2018 Report Share Posted June 19, 2018 Hi I'm having trouble building the latest release on debian jessie. I tried to reinstall libboost-filesystem-dev but the error remains any tips? ==== Building pyrogenesis (release) ==== main.cpp Linking pyrogenesis ../../../binaries/system/liblowlevel.a(file_system.o): In function `copy_file': /usr/include/boost/filesystem/operations.hpp:381: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)' /usr/include/boost/filesystem/operations.hpp:384: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)' collect2: error: ld returned 1 exit status pyrogenesis.make:83: recipe for target '../../../binaries/system/pyrogenesis' failed make[1]: *** [../../../binaries/system/pyrogenesis] Error 1 Makefile:68: recipe for target 'pyrogenesis' failed make: *** [pyrogenesis] Error 2 Quote Link to comment Share on other sites More sharing options...
elexis Posted June 19, 2018 Report Share Posted June 19, 2018 Got libboost-dev too? It says "Boost (at least 1.57 since r21726)" https://trac.wildfiregames.com/wiki/BuildInstructions Quote Link to comment Share on other sites More sharing options...
RobinHood Posted June 20, 2018 Author Report Share Posted June 20, 2018 Ah I didn't see that, thanks. Anyway, installed 1.62 from testing and still get errors. And yes I have libboost-dev as well. Both at version 1.62.0.1 ==== Building pyrogenesis (release) ==== main.cpp Linking pyrogenesis ../../../binaries/system/libsimulation2.a(ICmpAIManager.o): In function `convert': /usr/include/boost/filesystem/path.hpp:938: undefined reference to `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)' ../../../binaries/system/libengine.a(Filesystem.o): In function `convert': /usr/include/boost/filesystem/path.hpp:930: 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, __mbstate_t> const&)' ../../../binaries/system/libgraphics.a(TextureManager.o): In function `convert': /usr/include/boost/filesystem/path.hpp:938: undefined reference to `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)' collect2: error: ld returned 1 exit status pyrogenesis.make:83: recipe for target '../../../binaries/system/pyrogenesis' failed make[1]: *** [../../../binaries/system/pyrogenesis] Error 1 Makefile:68: recipe for target 'pyrogenesis' failed make: *** [pyrogenesis] Error 2 Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 20, 2018 Report Share Posted June 20, 2018 Did you use clean_worskpaces.sh and update_workspaces.sh before building ? Sometimes there are some leftovers. 1 Quote Link to comment Share on other sites More sharing options...
RobinHood Posted June 20, 2018 Author Report Share Posted June 20, 2018 Hi stanislas69. Yep I have a script that does all that for me. Despite this, I have tried to compile from a clean directory with no change. From workspaces I run ./clean-workspaces.sh and then run ./update-workspaces.sh --with-system-nvtt and then cd into gcc and run make -j3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.