Re: [libtorrent] MinGW Issues
Brought to you by:
arvidn
|
From: Rasmus K. <pa...@bi...> - 2009-03-07 10:02:35
|
Hi, I had the exact same error. What I did to fix the error was to remove #if TORRENT_USE_WPATH and its matching #endif in src/storage.cpp and change all #ifdef TORRENT_USE_WPATH to #if TORRENT_USE_WPATH in src/file.cpp. I'm attaching a patch for this as well. -- Rasmus Karlsson <pa...@bi...> bithack.se On Fri, 2009-03-06 at 22:16 +0000, Juan D Guzman wrote: > Thanks for the help with the IPV6_PROTECTION_LEVEL issue. I was able to > get that fixed and I have this 0.14.2 compiled now. > > Now however I have a different issue. When trying to compile the app > that I am using libtorrent in I got a bunch of errors. Most of these > were link errors that I resolved, but I have one that I haven't been > able to fix. Hopefully someone on here can shed some light. The error > is the following ... > > ../../../libs/libtorrent-rasterbar-0.14.2/bin/liblibtorrent.a(file.o): > In function > `ZN10libtorrent4file4openERKN5boost10filesystem10basic_pathISsNS2_11path_traitsEEENS0_9open_modeERNS1_6system10error_codeE': > > > D:/src/libs/libtorrent-rasterbar-0.14.2/src/file.cpp:171: undefined > reference to `libtorrent::safe_convert(std::string const&)' > > > It appears to have something to do with wide paths but I have recompiled > libtorrent several times now and with the defines that I have wide paths > isn't compiled into libtorrent. However for some reason my app keeps > looking for them. > > > Well at any rate if someone can shed some light I'm sure it is something > very simple I'm missing. > > > Regards, > > > JD > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Libtorrent-discuss mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss |