Libtorrent unresolved external

I get the following error when I compile my program that references libtorrent.lib. I tried to compile libtorrent with different settings, I tried to enable / disable DHT, deprecated functions, etc.

error LNK2019: unresolved external symbol "void __cdecl Libtorrent :: rel_performancetimer_pools_nolog_resolvecountries_deprecated_dht_ext_ (are canceled)"

Is anyone here familiar with libtorrent, or can anyone give any advice on getting rid of this error? I do not see other libraries that I need to link.

Thanks in advance.

0
source share
2 answers

, / libtorrent, , .

0

, , , . "void rel_performancetimer_pools_nolog_resolvecountries_deprecated_dht_ext_" , . , dht_ , DHT, nolog_ , TORRENT_LOGGING. , Release! rel_ release_. libtorrent 0.16.11 . build_config.hpp 40:

#ifdef _DEBUG
#define TORRENT_DEBUG
#endif

libtorrent - . , , 3 libtorrent. , .

+5

Source: https://habr.com/ru/post/1532712/


All Articles