我在運行visual studio時遇到了一些麻煩。我從本教程OpenCV 3 Windows 10 Installation Tutorial - Part 1 - C++一步一步地按照說明操作,但仍遇到問題。 我收到一個OpenCV.exe - 系統錯誤,提示: 程序無法啓動,因爲您的計算機缺少opencv_world320.dll。嘗試重新安裝程序來解決這個問題。 我在命令提示符下檢查了PATH,出現C:\ OpenCV.3.2.0 \ opencv \ build \ x64 \ vc14 \ bin。 我在輸出中獲得以下內容:'OpenCV.exe' (Win32): Loaded 'C:\Users\tenicho\Documents\Visual Studio 2017\Projects\OpenCV\x64\Debug\OpenCV.exe'. Symbols loaded. 'OpenCV.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file. 'OpenCV.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file. 'OpenCV.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file. 'OpenCV.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Cannot find or open the PDB file. 'OpenCV.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Cannot find or open the PDB file. 'OpenCV.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Cannot find or open the PDB file. The thread 0x2798 has exited with code -1073741515 (0xc0000135). The thread 0x182c has exited with code -1073741515 (0xc0000135). The thread 0x13f0 has exited with code -1073741515 (0xc0000135). The program '[9604] OpenCV.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
OpenCV.exe - 系統錯誤
以下是路徑導向的文件夾的圖片。你可以看到.dll文件在那裏。 enter image description here
任何人有這個問題?
預先感謝您!
歡迎來到Stack Overflow。請花些時間閱讀[The Tour](http://stackoverflow.com/tour),並參閱[幫助中心](http://stackoverflow.com/help/asking)中的資料,瞭解您可以在這裏問。 –
你的應用程序是32位的嗎?奇怪的是,似乎這個DLL只存在於我的64位bin文件夾中。 –
我不太確定。我會假設它應該是64,但在下面的鏈接上只有一個用於Windows下載的opencv。 http://opencv.org/releases.html我以前沒有見過這個問題。 – tenichols