Caused by: org.sikuli.script.SikuliXception: fatal: problem with native library: opencv_java342.dll

Asked by Selva

Os - windows 2012 R2

 I am using Sikuli 2.0.4 jar and added in classpath.
I selective boxes this is not working but works in some other boxes

Please let me know if any specific stuff is missing .

I have VS 2017
jdk 1.8
Removed - sikuli 1.0. 2 earlier installs

This issue is noted only in some of boxes of same OS and hence some update /dependency related to sikuli is missing

Please help out on this
----------
detailed error
---
[error] RunTime:loadLib: opencv_java342.dll (failed) probably dependent libs missing:
C:\Users\usernamehere\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll: Can't find dependent libraries
[error] Save your work, correct the problem and restart the IDE!
[error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4
TERMINATING: problem with native library: opencv_java342.dll

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Selva (ganapathy-selva) said :
#1

Note :
C:\Users\usernamehere\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll
this already exists and I troed to copy from working box also.
did not help

Revision history for this message
RaiMan (raimund-hocke) said :
#2

Do you have special Windows versions running, with a reduced feature set or special editions?

You need the media libraries on the system (you have to ask google)

Revision history for this message
Ville Mattila (sgroudlivon) said :
#4

I got the same issue now. @Selva, did you get this fixed and how?

Revision history for this message
Ville Mattila (sgroudlivon) said :
#5

To reply to myself:

There is a "Media Foundation" feature pack in Windows Server, that had to be installed. This seems to have fixed the problem.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

package "Media Foundation" might help