Error using mex Unable to complete successfully
Afficher commentaires plus anciens
I am using Matlab 2013a, MS visual studio 2010, and opencv 2.4.8 I had my mex setup, updated my batch file but still getting this error when I tried to run any cpp code that uses opencv libraries through matlab:
fatal error C1083: Cannot open include file: 'opencv/cv.h': Invalid argument
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Compile of 'first.cpp' failed.
Error using mex (line 206)
Unable to complete successfully.
Although I can see the cv.h within the dir:
>> dir
. Include cv.h highgui.h opencv
.. bin first.cpp lib
Can anyone gives any suggestions to solve this problem please?
1 commentaire
Walter Roberson
le 21 Fév 2014
But is there an opencv/cv.h ?
What happens if you copy cv.h into opencv/ ?
Réponses (0)
Catégories
En savoir plus sur Computer Vision Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!