我在尝试使用 Boost Filesystem Library 编译/运行一些示例程序时遇到以下问题。我正在使用 MS-Visual C++ 和 Visual Studio .NET (2003)。
我已经使用 BoostPro 安装程序安装了 Boost 库,版本 1.38 和 1.39(以防万一出现版本问题)。
如果我只是尝试包含/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>'
任何帮助是极大的赞赏。谢谢!