Open jguglielmi opened 10 years ago
OpenCV version 2.4.9
We've upgraded to a newer version of JavaCV. It now requires a parameter to be defined during MVN test to load the right binary for a particular platform. For instance,
mvn -Dtest=org.sikuli.slides.api.AutomationExecutorTest -Dplatform.dependency=macosx-x86_64 test
or for Windows 64 bits
mvn -Dtest=org.sikuli.slides.api.AutomationExecutorTest -Dplatform.dependency=windows-x86_64 test
Please try this and see if it works for you.
Would it be possible to list this in the readme file? I had to do a bit of scouring for the solution on how to setup JavaCV and OpenCV. I figured save someone else the heartburn.
The test case is not executing properly in a Windows 7 environment. After digging for a little bit, it appears that OpenCV is a pre-requiste for running these tests.
Exception in thread "Thread-60" java.lang.UnsatisfiedLinkError: no jniopencv_cor e in java.library.path