Boost :: Problems compiling the process, I had to modify the lib to make it work

So, I downloaded the latest Boost :: Process library and tried to compile it, and eventually:

libs/boost-1.55.0/build/include/boost/process/operations.hpp:85:36: error: ‘filesystem_error’ is not a member of ‘boost::filesystem’

I continued and checked this file, I deleted this line (along with the if statement on it), and it compiles after modification. It is strange that he filesystem_erroris actually a member boost::filesystem, so I don’t understand why he is complaining.

Is there a way to fix this without deleting these lines? I really do not want to make such a modification.

Here is the latest Boost :: Process (I use Boost 1.55.0 if you want a version number).

+3
source share
1 answer

, , [1]:

boost/process/operations.hpp

#include <boost/filesystem/path.hpp> 

#include <boost/filesystem/path.hpp> 
#include <boost/filesystem/convenience.hpp>

#include <boost/filesystem.hpp> 

, path.hpp no


[1] , 'amalgamate' Coliru:)

+3

All Articles