我有以下問題,只是想編譯/運行一些與提高文件系統庫的示例程序。我使用的MS-的Visual C++和Visual Studio .NET(2003)。提高文件系統庫Visual C++編譯錯誤
我已經安裝了Boost庫,版本1.38和1.39(以防萬一有一個版本的問題)使用BoostPro安裝。
如果我只是嘗試包括/boost/filesystem/operations.hpp
我收到以下錯誤:
\boost_1_38\boost\system\error_code.hpp(230) : error C2039: 'type' : is not a member of 'boost::enable_if<boost::system::is_error_condition_enum<Cond,boost::detail::enable_if_default_T>'
任何幫助是極大的讚賞。謝謝!
適用於我(tm)。在1.39和VS 2008上。 – Eugene 2009-07-26 07:19:59