链接器问题求帮忙
opencv吧
全部回复
仅看楼主
level 1
1>------ 已启动生成: 项目: TestKinectDepth, 配置: Debug Win32 ------
1>LINK : warning LNK4075: 忽略“/INCREMENTAL”(由于“/FORCE”规范)
1>KinectFusionBasics.obj : error LNK2019: 无法解析的外部符号 "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z),该符号在函数 "public: __thiscall cv::String::String(char const *)" (??0String@cv@@QAE@PBD@Z) 中被引用
1>KinectFusionBasics.obj : error LNK2019: 无法解析的外部符号 "private: void __thiscall cv::String::deallocate(void)" (?deallocate@String@cv@@AAEXXZ),该符号在函数 "public: __thiscall cv::String::~String(void)" (??1String@cv@@QAE@XZ) 中被引用
1>main.obj : error LNK2001: 无法解析的外部符号 "private: void __thiscall cv::String::deallocate(void)" (?deallocate@String@cv@@AAEXXZ)
1>OpenGLFunction.obj : error LNK2001: 无法解析的外部符号 "private: void __thiscall cv::String::deallocate(void)" (?deallocate@String@cv@@AAEXXZ)
1>KinectFusionBasics.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::error(int,class cv::String const &,char const *,char const *,int)" (?error@cv@@YAXHABVString@1@PBD1H@Z),该符号在函数 "public: __thiscall cv::Mat::Mat(class cv::Mat &&)" (??0Mat@cv@@QAE@$$QAV01@@Z) 中被引用
1>KinectFusionBasics.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::imshow(class cv::String const &,class cv::_InputArray const &)" (?imshow@cv@@YAXABVString@1@ABV_InputArray@1@@Z),该符号在函数 "private: void __thiscall CKinectFusionBasics::ProcessDepth(void)" (?ProcessDepth@CKinectFusionBasics@@AAEXXZ) 中被引用
1>C:\Users\asus-pc\Desktop\三维重建\Debug\TestKinectDepth.exe : warning LNK4088: 因 /FORCE 选项生成了映像;映像可能不能运行
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
2017年05月07日 04点05分 1
level 1
这个问题怎么解决呀
2017年05月07日 04点05分 2
level 1
请问楼主这个问题解决了么?我现在也是遇到的这个问题
2018年09月27日 07点09分 3
level 1
同问
2019年12月28日 11点12分 4
1