how can i setup open cv in matlab 2014 a when getting these errors?
Show older comments
I'm using Windows 7 (64bit) with Matlab R2014a and I'm trying to use OpenCV 3.1.0 functions in Matlab.
I first did mex -setup, then I chose the compiler 'Microsoft Windows SDK 7.1 (C++)' (detected by Matlab after patching it), added mexopencv folder and subfolders to path and finally run mexopencv.make.
the following error appears:
Error using mexopencv.make>pkg_config (line 316)
OpenCV library path not found: C:\opencv\build\x64\vc10\lib
Error in mexopencv.make>mex_options (line 256)
[cv_cflags, cv_libs] = pkg_config(opts);
Error in mexopencv.make (line 81)
mex_flags = mex_options(opts);
I also tried with OpenCV 2.9.0 but the error remains same
My OpenCV folder contain following folders in the C:\opencv\build\x64
vc12
vc14
Please help me
thanks
4 Comments
Walter Roberson
on 24 Jun 2017
Which interface package are you using? I see several in the File Exchange, some of which are R2014b or later, some of which are R2010b
ANKIT DADHICH
on 27 Jun 2017
Walter Roberson
on 27 Jun 2017
Did you create you own .h file and try to use loadlibrary() ? Did you download someone's mex routines to use as the interface to OpenCV ? The official Mathworks OpenCV interface was not available in R2014a so it is not possible for you to be using that. Are you using one of the File Exchange contributions?
ANKIT DADHICH
on 5 Jul 2017
Answers (0)
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!