Le 24/09/2009 21:14:11, Harry van der Wolf a écrit : >2009/9/24 Jean-Luc Coulon (f5ibh) <jean.luc.cou...@gmail.com> > >> Hi, >> >> I've updated debian sid. >> In the update, all boost related stuff changed to version 1.40.0 >> >> In libboost1.40-dev, function0.hpp is located in /usr/include/boost/ >> function/function0.hpp >> >> ./src/hugin_base/vigra_ext/ImageTransforms.h has to be adjusted to >> include the correct path. >> >> Regards >> >> Jean-Luc >> >> >Hi Jean-Luc, > >I made a patch one-two weeks ago in >src/hugin_base/vigra_ext/ImageTransforms.h >for this like > >#ifdef __APPLE__ > #include <boost/function.hpp> >#endif > > >It seems I was wrong in that as I'm also working with boost 1.40, but > I >had >to pick up so much changes for OSX that I overlooked the obvious. >However, >do you have any idea how to test on boost level? I did some googling >around >but couldn't find any clue.
In the dev lib, there is: /usr/include/boost/version.hpp It defines the version with: #define BOOST_VERSION 104000 // // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION // but as a *string* in the form "x_y[_z]" where x is the major version // number, y is the minor version number, and z is the patch level if not 0. // This is used by <config/auto_link.hpp> to select which library version to link to. #define BOOST_LIB_VERSION "1_40" #endif To be sure, I've downloaded and inspected the version 1.39 of the package. It does the same : #define BOOST_VERSION 103900 // // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION // but as a *string* in the form "x_y[_z]" where x is the major version // number, y is the minor version number, and z is the patch level if not 0. // This is used by <config/auto_link.hpp> to select which library version to link to. #define BOOST_LIB_VERSION "1_39" #endif But I see that function0.hpp is in the same directory for both the packages: /usr/include/boost/function/function0.hpp So there was probably other changes in the hugin tree. Regards Jean-Luc
pgpjCPWBM1on6.pgp
Description: PGP signature