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

Failed to run on windows and linux #2

Open
lssol opened this issue Jan 20, 2020 · 0 comments
Open

Failed to run on windows and linux #2

lssol opened this issue Jan 20, 2020 · 0 comments

Comments

@lssol
Copy link

lssol commented Jan 20, 2020

Hi,

I have both windows and linux installed on my machine, I installed opencv for java on both OSs following the instructions on this page: https://opencv-java-tutorials.readthedocs.io/en/latest/

I get the following error when trying to execute the test "testOpenCVWorks":

On windows

nu.pattern.OpenCV$UnsupportedPlatformException: Operating system "WINDOWS" and architecture "X86_64" are not supported.

On linux (WSL)

java.lang.NoClassDefFoundError: Could not initialize class nu.pattern.OpenCV$SharedLoader$Holder

Could you maybe give instructions to compile and run the project on Linux?

Thank you.

@lssol lssol changed the title Failed to compile on windows and linux Failed to run on windows and linux Jan 20, 2020
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

1 participant