Boost Filesystem Library Visual C++ Compile Error

Posted by John Miller on Stack Overflow See other posts from Stack Overflow or by John Miller
Published on 2009-07-26T06:15:30Z Indexed on 2010/12/25 23:54 UTC
Read the original article Hit count: 236

Filed under:
|
|
|

I'm having the following issue just trying to compile/run some of the example programs with the Boost Filesystem Library. I'm using MS-Visual C++ with Visual Studio .NET (2003).

I've installed the Boost libraries, version 1.38 and 1.39 (just in case there was a version problem) using the BoostPro installers.

If I just try to include /boost/filesystem/operations.hpp I receive the following error:

\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>'

Any help is greatly appreciated. Thank you!

© Stack Overflow or respective owner

Related posts about compiler

Related posts about boost