stereolabs / zed-matlab

ZED SDK interface sample for Matlab

Home Page:https://www.stereolabs.com/docs/matlab/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Found OpenCV Windows Pack but it has no binaries compatible with your configuration.

changh95 opened this issue · comments

Hi all,

Currently using ZED SDK v2.8.2, MATLAB R2019a, VS2017, and x64 platform.
I got the MATLAB_ROOT part sorted, then this error appears.


`MATLAB_ROOT: C:\Program Files\MATLAB\R2019a
Matlab libraries will be used
MATLAB Found, MATLAB MEX will be compiled.
Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 (found suitable version "10.0", minimum required is "10")
OpenCV ARCH: x64
OpenCV RUNTIME:
OpenCV STATIC: ON
CMake Warning at C:/Program Files (x86)/ZED SDK/dependencies/opencv_3.1.0/OpenCVConfig.cmake:166 (message):
Found OpenCV Windows Pack but it has no binaries compatible with your
configuration.

You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library.
Call Stack (most recent call first):
CMakeLists.txt:23 (find_package)

CMake Error at CMakeLists.txt:23 (find_package):
Found package configuration file:

C:/Program Files (x86)/ZED SDK/dependencies/opencv_3.1.0/OpenCVConfig.cmake

but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.

Configuring incomplete, errors occurred!
See also "C:/Users/VIRNECT/Desktop/V_CORE/zed-matlab/CMakeFiles/CMakeOutput.log".`


What would it mean for my configuration? Will it be MATLAB? Visual Studio? OpenCV version? Maybe the SDK version is not yet compatiable with MATLAB?

The OpenCV in the ZED SDK is only compatiable with VS2015.
This suspection comes from spotting 'vc14', which represents Visual Studio 2015 from the directory 'C:\Program Files (x86)\ZED SDK\dependencies\opencv_3.1.0\x64'.

Gonna test with VS2015 and will update.

Solved - Using VS2015 has no problem after setting MATLAB_ROOT.