Comments (5)
VS2008 is known to have an issue with matlab mex. Use VS2010 if possible.
On Nov 29, 2012, at 3:12 PM, yw0228 [email protected] wrote:
Hi, kyamagu
I rebuilded opencv 2.4.3 with VS2008, set system path as C:\opencv\build\x86\vc9\bin and used matlab 2008a to compile mexopencv, but my matlab crashed. What's wrong?
Thanks.
Wu—
Reply to this email directly or view it on GitHub.
from mexopencv.
Matlab2008a does not support VS2010.
from mexopencv.
Nobody ever reported success with VS2008 + OpenCV 2.4.3 + Matlab. I don't have any clue of what's wrong with VS2008, but try building OpenCV from source with VS2008 and use that binary for mex.
On Nov 29, 2012, at 3:26 PM, yw0228 [email protected] wrote:
Matlab2008a does not support VS2010.
—
Reply to this email directly or view it on GitHub.
from mexopencv.
I rebuilt OpenCV from source with VS2008 and copy the *.dll and *.lib files into C:\opencv\build\x86\vc9\bin
and C:\opencv\build\x86\vc9\lib
folder, but the matlab still crashed because of segmentation violation and the crash happened when matlab tried to compile VideoCapture
function.
from mexopencv.
This is gonna be a hard debug. I would recommend you obtain a newer version of Matlab.
But if it's not possible, try debugging by start making a small C++ mex function that uses stdc++, linking some opencv function, etc. Also check Matlab documentation of your version of how to debug mex function in your environment.
Kota
On Nov 29, 2012, at 4:21 PM, yw0228 [email protected] wrote:
I rebuilt OpenCV from source with VS2008 and copy the *.dll and *.lib files into C:\opencv\build\x86\vc9\bin and C:\opencv\build\x86\vc9\lib folder, but the matlab still crashed because of segmentation violation and the crash happened when matlab tried to compile VideoCapture function.
—
Reply to this email directly or view it on GitHub.
from mexopencv.
Related Issues (20)
- Mexopencv using MatLab Runtime
- Using homebrew to install OpenCV==3.4.1
- windows opencv3.4.1 cmake
- Setting up mexopencv for matlab 2018b HOT 2
- No output from cv.getBuildInformation() in Octave 5.1.0
- maybe bug about the queryIdx and trainIdx
- ld: symbol(s) not found for architecture x86_64
- Invalid MEX-file : Missing dependent shared libraries
- [error 3] gcc >= 4.4 g++ >= 4.4 is installed
- v3.2.0 and xfeatures2d HOT 1
- mexopencv not compiling HOT 2
- error in setup opencv and mexopencv
- how Mac to mexopencv HOT 1
- [lib/mexopencv_features2d.o] Error 255 HOT 1
- MxArray::toMoments out of order arguments to cv::Moments
- Consider leveraging MATLAB in your CI
- MATLAB Error: Unrecognized function or variable 'FeaturesFinder_'.
- why can't I use the 'cv.detectMarkers' function???
- Hi all, I have a big problem when I am using matlab R2021a to builed mexopencv. HOT 1
- mexopencv building error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mexopencv.