簡體   English   中英

無法在Visual Studio 2010中加載dll文件

[英]Cannot load dll file in Visual studio 2010

我正在使用FLANN代碼制作項目。 首先,我使用cmake構建FLANN代碼,並且我有一個包含lib文件和成功lib文件的文件夾。 之后,我創建一個項目並為我的代碼鏈接配置:

Additional include Directories :  <path to include file>
Additional Library Directories : <path to lib file>
Additional Dependencies: flann.lib 

我成功構建,但是運行時,visual已通知:該程序無法啟動,因為您的計算機缺少flann.dll。

'FLANN_Test2.exe': Loaded 'D:\Computer Vision\FLANN_Test2\Debug\FLANN_Test2.exe', Symbols loaded.
'FLANN_Test2.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'FLANN_Test2.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'FLANN_Test2.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
The program '[7092] FLANN_Test2.exe: Native' has exited with code -1073741515 (0xc0000135).

發生什么事了? 你能幫我編輯嗎? 我正在使用win 32和visual 32位。

將flann.dll放在Windows目錄中或您的exe文件所在的位置

暫無
暫無

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

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