Windows 10 versions N and KN: opencv_java430.dll library error having MSVC++ Redistributables installed --- Media Feature Pack missing

Asked by Tom Hinds

------------------------- solution (thanks Tom Hinds):

"The Media Feature Pack for N versions of Windows 10 is available for
download as an Optional Feature. To install the Media Feature Pack,
navigate to Settings > Apps > Apps and Features > Optional Features >
Add a Feature and find the Media Feature Pack in the list of available
Optional Features. Note, you will not be prompted to restart your
computer, but you must restart in order to successfully complete
installation of the Media Feature Pack. "

------------------------------------------------------------------------------

Hi Friends,

I've had to switch to a different workstation for a bit and I updated that workstation to Sikuli 2.0.5. When my scripts try to do a command using image recognition, the script stops with an error.

    [error] RunTime:loadLib: opencv_java430.dll (failed) probably dependent libs missing:
    C:\Users\thinds\AppData\Roaming\Sikulix\SikulixLibs\opencv_java430.dll: Can't find dependent libraries

I'm running Windows 10 20H2

Control Panel shows that I have Java x86_64 1.8.0_301 installed and enabled.

Windows Apps and Features shows that I have several MSVC++ Redistributables installed:
- Microsoft Visual C++ 2015-2019 (x64) 14.29.30040
- Microsoft Visual C++ 2013 (x64) 12.0.40660.0
- Microsoft Visual C++ 2008 (x64) 9.0.30729.6161
- Microsoft Visual C++ 2008 (x64) 9.0.30729.4148
- Microsoft Visual C++ 2005 (x64) 8.0.61000

There are some older Sikuli files in \AppData\Roaming\Sikulix, I'm not sure if something needs to be cleaned up there, but opencv_java430.dll is in \AppData\Roaming\Sikulix\SikulixLibs and that folder is in my Environmental path.

I'm not sure if there are supposed to be additional libraries for opencv_java430.dll somewhere. I'm not sure where to check.

What else should I be checking for?

Thanks for any help you can provide.
- Tom

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Hinds
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1
Revision history for this message
Tom Hinds (thinds66) said :
#2

I followed the link you provided, which jumped to another couple pages.

Here is the important bit:

"The Media Feature Pack for N versions of Windows 10 is available for download as an Optional Feature. To install the Media Feature Pack, navigate to Settings > Apps > Apps and Features > Optional Features > Add a Feature and find the Media Feature Pack in the list of available Optional Features. Note, you will not be prompted to restart your computer, but you must restart in order to successfully complete installation of the Media Feature Pack. "

It worked. I appreciate your help. I wouldn't have figured this out myself.
Thank you.

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

Thanks for feedback.

I have augmented this question and will add it in other prominent places.