关于错误LNK 2019:导入我的静态库时出现无法解析的外部符号 [英] About error LNK 2019 : unresolved external symbol when import the my static library

查看:243
本文介绍了关于错误LNK 2019:导入我的静态库时出现无法解析的外部符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是VS 2012中的错误报告:

Below is the error report in VS 2012:

我有一个解决方案,该解决方案中包含动态库项目.现在,我想将我的静态库导入该项目.

I have a Solution ,and the dynamic library project is included in the Solution. Now , I want to import my static library to this project .

并且我已经将头文件和lib文件添加到该项目中,并进行了正常设置.但是错误仍然出现.我不知道,所以请帮助我.谢谢.

And I have add the header file and lib file to this project and set it normally . but the error is still appear. I have no idea ,so Please help me. Thanks.

1>     Creating library F:\New folder\Camera\Source\..\Source\Camera\MFTPlugin\Plugin\Win32\Debug\IntelCameraPlugin.lib and object F:\New folder\Camera\Source\..\Source\Camera\MFTPlugin\Plugin\Win32\Debug\IntelCameraPlugin.exp
1>AdvCI3ACtrl.obj : error LNK2019: unresolved external symbol _ia_aiq_init@20 referenced in function "public: long __thiscall CAdvCI3A::Initialize(struct IKsControl *)" (?Initialize@CAdvCI3A@@QAEJPAUIKsControl@@@Z)
1>F:\New folder\Camera\Source\..\Source\Camera\MFTPlugin\Plugin\Win32\Debug\IntelCameraPlugin.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


而且我已经在c/c ++或链接器中设置了项目的属性.


And I have set the properties of the project either in c/c++ or in linker.

推荐答案

您可以在一般的VC ++论坛(http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral)
Could you post this question in the general VC++ forum (http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral)


这篇关于关于错误LNK 2019:导入我的静态库时出现无法解析的外部符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆