Open GoogleCodeExporter opened 9 years ago
Here is a complete example to reproduce the problem on Win 8, MSVC-12.0 with
the above mentioned Boost and libtorrent versions.
#include <boost/asio.hpp>
#include <libtorrent/session.hpp>
int main(int argc, char *argv[])
{
boost::asio::io_service io_service;
boost::asio::signal_set signals(io_service, SIGINT, SIGTERM);
boost::asio::ip::tcp::acceptor acc(io_service);
libtorrent::session *s = new libtorrent::session();
signals.async_wait([](boost::system::error_code error, int signal)
{
});
io_service.run();
return 0;
}
Original comment by vik...@viktorelofsson.se
on 8 Jan 2015 at 7:01
I wonder if this is because libtorrent exports boost.asio symbols, and if your
version is different than the one libtorrent built against, there may be ABI
compatibility issues.
Original comment by arvid.no...@gmail.com
on 9 Jan 2015 at 10:05
I'm building everything from source (static lib). Do you need any more details?
Original comment by vik...@viktorelofsson.se
on 10 Jan 2015 at 5:32
Hi, I've investigated the issue some more and when using shared linking
everything works as expected. I'm considering this issue resolved.
Original comment by vik...@viktorelofsson.se
on 28 Jan 2015 at 1:27
Original issue reported on code.google.com by
vik...@viktorelofsson.se
on 7 Jan 2015 at 11:35