Home > Software engineering >  Libtorrent compiled through, how to use
Libtorrent compiled through, how to use

Time:11-10

Compilation becomes libtorrent when growing in the debug and release folder. The.lib file, and then built an empty project, kao in the example code, compiled by ah, I am using VS2008, everyone used trouble to say

CodePudding user response:

What is the error information? Relevant files are added to the project? Engineering property is set correctly?

CodePudding user response:

1 & gt; Demo2. Obj: error LNK2019: cannot resolve the external symbol "__declspec (dllimport) public: __thiscall STD: : basic_string & lt; Char, struct STD: : char_traits & lt; Char> Class, STD: : allocator : : basic_string & lt; Char, struct STD: : char_traits & lt; Char> Class, STD: : allocator (struct STD: : basic_string & lt; Char, struct STD: : char_traits & lt; Char> Class, STD: : allocator : : _Has_debug_it) "(__imp_?? 0? $basic_string @ DU? $char_traits @ D @ STD @ @ V? $allocator @ @ 2 D @ @ STD @ @ QAE @ U_Has_debug_it @ @ @ Z 01), the symbol in the function "public: __thiscall libtorrent: : add_torrent_params: : add_torrent_params (class boost: : function Class, STD: : allocator Const & amp; , struct libtorrent: : file_pool & amp; Class, STD: : vector Const & amp;) & gt;) "(?????? 0 add_torrent_params @ libtorrent @ @ QAE @ V? The $function @ $$A6APAUstorage_interface @ libtorrent @ @ ABVfile_storage @ @ PBV32 @ ABV? $basic_string @ DU? $char_traits @ D @ STD @ @ V? $allocator @ @ 2 D @ @ STD @ @ @ ABV AAUfile_pool @ 2? $vector @ EV? $allocator @ @ STD @ @ @ 5 E @ boost @ @ @ @ @ Z Z) referenced
1 & gt; Demo2. Obj: error LNK2019: cannot resolve the external symbol of "void __cdecl libtorrent: : rel_performancetimer_pools_nolog_resolvecountries_deprecated_dht_ext_ (void)" (? Rel_performancetimer_pools_nolog_resolvecountries_deprecated_dht_ext_ @ libtorrent @ @ YAXXZ), the symbol in the function "public: __thiscall libtorrent: : session: : session (struct libtorrent: : fingerprint const & amp; , int, unsigned int) "(?????? 0 session @ libtorrent @ @ QAE @ ABUfingerprint @ 1 @ @ HI Z) referenced
1 & gt; D: \ libtorrent \ demo \ demo2 \ Debug \ demo2 exe: fatal error LNK1120:2 cannot resolve external commands

CodePudding user response:

https://bbs.csdn.net/topics/390346117

CodePudding user response:

Run to release compiled, but nowadays is not down, the seed and the only generates a corresponding folder, this is why

CodePudding user response:

To see your download source, without downloading the source, there is no download speed

CodePudding user response:

Under the same resource, use thunderbolt can, tried several resources are the same problem

CodePudding user response:

Only yesterday did I compiled, demo can also download things, thank you

CodePudding user response:

refer to 7th floor maya8maya85 response:
I compiled only yesterday, demo also can download something, thank you


Can share with your code
  • Related