I recently upgradeted my boost library to 1.63 version. But the function system_complete now doesn't work. The code in my project now goes in segmentation fault. Then I compiled the broken code in a simple program of test:
#include <boost/filesystem.hpp>
namespace fs=boost::filesystem;
int main()
{
fs::path selfpath=fs::system_complete("Testa2.cpp");
}
I compile with the flag for c++11 compiler and I have this error:
"boost::system::system_category()"
/tmp/ccSU6GfL.o: in the function"boost::filesystem::system_complete(boost::filesystem::path const&)":
Testa5.cpp:(.text._ZN5boost10filesystem15system_completeERKNS0_4pathE[_ZN5boost10filesystem15system_completeERKNS0_4pathE]+0x24): undefined reference to "boost::filesystem::detail::system_complete(boost::filesystem::path const&, boost::system::error_code*)"
I'm going crazy to try to fix this problem. What is it about?
Futhermore when I installed the boost library and I checked with
pushd tools/build/test; python test_all.py
I got this problem:
startup_v2 : Set environmental variable 'DO_DIFF' to examine the difference.
But I'm not able to understand and I don't know if is inherent this question (I'm on Ubuntu)
Aucun commentaire:
Enregistrer un commentaire