簡體   English   中英

在Visual Studio 2012上的OpenCV,MSVCP120D.dll丟失

[英]OpenCV on Visual Studio 2012, MSVCP120D.dll missing

在這里,我一直遵循用戶的出色指南,介紹如何在VS2012中使用openCV,在我運行程序時,從調試中遇到這些消息之前,一切似乎都還可以。

'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'.

我知道它似乎正在嘗試為VS2013加載.dll文件,因為它正試圖打開vc12 bin,但是我已經檢查了路徑,它們全都是vc11。 我是一個完全的業余愛好者,因此非常感謝您的幫助。

我假設您已經為OpenCV庫設置了Path

打開解決方案的“ 屬性”頁面

配置管理器中選擇發布配置

單擊鏈接器,然后選擇輸入

編輯其他依賴項

添加以下內容:

opencv_ts300.lib

opencv_world300.lib

單擊確定,然后單擊應用並運行代碼。 它應該工作。

在此處輸入圖片說明

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM