sagarpabba / sikuli-api

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

maven / sbt dependency resolution #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.clone this revision of this project 
https://bitbucket.org/kpratt/scakuli/commits/489c47e50c748c4bd13a34433d406b8611f
e4f03
2.Try and run "sbt test"
3.Profit

What is the expected output? What do you see instead?
The test will try and start chrome from the windows task bar

What version of the product are you using? On what operating system?
maven / sbt 1.0.2 on windows

Please provide any additional information below.
javacpp failes to resolve as a dependency

In project 
https://bitbucket.org/kpratt/scakuli/src/489c47e50c748c4bd13a34433d406b8611fe4f0
3/project/Build.scala

[error] ThrowableException: com/googlecode/javacpp/Pointer 
(TemplateMatcher.java:18)
[error] 
org.sikuli.core.search.algorithm.TemplateMatcher.findMatchesByGrayscaleAtOrigina
lResolution(TemplateMatcher.java:18)
[error] org.sikuli.api.ImageTarget.getUnordredMatches(ImageTarget.java:116)
[error] org.sikuli.api.DefaultTarget.doFindAll(DefaultTarget.java:93)
[error] org.sikuli.api.DefaultScreenRegion.findAll(DefaultScreenRegion.java:133)
[error] 
org.sikuli.core.search.algorithm.TemplateMatcher.findMatchesByGrayscaleAtOrigina
lResolution(TemplateMatcher.java:18)
[error] org.sikuli.api.ImageTarget.getUnordredMatches(ImageTarget.java:116)
[error] org.sikuli.api.DefaultTarget.doFindAll(DefaultTarget.java:93)
[error] org.sikuli.api.DefaultScreenRegion.findAll(DefaultScreenRegion.java:133)
[error] com/googlecode/javacpp/Pointer
[error] 
org.sikuli.core.search.algorithm.TemplateMatcher.findMatchesByGrayscaleAtOrigina
lResolution(TemplateMatcher.java:18)
[error] org.sikuli.api.ImageTarget.getUnordredMatches(ImageTarget.java:116)
[error] org.sikuli.api.DefaultTarget.doFindAll(DefaultTarget.java:93)
[error] org.sikuli.api.DefaultScreenRegion.findAll(DefaultScreenRegion.java:133)
[error] com.googlecode.javacpp.Pointer
[error] 
org.sikuli.core.search.algorithm.TemplateMatcher.findMatchesByGrayscaleAtOrigina
lResolution(TemplateMatcher.java:18)
[error] org.sikuli.api.ImageTarget.getUnordredMatches(ImageTarget.java:116)
[error] org.sikuli.api.DefaultTarget.doFindAll(DefaultTarget.java:93)
[error] org.sikuli.api.DefaultScreenRegion.findAll(DefaultScreenRegion.java:133)

Original issue reported on code.google.com by keyna...@gmail.com on 17 Aug 2013 at 8:10

GoogleCodeExporter commented 9 years ago
I too an updated version of the sikuli-api, which has dependencies on 
com.googlecode.java* versions that are actually supported, otherwise I cannot 
build my project with Maven. I am using version 1.1.0 of sikuli-api, which 
depends on sikuli-core 1.1.3. 

Original comment by dipu.des...@gmail.com on 3 Sep 2013 at 9:20

GoogleCodeExporter commented 9 years ago
I found solution here:
http://stackoverflow.com/questions/6784740/javacv-giving-java-lang-unsatisfiedli
nkerror

I found dlls in standalone version of Sikuli SDK and added them to my PATH 
sytem variable.

Have fun!

Original comment by vova.pri...@gmail.com on 4 Nov 2013 at 10:02