简体   繁体   English

我收到异常jniopencv_core.dll:尝试Sikuli Java API测试示例时找不到依赖库错误

[英]I'm getting Exception jniopencv_core.dll: Can't find dependent libraries error while trying Sikuli Java API test example

I want to test Sikuli Java API, to be specific http://code.google.com/p/sikuli-api/wiki/SikuliWebDriver . 我想测试Sikuli Java API,以特定于http://code.google.com/p/sikuli-api/wiki/SikuliWebDriver The dependency is added using maven, ie 使用maven添加依赖项,即

<dependency>
    <groupId>org.sikuli</groupId>
    <artifactId>sikuli-webdriver</artifactId>
    <version>1.0.1</version>

I'm using IntelliJ Idea 11 Community Edition on 64-bit Windows 7. 32-bit JDK 6 is used in project. 我在64位Windows 7上使用IntelliJ Idea 11 Community Edition。在项目中使用32位JDK 6。

I tried to use maven dependencies out of box as it described on the project site (still remembering, that there should be some native .dll installation, which doesn't occure when we use maven depencdencies only). 我试图按照项目站点上描述的方法使用开箱即用的Maven依赖项(仍然记住,应该有一些本机.dll安装,仅在使用Maven依赖时才不会发生)。 In runtime I've get Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\\Users\\User\\AppData\\Local\\Temp\\javacpp26205597583997\\jniopencv_core.dll: Can't find dependent libraries 在运行时,我在线程“主”中获取了异常java.lang.UnsatisfiedLinkError:C:\\ Users \\ User \\ AppData \\ Local \\ Temp \\ javacpp26205597583997 \\ jniopencv_core.dll:找不到依赖的库

Then I downloaded sikuli-r930-win32, installed it to C:\\SikuliX. 然后,我下载了sikuli-r930-win32,并将其安装到C:\\ SikuliX。 then added SIKULI_HOME system variable, setting path to C:\\SikuliX. 然后添加SIKULI_HOME系统变量,将路径设置为C:\\ SikuliX。 But still get the same error message in runtime. 但是在运行时仍会收到相同的错误消息。

Please, help! 请帮忙! Just ideas what to check. 只是想检查什么。

It was checked with http://DependencyWalker.com that opencv_core240.dll was lost (possibly, a common Windows 7 bug). 它与检查http://DependencyWalker.com是opencv_core240.dll丢失(可能的话,一个常见的Windows 7的错误)。 After it was downloaded from https://code.google.com/p/myrobotlab/source/browse/trunk/myrobotlab/thirdParty/repo/net.sourceforge.opencv/opencv/2.4.0/x86.64.windows/opencv_core240.dll?r=711 and placed to C:\\SikuliX\\libs\\ together with other .dlls, the problem was solved. https://code.google.com/p/myrobotlab/source/browse/trunk/myrobotlab/thirdParty/repo/net.sourceforge.opencv/opencv/2.4.0/x86.64.windows/opencv_core240下载后.dll?r = 711并与其他.dll一起放置到C:\\ SikuliX \\ libs \\中,此问题已解决。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 jniopencv_objdetect.dll:找不到依赖库 - jniopencv_objdetect.dll: Can't find dependent libraries Sikuli Windows 7 64位:获取VisionProxy.dll:找不到依赖的库 - Sikuli Windows 7 64 bit : Getting the VisionProxy.dll: Can not find dependent libraries 异常mtcokus.dll:找不到依赖的库 - Exception mtcokus.dll: Can't find dependent libraries 尝试安装jpl库时出错。 jpl.dll:找不到依赖库 - Error trying to install jpl library. jpl.dll: Can't find dependent libraries Java 代码找不到 nlsxbe.dll 的依赖库 - Java code Can't find dependent libraries for nlsxbe.dll Java:util_USBUIRT.dll:找不到依赖库 - Java: util_USBUIRT.dll: Can't find dependent libraries UnsatisfiedLinkError:C:\\ Program Files(x86)\\ Sikuli X \\ libs \\ VisionProxy.dll:找不到依赖的库 - UnsatisfiedLinkError: C:\Program Files (x86)\Sikuli X\libs\VisionProxy.dll: Can't find dependent libraries Cassandra - 启动时遇到异常(java.lang.UnsatisfiedLinkError):找不到依赖库(jna626409071981896679.dll) - Cassandra - Exception (java.lang.UnsatisfiedLinkError) encountered during startup: Can't find dependent libraries( jna626409071981896679.dll) IntelliJ java.lang.UnsatisfiedLinkError:C:\\ User \\…\\ java_bridge.dll:找不到依赖库 - IntelliJ java.lang.UnsatisfiedLinkError: C:\User\…\java_bridge.dll: Can't find dependent libraries 使用不带ide的sikuli-script jar。找不到依赖库 - Use sikuli-script jar without ide .Can't find dependent libraries
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM