您的位置:首页 > 运维架构

error LNK1104: cannot open file 'opencv_calib3d300.lib'

2015-11-29 18:43 429 查看
vs2013 + opencv3.0 配置好,出现如题所示错误。
解决办法:在openCV安装目录中查找文件opencv_calib3d300.lib,确定文件的所在目录,发现在opencv300.props文件中并没有此目录,修改后此错误消失。

另外出现多个如下所示警告:
warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss

解决办法:
用VS打开出现warning的文件,Ctrl+A全选,然后在文件菜单:file->advanced save options ,在弹出的选项中选择新的编码方式为:UNICODE codepage 1200 ,点击确定,问题解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: