Re: [libtorrent] dump_torrent crashing
Brought to you by:
arvidn
From: Aleksey Y. <tux...@gm...> - 2011-04-21 18:43:21
|
As a quick hint: try to look at *.rsp files in libtorrent/bin and compare -D flags with yours. ~Aleksey 2011/4/21 Cliff Davies <cli...@gm...> > I've managed to compile a LibTorrent DLL using - > > Windows 7 64bit OS > > Visual C++ Express 2008 > LibTorrent 0.15.6 > Boost 1.46.1 > OpenSSL 1.0.0d > > > But when I add dump_torrent.cpp as a console application it crashes with - > > Unhandled exception at 0x76ebb727 in Client.exe: Microsoft C++ exception: > > boost::filesystem2::basic_filesystem_error<boost::filesystem2::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,boost::filesystem2::path_traits> > at memory location 0x004ef6f0.. > > > I'm using the following preprocessor flags to build the DLL - > > WIN32; > _DEBUG; > _WINDOWS; > _USRDLL; > LIBTORRENT_EXPORTS; > WIN32_LEAN_AND_MEAN; > _WIN32_WINNT=0x0500; > BOOST_ALL_NO_LIB; > _FILE_OFFSET_BITS=64; > BOOST_THREAD_USE_LIB; > TORRENT_BUILDING_SHARED; > UNICODE; > TORRENT_USE_OPENSSL; > BOOST_FILESYSTEM_VERSION=2 > > > I've been going in circles for the entire day, recompiling everything from > scratch several times, and can't work out what I'm doing wrong. I'd be > very > grateful if someone could offer any suggestions. > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Libtorrent-discuss mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss > |