[quote="Dayman"]
Is define="BOOST_FILESYSTEM_VERSION=2" not needed then?
[/quote]
boost-filesystem is not needed in libtorrent-rasterbar >= v0.16.x!
You only need boost-system e.g. bjam -q --with-system --toolset=msvc variant=release link=static runtime-link=shared (for Boost).
Omit the define="BOOST_FILESYSTEM_VERSION=2" when compiling libtorrent.
[/quote]
Yep, thanks. It also looks like Boost::Thread library is not needed too. Works fine with just '--with-date_time --with-system'
I cannot drop date_time though.
Code: Select all
feature timer : auto boost absolute performance clock system_time
: composite propagated link-incompatible ;
feature.compose <timer>boost : <define>TORRENT_USE_BOOST_DATE_TIME=1 ;
feature.compose <timer>absolute : <define>TORRENT_USE_ABSOLUTE_TIME=1 ;
feature.compose <timer>performance : <define>TORRENT_USE_PERFORMANCE_TIMER=1 ;
feature.compose <timer>clock : <define>TORRENT_USE_CLOCK_GETTIME=1 ;
feature.compose <timer>system_time : <define>TORRENT_USE_SYSTEM_TIME=1 ;
Also, Zlib includes are redundant for libtorrent >=0.16.0 in winconf.pri
From libtorrent changelog:
0.16 release
.....
* dropped zlib as a dependency and builds using puff.c instead