本文介绍了libtorrent未解决的外部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我编译我的程序链接到libtorrent.lib时,我得到以下错误。我尝试用不同的设置编译libtorrent,我已经尝试启用/禁用DHT,已弃用的函数等。

I'm getting the following error when I compile my program which links to libtorrent.lib. I've tried compiling libtorrent with different settings, I've tried enabling/disabling DHT, deprecated functions, etc.

任何人都熟悉libtorrent,提供任何建议,以摆脱这个错误?我没有看到任何其他需要链接的库。

Is anyone here familiar with libtorrent, or can anyone provide any advice for getting rid of this error? I don't see any other libraries that I need to link to.

提前感谢。

推荐答案

问题是我的项目中的定义与libtorrent编译中的配置/定义不一致,所以一些宏调用不存在的函数。

The problem was that my definitions in my project were inconsistent with the configuration/definitions in the libtorrent compilation, so some macros were calling a function that doesn't exist.

这篇关于libtorrent未解决的外部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-24 23:13