Code Monkey home page Code Monkey logo

Comments (5)

kyamagu avatar kyamagu commented on August 14, 2024

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.

yw0228 avatar yw0228 commented on August 14, 2024

Matlab2008a does not support VS2010.

from mexopencv.

kyamagu avatar kyamagu commented on August 14, 2024

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.

yw0228 avatar yw0228 commented on August 14, 2024

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.

kyamagu avatar kyamagu commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.