我正在使用OpenCV 版本opencv_java400-x64.dll提供的。它在我的系统上运行良好 ( )。在其他用户的系统(通常)上,其中一些无法加载并收到错误Windows 10 ProWindows 7DLLjava.lang.UnsatisfiedLinkError: C:\...path...\opencv_java400-x64.dll: Can't find dependent libraries.
由于错误消息没有提供具体细节,我想知道DLL实际上缺少哪些,所以我可以提供/安装它们。使用 Visual Studio 命令提示工具时,我得到以下输出:
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.8.3
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise>dumpbin /dependents "C:\...path...\opencv_java400-x64.dll"
Microsoft (R) COFF/PE Dumper Version 14.15.26726.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file C:\...path...\opencv_java400-x64.dll
File Type: DLL
Image has the following dependencies:
MSVFW32.dll
AVIFIL32.dll
AVICAP32.dll
ole32.dll
KERNEL32.dll
USER32.dll
OLEAUT32.dll
MFPlat.DLL
MF.dll
MFReadWrite.dll
d3d11.dll
api-ms-win-downlevel-shlwapi-l1-1-0.dll
Summary
F6000 .data
1000 .gfids
DF000 .pdata
819000 .rdata
18000 .reloc
1000 .rsrc
21C8000 .text
1000 .tls
25B000 IPPCODE
B000 IPPDATA
15000 _RDATA
DLL列出了依赖项,但我仍然不知道哪些可能丢失。我意识到Visual C++在某些情况下安装可以解决这个问题,但不是全部。OpenCV谷歌上的具体搜索结果并不清楚解决这个问题(例如这也不起作用)。DLL在任何基于 Windows 的操作系统上进行此特定工作的正确方法是什么?
潇潇雨雨
相关分类