链接器问题 [英] linker problem

查看:92
本文介绍了链接器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我正在尝试编译一个项目。


我收到了我发现的链接器错误粘贴在此消息的底部。


我正在使用VS2013。我已经设置了包含路径以及库路径,但显然我错过了一些东西。


非常感谢




错误  4 错误LNK1120:1个未解析的外部  C:\Program Files \ Point Gray Research \FlyCapture2 \ bin64 \FlyCapture2GUI_GTKmmd_v120 .dll  FlyCapture2GUI_GTKmm


错误  2 错误LNK2001:未解析的外部符号" __ declspec(dllimport)protected:class std :: _ List_iterator< class std: :_List_val< struct std :: _ List_simple_types< class sigc :: slot_base> > > __cdecl sigc :: signal_base :: connect(class
sigc :: slot_base const&)" (__imp_?连接@ signal_base @ sigc @@ IEAA?AV?$ _ List_iterator @ V'$ _ List_val @ U&$ _ List_simple_types @ Vslot_base @ sigc @@@性病性病@@@ @@@ STD @@ AEBVslot_base @ 2 @@ž )  C:\Program Files \Point Gray Research \FlyCapture2 \src\FlyCapture2GUI_GTKmm \CamControl.obj  FlyCapture2GUI_GTKmm


错误  ; 3 错误LNK2001:未解析的外部符号"__ declspec(dllimport)protected:class std :: _ List_iterator< class std :: _ List_val< struct std :: _ List_simple_types< class sigc :: slot_base> > > __cdecl sigc :: signal_base :: connect(class
sigc :: slot_base const&)" (__imp_?连接@ signal_base @ sigc @@ IEAA?AV?$ _ List_iterator @ V'$ _ List_val @ U&$ _ List_simple_types @ Vslot_base @ sigc @@@性病性病@@@ @@@ STD @@ AEBVslot_base @ 2 @@ž )  C:\Program Files \Point Gray Research \FlyCapture2 \src\FlyCapture2GUI_GTKmm \Format7Page.obj  FlyCapture2GUI_GTKmm


错误  ; 1 错误LNK2019:未解析的外部符号"__ declspec(dllimport)protected:class std :: _ List_iterator< class std :: _ List_val< struct std :: _ List_simple_types< class sigc :: slot_base> > > __cdecl sigc :: signal_base :: connect(class
sigc :: slot_base const&)" (__imp_?连接@ signal_base @ sigc @@ IEAA?AV?$ _ List_iterator @ V'$ _ List_val @ U&$ _ List_simple_types @ Vslot_base @ sigc @@@性病性病@@@ @@@ STD @@ AEBVslot_base @ 2 @@ž )函数中引用"public:struct sigc :: slot_iterator< class
sigc :: slot< void,class FlyCapture2 :: PGRGuid,struct sigc :: nil,struct sigc :: nil,struct sigc :: nil, struct sigc :: nil,struct sigc :: nil,struct sigc :: nil> > __cdecl sigc :: signal1< void,类FlyCapture2 :: PGRGuid,struct sigc :: nil> :: connect(类sigc :: slot< void,class
FlyCapture2 :: PGRGuid,struct sigc :: nil,struct sigc :: nil,struct sigc :: nil,struct sigc :: nil,struct sigc :: nil,struct sigc :: nil> const&)" (?连接@?$ @信号1 @ XVPGRGuid @@ FlyCapture2 @ UNIL @@@ sigc @@ sigc QEAA?AU?$ @ slot_iterator V'$ @插槽@ XVPGRGuid @@ FlyCapture2 @ UNIL @@ sigc @ U34 @ U34 @ U34 U34 @ U34 @@ sigc @@@ 2 @ AEBV?$ slot @ XVPGRGuid @ FlyCapture2 @@ Unil @ sigc @@ U34 @ U34 @ U34 @ U34 @ U34 @@ 2 @@ Z)  C:\Program
Files \Point Gray Research \FlyCapture2 \src\FlyCapture2GUI_GTKmm \BusTopologyPage.obj  FlyCapture2GUI_GTKmm


解决方案

嗨朋友,


此论坛正在讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统以及Visual Studio
编辑器。


span> 您的问题与C ++开发有关,我将把这个帖子移到相应的论坛上以获得专业答案。


<跨度> <跨度> <跨度> <跨度> <跨度> <跨度> <跨度> <跨度> <跨度> <跨度>此致


<跨度> <跨度> <跨度> <跨度> <跨度> <跨度> <跨度>的奥斯卡


Hello,

I'm trying to compile a project.

I receive the linker errors that I've pasted at the bottom of this message.

I'm using VS2013. I've set the includes paths as well as the library paths but obviously I've missed something.

Thank you very much

Error 4 error LNK1120: 1 unresolved externals C:\Program Files\Point Grey Research\FlyCapture2\bin64\FlyCapture2GUI_GTKmmd_v120.dll FlyCapture2GUI_GTKmm

Error 2 error LNK2001: unresolved external symbol "__declspec(dllimport) protected: class std::_List_iterator<class std::_List_val<struct std::_List_simple_types<class sigc::slot_base> > > __cdecl sigc::signal_base::connect(class sigc::slot_base const &)" (__imp_?connect@signal_base@sigc@@IEAA?AV?$_List_iterator@V?$_List_val@U?$_List_simple_types@Vslot_base@sigc@@@std@@@std@@@std@@AEBVslot_base@2@@Z) C:\Program Files\Point Grey Research\FlyCapture2\src\FlyCapture2GUI_GTKmm\CamControl.obj FlyCapture2GUI_GTKmm

Error 3 error LNK2001: unresolved external symbol "__declspec(dllimport) protected: class std::_List_iterator<class std::_List_val<struct std::_List_simple_types<class sigc::slot_base> > > __cdecl sigc::signal_base::connect(class sigc::slot_base const &)" (__imp_?connect@signal_base@sigc@@IEAA?AV?$_List_iterator@V?$_List_val@U?$_List_simple_types@Vslot_base@sigc@@@std@@@std@@@std@@AEBVslot_base@2@@Z) C:\Program Files\Point Grey Research\FlyCapture2\src\FlyCapture2GUI_GTKmm\Format7Page.obj FlyCapture2GUI_GTKmm

Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) protected: class std::_List_iterator<class std::_List_val<struct std::_List_simple_types<class sigc::slot_base> > > __cdecl sigc::signal_base::connect(class sigc::slot_base const &)" (__imp_?connect@signal_base@sigc@@IEAA?AV?$_List_iterator@V?$_List_val@U?$_List_simple_types@Vslot_base@sigc@@@std@@@std@@@std@@AEBVslot_base@2@@Z) referenced in function "public: struct sigc::slot_iterator<class sigc::slot<void,class FlyCapture2::PGRGuid,struct sigc::nil,struct sigc::nil,struct sigc::nil,struct sigc::nil,struct sigc::nil,struct sigc::nil> > __cdecl sigc::signal1<void,class FlyCapture2::PGRGuid,struct sigc::nil>::connect(class sigc::slot<void,class FlyCapture2::PGRGuid,struct sigc::nil,struct sigc::nil,struct sigc::nil,struct sigc::nil,struct sigc::nil,struct sigc::nil> const &)" (?connect@?$signal1@XVPGRGuid@FlyCapture2@@Unil@sigc@@@sigc@@QEAA?AU?$slot_iterator@V?$slot@XVPGRGuid@FlyCapture2@@Unil@sigc@@U34@U34@U34@U34@U34@@sigc@@@2@AEBV?$slot@XVPGRGuid@FlyCapture2@@Unil@sigc@@U34@U34@U34@U34@U34@@2@@Z) C:\Program Files\Point Grey Research\FlyCapture2\src\FlyCapture2GUI_GTKmm\BusTopologyPage.obj FlyCapture2GUI_GTKmm

解决方案

Hi friend,

This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

Your issue is related to C++ develop, I will move this thread to corresponding forum for a professional answer.

Sincerely,

Oscar


这篇关于链接器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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