码迷,mamicode.com
首页 > 其他好文 > 详细

Visual Studio 编译libimobiledevice问题简介

时间:2015-05-28 10:55:28      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:

  1. error LNK2001: unresolved external symbol __imp__plist_array_get_item
    这种错误需要在目标项目上添加 Reference.

  2. Release版本需要把所有类库: Configuration Properties->C/C++->Code Generation->Runtime Library修改为MT(静态链接库)

  3. 多类库相互依赖,**MSVCRT.lib(ti_inst.obj) : **error LNK2005: “private: __thiscall type_info::type_info(class type_info const &)” (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
    MSVCRT.lib(ti_inst.obj) : error LNK2005: “private: class type_info & __thiscall type_info::operator=(class type_info const &)” (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)**
    需要在Configuration Properties->Librarian->Ignore Specific Default Libraries 输入 libc.lib, msvcrt.lib, libcd.lib, libcmtd.lib, msvcrtd.lib

参考: http://blog.csdn.net/magictong/article/details/6105160

Visual Studio 编译libimobiledevice问题简介

标签:

原文地址:http://blog.csdn.net/qianguozheng/article/details/46119081

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!