hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #01826
[Bug 756245] Re: enblend doesn't compile with boost 1.46.1
Find attached a simple one-line-patch, selecting the V2 interface of
boost_filename. This should work up to boost 1.47 and will break with
1.48_:
----------------
http://live.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm
Version 3 is a major revision with many new and improved features. It
may, however, break some user code written for Version 2.
To ease the transition, Boost releases 1.44 through 1.47 will supply both V2 and V3. Version 2 is the default version for Boost release 1.44 and 1.45. Version 3 will be the default starting with release 1.46.--
--------------
Alex, does enblend still build against older boost with your patch?
** Patch added: "BOOST_FILESYSTEM_VERSION=2"
https://bugs.launchpad.net/enblend/+bug/756245/+attachment/2106682/+files/set-boost-version.diff
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/756245
Title:
enblend doesn't compile with boost 1.46.1
Status in Enblend:
New
Bug description:
looks like basic_patch has been deprecated in boost::filesystem so
compiling src/filenameparse.cc fails with:
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc:53:9: error: 'basic_path' in namespace 'boost::filesystem' does not name a type
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc: In function 'bool enblend::isRelativePath(const std::string&)':
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc:63:11: error: 'basic_path' does not name a type
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc:64:13: error: 'path' was not declared in this scope
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc: In function 'std::string enblend::extractDirname(const std::string&)':
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc:83:11: error: 'basic_path' does not name a type
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc:84:33: error: 'path' was not declared in this scope
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc: In function 'std::string enblend::extractBasename(const std::string&)':
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc:97:11: error: 'basic_path' does not name a type
/home/romosan/cvs/panorama/enblend/src/filenameparse.cc:98:12: error: 'path' was not declared in this scope
etc.
Follow ups
References