vs + opencv 常见错误

Q:Link Error 2019 无法解析的外部符号  _cvCreateImage
A:应将解决方案平台改为win64。
工具栏上方的解决方案平台—》点击下拉菜单—》配置管理器—》活动解决方案平台—》新建—》键入获选着新平台—》x64
问题就解决啦!哈哈!



Q:Error C1189 Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
A:Go to the project properties (Project menu, Properties).  Set 'Use of MFC' to "Use MFC in a Shared DLL".  You have to make this change for both the debug and release configurations

你可能感兴趣的:(vs + opencv 常见错误)