So it started with my patch: http://projects.blender.org/tracker/index.php?func=detail&aid=32074&group_id=9&atid=127
But apparently people still use ancient distros and thus r49225 was committed. However, while checking against BOOST_VERSION, it never actually is set! My patch fixes that and should make everyone happy.
Description
Description
Event Timeline
Comment Actions
I don't know if your patch is really necessary because r49225 can be built with Boost 1.42 on Ubuntu 11.04, but explicitly including boost/version.hpp is good idea.
Comment Actions
Ahh, BOOST_FILESYSTEM_VERSION will be set appropriately in boost/filesystem.hpp, so the build goes well on older system though the following code makes no sense:
#if (BOOST_VERSION < 104400)
# define BOOST_FILESYSTEM_VERSION 2
#endif
Another solution is to remove the above code.
Comment Actions
It cannot be built on recent Boost versions, that is the problem. The macro is never expanded.