1
我遵循一个用户的优秀指南,在这里如何使用VS2012的openCV,一切似乎都没有问题,直到我运行程序时遇到这些来自调试的消息。Visual Studio 2012上的OpenCV,MSVCP120D.dll丢失
'OPENCV_TEST.exe' (Win32): Loaded 'C:\Users\Michael\Documents\Visual Studio 2012\Projects\OPENCV_TEST\x64\Debug\OPENCV_TEST.exe'. Symbols loaded.
'OPENCV_TEST.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'OPENCV_TEST.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'OPENCV_TEST.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'OPENCV_TEST.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_core2410d.dll'. Cannot find or open the PDB file.
The program '[1228] OPENCV_TEST.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
我知道,这似乎是想为它试图打开VC12斌加载.dll文件为VS2013,但我检查我的路径和他们都VC11。我是一个完整的业余爱好者,所以任何帮助都非常感谢。
你加 “VC12” 文件夹到您的路径/斌/库/ sth.else环境变量?!? – Micka 2014-10-17 20:44:53
@Micka - 我将它添加到我的环境变量中,但在意识到vc12与VS 2013链接后再次删除它 – user112633 2014-10-17 20:46:02
是否在更改环境变量后重新启动操作系统(或至少重新记录用户)? – Micka 2014-10-17 20:48:23