Windows specific questions, problems.
estux
Post
by estux » Fri Nov 01, 2013 1:30 pm
Hi!
I am trying to compile qbittorrent in windows following this link :
The only difference is that I am using MSVC10.
But I am getting this error while trying to compile libtorrent
Code: Select all
...
compile-c-c++ bin\msvc-10.0\release\boost-source\encryption-openssl\geoip-static\link-static\runtime-link-static\threading-multi\src\disk_buffer_pool.obj
disk_buffer_pool.cpp
include\libtorrent/disk_buffer_pool.hpp(52) : error C2039: 'noncopyable' : is not a member of 'boost'
include\libtorrent/disk_buffer_pool.hpp(52) : error C2504: 'noncopyable' : base class undefined
...
Any idea?
estux
Post
by estux » Fri Nov 01, 2013 4:30 pm
Thank you! Using the latest code solved the problem.
Now I am getting linker errors in qBittorrent:
Code: Select all
libtorrent.lib(http_stream.obj):-1: error: LNK2001: unresolved external symbol "void * __cdecl boost::asio::asio_handler_allocate(unsigned int,...)" (?asio_handler_allocate@asio@boost@@YAPAXIZZ)
libtorrent.lib(http_stream.obj):-1: error: LNK2001: unresolved external symbol "void __cdecl boost::asio::asio_handler_deallocate(void *,unsigned int,...)" (?asio_handler_deallocate@asio@boost@@YAXPAXIZZ)
Maybe libtorrent.lib has not been compiled in the right way. I am using boost 1.54.
estux
Post
by estux » Fri Nov 01, 2013 4:47 pm
Yes, I have checked it and I have the right name: libboost_system-vc100-mt-s-1_54.lib
EDIT: I have fixed it using this
patch
Last edited by estux on Fri Nov 01, 2013 5:12 pm, edited 1 time in total.