frostalf / libtorrent

Automatically exported from code.google.com/p/libtorrent
0 stars 0 forks source link

Build error: 0.16.15 MSVC-11.0 Win32 #593

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was using 0.16.12 without problem (compiled on Win32 using msvc-11.0).

Now I upgraded to 0.16.15 but could not build. 

Build command:

b2 -q --without-python --toolset=msvc-11.0 variant=debug,release link=static 
runtime-link=shared encryption=openssl logging=verbose geoip=static 
boost-link=static include="..\..\..\include"  
-sBOOST_ROOT="..\boost\boost_1_55_0" address-model=32,64 -j 
%NUMBER_OF_PROCESSORS%

Output:

BOOST_ROOT = ..\boost\boost_1_55_0
CXXFLAGS =
LDFLAGS =
OS = NT
link.jam: No such file or directory
...patience...
...patience...
...found 2941 targets...
...updating 363 targets...
compile-c-c++ 
bin\msvc-11.0\debug\address-model-32\encryption-openssl\geoip-static\link-static
\logging-verbose\threading-multi\src\bloom_filter.obj
bloom_filter.cpp
compile-c-c++ 
bin\msvc-11.0\debug\address-model-32\encryption-openssl\geoip-static\link-static
\logging-verbose\threading-multi\src\bandwidth_manager.obj
bandwidth_manager.cpp
src\bandwidth_manager.cpp(161) : error C2039: 'max_bandwidth_channels' : is not 
a member of 'libtorrent::bw_request'
        C:\src\ElasticTransfer\include\libtorrent/bandwidth_queue_entry.hpp(43)
: see declaration of 'libtorrent::bw_request'
src\bandwidth_manager.cpp(161) : error C2065: 'max_bandwidth_channels' : 
undeclared identifier
src\bandwidth_manager.cpp(172) : error C2039: 'max_bandwidth_channels' : is not 
a member of 'libtorrent::bw_request'
        C:\src\ElasticTransfer\include\libtorrent/bandwidth_queue_entry.hpp(43)
: see declaration of 'libtorrent::bw_request'
src\bandwidth_manager.cpp(172) : error C2065: 'max_bandwidth_channels' : 
undeclared identifier
src\bandwidth_manager.cpp(183) : error C2039: 'max_bandwidth_channels' : is not 
a member of 'libtorrent::bw_request'
        C:\src\ElasticTransfer\include\libtorrent/bandwidth_queue_entry.hpp(43)
: see declaration of 'libtorrent::bw_request'
src\bandwidth_manager.cpp(183) : error C2065: 'max_bandwidth_channels' : 
undeclared identifier

Thank you very much.

Original issue reported on code.google.com by hernan.d...@gmail.com on 18 Mar 2014 at 1:10

GoogleCodeExporter commented 9 years ago
you may want to make sure you don't have an old version of that header 
(bandwidth_queue_entry.hpp) that's getting included. the 0.16.15 release does 
have that enum in the bw_request struct.

does your bandwidth_queue_entry.hpp not have it?

Original comment by arvid.no...@gmail.com on 19 Mar 2014 at 5:39

GoogleCodeExporter commented 9 years ago
Sorry for the inconvenience, it was a wrong include header mixed in the 0.16.15 
source.  It is working now. Thanks you for your help.

Original comment by hernan.d...@gmail.com on 21 Mar 2014 at 7:15

GoogleCodeExporter commented 9 years ago

Original comment by arvid.no...@gmail.com on 22 Mar 2014 at 1:48