में लापता अपवाद मैं बूस्ट प्रोसेस इवेंट का उपयोग करना चाहता हूं, हालांकि इसे अभी तक रिलीज़ नहीं किया गया है।बूस्ट प्रोसेस
boost-process/boost/process/operations.hpp: In function ‘std::string boost::process::find_executable_in_path(const string&, std::string)’:
boost-process/boost/process/operations.hpp:85:36: error: ‘filesystem_error’ is not a member of ‘boost::filesystem3’
In file included from boost-process/boost/process.hpp:42:0,
from tests/../fio.hpp:22,
from tests/t_histogram.cpp:18:
boost-process/boost/process/operations.hpp:130:32: error: ‘filesystem_error’ is not a member of ‘boost::filesystem3’
मैं boost::filesystem3
के लिए, लेकिन एक ही परिणाम के साथ बदल नाम स्थान की कोशिश की: मैं
svn co svn://svn.boost.org/svn/boost/sandbox/process/ boost-process
जोड़ा boost-process
पथ (-I
) और #included
<boost/process.hpp>
शामिल करने के लिए लेकिन संकलन की शिकायत के बारे में filesystem_error
परिभाषित नहीं किया जा रहा था।
filesystem_error
की defintion
class BOOST_SYMBOL_VISIBLE filesystem_error : public system::system_error
है BOOST_SYMBOL_VISIBLE
छिपा है?
मेरे अनुभव में boost2process के एक नए संस्करण का उपयोग करना बेहतर है, जैसे soc2010: http://www.highscore.de/boost/gsoc2010/process.zip http://www.highscore.de/boost/gsoc2010/ – alfC