error LNK2019: 无法解析的外部符号 _

天狗ncfxy 2014-10-16 05:24:59
错误 2 error LNK2019: 无法解析的外部符号 _cvCreateImage,该符号在函数 "class std::vector<struct CvRect *,class std::allocator<struct CvRect *> > __cdecl detect_and_draw(struct _IplImage *)" (?detect_and_draw@@YA?AV?$vector@PAUCvRect@@V?$allocator@PAUCvRect@@@std@@@std@@PAU_IplImage@@@Z) 中被引用 D:\dlib-18.10\examples\build\face_landmark_detection_ex.obj face_landmark_detection_ex

错误 4 error LNK2019: 无法解析的外部符号 _cvCreateMemStorage,该符号在函数 "class std::vector<struct CvRect *,class std::allocator<struct CvRect *> > __cdecl detection(char *)" (?detection@@YA?AV?$vector@PAUCvRect@@V?$allocator@PAUCvRect@@@std@@@std@@PAD@Z) 中被引用 D:\dlib-18.10\examples\build\face_landmark_detection_ex.obj face_landmark_detection_ex

在一个项目中可以,和其他项目合并后就出现这个问题,请问怎么解决?
...全文
156 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
max_min_ 2014-10-16
  • 打赏
  • 举报
回复
链接不到相关的库文件
707wk 2014-10-16
  • 打赏
  • 举报
回复
二楼。。。。
罗博士 2014-10-16
  • 打赏
  • 举报
回复
引用 1 楼 luotuo44 的回复:
设置库目录和库文件
support
luotuo44 2014-10-16
  • 打赏
  • 举报
回复
设置库目录和库文件

69,373

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧