Comments (6)
Can you try VC++ 2010 Express and see if this happens?
from mexopencv.
A minor comment, the first command executed shows: -DSECURE_SCL=1
it should be -D_SECURE_SCL=1
, are you sure it's not a typo? Also check that you have C:\opencv\build\x64\vc9\bin
on the Windows PATH (to fix the "specified module could not be found" error)
from mexopencv.
The linker error is probably due to building OpenCV as 32bit binaries. Rebuild them as 64bit and it should work fine. The error you got from using prebuilt is probably due to not setting the path environment variable to the correct OpenCV binaries as @amroamroamro mentioned.
from mexopencv.
I went through the same exercise as above using VS2010 Express and Windows SDK 7.1 and experienced exactly the same problem. It turns out that by setting _SECURE_SCL=0 in cv.make, keeping the default mexopts.bat (as generated by mex -setup), and link to the pre-compiled library in opencv\build\x64\vc10\lib, the problem is resolved. The installation I have is: 64-bit Matlab 2011b on Windows 7, OpenCV 2.4.2, Visual Studio 2010 Express and Windows SDK 7.1.
from mexopencv.
@kyamagu: I think this issue can be closed, given the recent _SECURE_SCL
fix
from mexopencv.
@amroamroamro Yes, the recent commit should have fixed this.
Please reopen if this bug happens with the latest commit.
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.