Michael Mckeown
2016-04-18 11:27:58 UTC
What are the proper steps to build for 64 bit?
I build boosts with:
toolset=msvc-14.0 address-model=64 --stagedir=stage64 variant=release
link=static runtime-link=static
then Libtorrent with:
toolset=msvc-14.0 boost-link=static runtime-link=static
deprecated-functions=off encryption=on link=static dht=on logging=off
i2p=on variant=release
and Libtorrent duly builds and comes out at 72.9mb whereas the build for
32 bit comes out as 81mb.
Compiling my project with the 64 lib throws "libtorrent.lib(session.obj)
: fatal error LNK1112: module machine type 'X86' conflicts with target
machine type 'x64'"
So I'm assuming I'm missing some flags on the Libtorrent arguments?
Thanks.
I build boosts with:
toolset=msvc-14.0 address-model=64 --stagedir=stage64 variant=release
link=static runtime-link=static
then Libtorrent with:
toolset=msvc-14.0 boost-link=static runtime-link=static
deprecated-functions=off encryption=on link=static dht=on logging=off
i2p=on variant=release
and Libtorrent duly builds and comes out at 72.9mb whereas the build for
32 bit comes out as 81mb.
Compiling my project with the 64 lib throws "libtorrent.lib(session.obj)
: fatal error LNK1112: module machine type 'X86' conflicts with target
machine type 'x64'"
So I'm assuming I'm missing some flags on the Libtorrent arguments?
Thanks.