| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1572 人关注过本帖
标题:求高手帮忙,编译没有错误,组建出现错误,
只看楼主 加入收藏
onvn
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-9-7
结帖率:0
收藏
已结贴  问题点数:20 回复次数:2 
求高手帮忙,编译没有错误,组建出现错误,
求高手帮忙,编译没有错误,组建出现错误,
错误代码如下,请高手解释一下,不甚感激!
--------------------Configuration: ecc200_simple - Win32 Debug--------------------
Linking...
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::write_string(class Halcon::HTuple const &,class Halcon::HTuple const &)" (__imp_?write_string@Halcon@@YAIABVHTuple@1@0@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Halcon::HTuple::~HTuple(void)" (__imp_??1HTuple@Halcon@@UAE@XZ)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::set_tposition(class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &)" (__imp_?set_tposition@Halcon@@YA
IABVHTuple@1@00@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::operator+(class Halcon::HTuple const &)const " (__imp_??HHTuple@Halcon@@QBE?AV01@ABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::operator*(class Halcon::HTuple const &)const " (__imp_??DHTuple@Halcon@@QBE?AV01@ABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Halcon::Hobject::~Hobject(void)" (__imp_??1Hobject@Halcon@@UAE@XZ)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::set_font(class Halcon::HTuple const &,class Halcon::HTuple const &)" (__imp_?set_font@Halcon@@YAIABVHTuple@1@0@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall Halcon::HTuple::operator!=(class Halcon::HTuple const &)const " (__imp_??9HTuple@Halcon@@QBEHABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::Substring(long,long)const " (__imp_?Substring@HTuple@Halcon@@QBE?AV12@JJ@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Halcon::HTuple::HTuple(char const *)" (__imp_??0HTuple@Halcon@@QAE@PBD@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::get_system(char const *,class Halcon::HTuple *)" (__imp_?get_system@Halcon@@YAIPBDPAVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::get_image_pointer1(class Halcon::Hobject const &,class Halcon::HTuple *,class Halcon::HTuple *,class Halcon::HTuple *,class Halcon::HTu
ple *)" (__imp_?get_image_pointer1@Halcon@@YAIABVHobject@1@PAVHTuple@1@111@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Halcon::HTuple::HTuple(void)" (__imp_??0HTuple@Halcon@@QAE@XZ)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::close_window(class Halcon::HTuple const &)" (__imp_?close_window@Halcon@@YAIABVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::clear_data_code_2d_model(class Halcon::HTuple const &)" (__imp_?clear_data_code_2d_model@Halcon@@YAIABVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::close_framegrabber(class Halcon::HTuple const &)" (__imp_?close_framegrabber@Halcon@@YAIABVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Halcon::HTuple::HTuple(class Halcon::HCtrlVal const &)" (__imp_??0HTuple@Halcon@@QAE@ABVHCtrlVal@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HCtrlVal & __thiscall Halcon::HTuple::operator[](class Halcon::HTuple const &)" (__imp_??AHTuple@Halcon@@QAEAAVHCtrlVal@1@ABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::Max(void)const " (__imp_?Max@HTuple@Halcon@@QBE?AV12@XZ)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::Min(void)const " (__imp_?Min@HTuple@Halcon@@QBE?AV12@XZ)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::get_contour_xld(class Halcon::Hobject const &,class Halcon::HTuple *,class Halcon::HTuple *)" (__imp_?get_contour_xld@Halcon@@YAIABVHob
ject@1@PAVHTuple@1@1@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::select_obj(class Halcon::Hobject const &,class Halcon::Hobject *,class Halcon::HTuple const &)" (__imp_?select_obj@Halcon@@YAIABVHobjec
t@1@PAV21@ABVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::operator+(int)const " (__imp_??HHTuple@Halcon@@QBE?AV01@H@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall Halcon::HTuple::operator<=(int)const " (__imp_??NHTuple@Halcon@@QBEHH@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall Halcon::HBaseArray::Num(void)const " (__imp_?Num@HBaseArray@Halcon@@QBEJXZ)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple & __thiscall Halcon::HTuple::operator+=(int)" (__imp_??YHTuple@Halcon@@QAEAAV01@H@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::operator+(char const *)const " (__imp_??HHTuple@Halcon@@QBE?AV01@PBD@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class Halcon::HTuple __cdecl Halcon::operator+(char const *,class Halcon::HTuple const &)" (__imp_??HHalcon@@YA?AVHTuple@0@PBDABV10@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::ToString(char const *)const " (__imp_?ToString@HTuple@Halcon@@QBE?AV12@PBD@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class Halcon::HTuple __cdecl Halcon::operator*(int,class Halcon::HTuple const &)" (__imp_??DHalcon@@YA?AVHTuple@0@HABV10@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple __thiscall Halcon::HTuple::operator-(class Halcon::HTuple const &)const " (__imp_??GHTuple@Halcon@@QBE?AV01@ABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::disp_obj(class Halcon::Hobject const &,class Halcon::HTuple const &)" (__imp_?disp_obj@Halcon@@YAIABVHobject@1@ABVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::set_color(class Halcon::HTuple const &,class Halcon::HTuple const &)" (__imp_?set_color@Halcon@@YAIABVHTuple@1@0@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Halcon::HTuple::HTuple(class Halcon::HTuple const &)" (__imp_??0HTuple@Halcon@@QAE@ABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::find_data_code_2d(class Halcon::Hobject const &,class Halcon::Hobject *,class Halcon::HTuple const &,class Halcon::HTuple const &,class
 Halcon::HTuple const &,class Halcon::HTuple *,class Halcon::HTuple *)" (__imp_?find_data_code_2d@Halcon@@YAIABVHobject@1@PAV21@ABVHTuple@1@22PAV31@3@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::count_seconds(class Halcon::HTuple *)" (__imp_?count_seconds@Halcon@@YAIPAVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::set_data_code_2d_param(class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &)" (__imp_?set_data_code_2
d_param@Halcon@@YAIABVHTuple@1@00@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::create_data_code_2d_model(class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple *
)" (__imp_?create_data_code_2d_model@Halcon@@YAIABVHTuple@1@00PAV21@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Halcon::Hobject::Hobject(class Halcon::Hobject const &)" (__imp_??0Hobject@Halcon@@QAE@ABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::grab_image(class Halcon::Hobject *,class Halcon::HTuple const &)" (__imp_?grab_image@Halcon@@YAIPAVHobject@1@ABVHTuple@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::open_framegrabber(class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,c
lass Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTup
le const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple const &,class Halcon::HTuple *)" (__imp_?open_framegrabber@Halcon@@YAIABVHTuple@1@000000000000000PAV21@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Halcon::HTuple::HTuple(int)" (__imp_??0HTuple@Halcon@@QAE@H@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Halcon::HTuple & __thiscall Halcon::HTuple::operator=(class Halcon::HTuple const &)" (__imp_??4HTuple@Halcon@@QAEAAV01@ABV01@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::open_window(long,long,long,long,long,char const *,char const *,class Halcon::HTuple *)" (__imp_?open_window@Halcon@@YAIJJJJJPBD0PAVHTup
le@1@@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Halcon::Hobject::Hobject(int)" (__imp_??0Hobject@Halcon@@QAE@H@Z)
ecc200_simple.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned int __cdecl Halcon::set_system(class Halcon::HTuple const &,class Halcon::HTuple const &)" (__imp_?set_system@Halcon@@YAIABVHTuple@1@0@Z)
Debug/ecc200_simple.exe : fatal error LNK1120: 46 unresolved externals
执行 link.exe 时出错.

ecc200_simple.exe - 1 error(s), 0 warning(s)
搜索更多相关主题的帖子: 组建 编译 
2010-09-08 19:31
红色警戒
Rank: 11Rank: 11Rank: 11Rank: 11
等 级:贵宾
威 望:19
帖 子:444
专家分:2967
注 册:2005-11-20
收藏
得分:10 
没有包含lib文件吧

2010-09-08 20:41
bydzyj
Rank: 3Rank: 3
等 级:论坛游侠
威 望:3
帖 子:38
专家分:123
注 册:2010-8-8
收藏
得分:10 
一:可能是没包含lib二:你自己定义的函数删除的时候没删干净
2010-09-09 18:19
快速回复:求高手帮忙,编译没有错误,组建出现错误,
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.057500 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved