gajendravaradhan / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

Can't find dependent libraries AppData\Local\Temp\javacpp173971675343433\jniopencv_core.dll #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running the following code on 32 bit jvm
        DesktopCanvas canvas = new DesktopCanvas();
        ScreenRegion sr = new DesktopScreenRegion();
        Target image2 = new ImageTarget(new File("C:\\path\\to\\image\\file.png"));

       ScreenRegion fr = //sr;
        sr.find(image2);
2.
3.

What is the expected output? What do you see instead?
ImageTarget should be found

What version of the product are you using? On what operating system?
a) sikuli-api-1.0.2-standalone.jar
b) "c:\Program Files (x86)\Java\jre6\bin\java.exe" -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

3) Windows 7 professional 64 bit
4) RAM 8 gb
5) AMD Phenom II X4 B95 Processor

Please provide any additional information below.
Exception in logs:
===================
AppData\Local\Temp\javacpp173971675343433\jniopencv_core.dll: Can't find 
dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:418)
    at com.googlecode.javacpp.Loader.load(Loader.java:368)
    at com.googlecode.javacpp.Loader.load(Loader.java:315)
    at com.googlecode.javacv.cpp.opencv_core.<clinit>(opencv_core.java:131)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.googlecode.javacpp.Loader.load(Loader.java:334)
    at com.googlecode.javacpp.Loader.load(Loader.java:315)
    at com.googlecode.javacv.cpp.opencv_core$CvArr.<clinit>(opencv_core.java:158)
    at org.sikuli.core.cv.ImagePreprocessor.createGrayscale(ImagePreprocessor.java:52)
    at org.sikuli.core.search.algorithm.TemplateMatcher.findMatchesByGrayscaleAtOriginalResolution(TemplateMatcher.java:18)
    at org.sikuli.api.ImageTarget.getUnordredMatches(ImageTarget.java:122)
    at org.sikuli.api.DefaultTarget.doFindAll(DefaultTarget.java:93)
    at org.sikuli.api.DefaultScreenRegion._find(DefaultScreenRegion.java:73)
    at org.sikuli.api.DefaultScreenRegion.find(DefaultScreenRegion.java:64)
    at 

Original issue reported on code.google.com by mbdiwa...@gmail.com on 25 Jan 2013 at 12:06

GoogleCodeExporter commented 8 years ago
I am also faced similar issue in XP.

Original comment by writwiks...@gmail.com on 14 Feb 2013 at 8:07

GoogleCodeExporter commented 8 years ago
Also experienced this with Windows 7 32bit

Original comment by AndrewEF...@gmail.com on 24 Feb 2013 at 12:38

GoogleCodeExporter commented 8 years ago
To fix must be installed on your computer Microsoft Visual C + + 2010 
Redistributable 
Package(http://www.microsoft.com/en-us/download/details.aspx?id=5555)

Original comment by gusev....@gmail.com on 1 Mar 2013 at 7:12

GoogleCodeExporter commented 8 years ago
Working after installing Microsoft Visual C + + 2010 Redistributable Package

Original comment by writwiks...@gmail.com on 6 Mar 2013 at 1:26

GoogleCodeExporter commented 8 years ago
Its working as per #3, we can close this issue

Original comment by mbdiwa...@gmail.com on 21 Mar 2013 at 12:18

GoogleCodeExporter commented 8 years ago

Original comment by doubles...@gmail.com on 13 Jun 2013 at 1:15