Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving stacktrace for AutomationExecutorExceptionTest #36

Open
jguglielmi opened this issue Sep 4, 2014 · 3 comments
Open

Receiving stacktrace for AutomationExecutorExceptionTest #36

jguglielmi opened this issue Sep 4, 2014 · 3 comments

Comments

@jguglielmi
Copy link

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

@jguglielmi
Copy link
Author

OpenCV version 2.4.9

@doubleshow
Copy link
Member

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.

@jguglielmi
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants