You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Sorry to set up this issue again, but the solution from ( Invalid Mex file. #58 ) is not working for me...
I followed the steps shown in Surya's youtube tutorial and get everything so far. After running "mexopencv.make" without any errors, and adding the path AND restarting matlab, i try to start the facedetect example (also other examples, or even cv.help) running but matlab gets always an error. For the facedetect example:
Invalid MEX-file 'C:\Program Files\opencv\mexopencv-master+cv\private\CascadeClassifier_.mexw64': Das angegebene Modul wurde nicht gefunden.
(in english: specified module could not be found)
If i look into the given path i CAN find the CascadeClassifier_.mexw64 file...
I am using: MATLAB R2012b (x64), Visual Studio 2010 Express (x64) with Microsoft Software Development Kit (SDK) 7.1 as compiler, openCV 2.4.9.
In the path "C:\Program Files\opencv" there is my opencv folder with build\x64\vc10 subfolders and the sources subfolder. AND there is also my mexopencv-master folder with +cv and +mexopencv subfolder.
you also need to add the folder with the OpenCV DLL files to the system's PATH environment variable (that would be C:\Program Files\opencv\opencv\build\x64\vc10\bin in your case).
You could do this from inside MATLAB, but the change will only last for the current session:
i am using BCILAB on MATLAB 2015b. I am getting an error regarding Mex File. please help me. I don't know about Mex file. I am very new to these things. please help me and tell me step by step
Sorry to set up this issue again, but the solution from ( Invalid Mex file. #58 ) is not working for me...
I followed the steps shown in Surya's youtube tutorial and get everything so far. After running "mexopencv.make" without any errors, and adding the path AND restarting matlab, i try to start the facedetect example (also other examples, or even cv.help) running but matlab gets always an error. For the facedetect example:
(in english: specified module could not be found)
If i look into the given path i CAN find the CascadeClassifier_.mexw64 file...
I am using: MATLAB R2012b (x64), Visual Studio 2010 Express (x64) with Microsoft Software Development Kit (SDK) 7.1 as compiler, openCV 2.4.9.
In the path "C:\Program Files\opencv" there is my opencv folder with build\x64\vc10 subfolders and the sources subfolder. AND there is also my mexopencv-master folder with +cv and +mexopencv subfolder.
I changed the paths in the make.m file:
I also tried to edit the
mexopts
regarding the secure-flag which is originally set toD_SECURE_SCL=0
without any effect.Many thanks. Greetings,
Philip
The text was updated successfully, but these errors were encountered: