Comments (4)
Use LD_PRELOAD instead.
On Feb 21, 2013, at 12:11, Peugas [email protected] wrote:
I'm having this error while using cv.findChessboardCorners:
Error using cv.findChessboardCorners
Invalid MEX-file
'/home/tiago/Documents/MATLAB/mexopencv/+cv/findChessboardCorners.mexa64':
/usr/local/MATLAB/R2012b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6:
version `GLIBCXX_3.4.15' not found (required by
usr/local/lib/libopencv_calib3d.so.2.4)
I've tried to run matlab as:
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 matlab
but I got the same result...
I'm able to use some other mexopencv functions but not this one.
I'm on Ubuntu 12.04 LTS and running MATLAB r2012b
β
Reply to this email directly or view it on
GitHubhttps://github.com//issues/45.
from mexopencv.
It worked!
Thanks a lot.
If anyone have this problem and using LD_PRELOAD worked as well, it may be useful to change the matlab shortcut (matlab.desktop) adding a line like:
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
if you don't know where is libstdc++.so.6, just write on the terminal:
locate libstdc++.so.6
from mexopencv.
You can also link to the correct libstdc++ library and replace the one in Matlab's installation directory.
from mexopencv.
and I also has use:
sudo ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 /usr/local/MATLAB/R2011a/bin/glnxa64/libstdc++.so.6
than solve the problem, but unfortunately, when I running run_cifar10, it running toοΌ
Preparing /examples/cvprw15-cifar10/dataset/test/4590.jpg
Warning: Problems with file
> In prepare_batch>(parfor body) at 39
In parallel_function at 472
In prepare_batch at 21
In matcaffe_batch_feat at 55
In run_cifar10 at 41
Elapsed time is 0.196153 seconds.
an unexpectation error happened: Matlab has encountered an internal problem and need to close
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
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.