0
我正在使用FLANN代碼來製作項目。首先,我使用cmake構建FLANN代碼,並且我有一個文件夾lib包含dll文件和lib文件(成功)。在那之後, 我做一個項目,並鏈接配置爲我的代碼:無法加載Visual Studio 2010中的dll文件
Additional include Directories : <path to include file>
Additional Library Directories : <path to lib file>
Additional Dependencies: flann.lib
我成功打造但是當我運行它,視覺有通知: 程序無法啓動,因爲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在哪裏?它在路上嗎? – user93353
這是lib文件夾中的文件。 – user2400643
您是否嘗試在調試模式下運行?你可以去'Debug'>'無需調試就開始「,並讓我知道結果。 –