problem when build with boost version
Posted: Thu Jul 17, 2014 1:46 pm
Hi all.
I have installed centos 7 with boost 1.55 version, libtorrent-rasterbar 1.0, but when I'm trying to build deluge stable 1.3 from SVN then I get this error:
Please any help with this problem of boost?, thanks in advanced...
I have installed centos 7 with boost 1.55 version, libtorrent-rasterbar 1.0, but when I'm trying to build deluge stable 1.3 from SVN then I get this error:
Code: Select all
gcc -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.7 -I/usr/include -I -I/usr/include/python2.7 -c ./libtorrent/src/magnet_uri.cpp -o build/temp.linux-x86_64-2.7/./libtorrent/src/magnet_uri.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -DBOOST_FILESYSTEM_VERSION=2 -DBOOST_ASIO_SEPARATE_COMPILATION -O2 -Wno-missing-braces
In file included from /usr/local/include/boost/filesystem/path.hpp:24:0,
from ./libtorrent/include/libtorrent/torrent_info.hpp:45,
from ./libtorrent/include/libtorrent/torrent_handle.hpp:52,
from ./libtorrent/include/libtorrent/magnet_uri.hpp:38,
from ./libtorrent/src/magnet_uri.cpp:33:
/usr/local/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
^
./libtorrent/src/magnet_uri.cpp: En la función ‘libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const string&, const boost::filesystem::path&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type, void*)’:
./libtorrent/src/magnet_uri.cpp:120:40: aviso: ‘libtorrent::torrent_handle libtorrent::session::add_torrent(const char*, const sha1_hash&, const char*, const boost::filesystem::path&, const libtorrent::entry&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type, void*)’ es obsoleto (declarado en ./libtorrent/include/libtorrent/session.hpp:205) [-Wdeprecated-declarations]
, storage_mode, paused, sc, userdata);
^
error: command 'gcc' failed with exit status 1