-
Notifications
You must be signed in to change notification settings - Fork 318
Incompatible library version - Invalid MEX File #56
Comments
In Mac use DYLD_INSERT_LIBRARIES instead. Check README. |
I also tried that before, sorry, should have posted that. When looking in the /usr/lib/ directory I only see the .dylibs
|
The error message is saying you're trying to load incompatible libfreetype. Probably you have no problem with libstdc++. Check that your libfreetype is compatible with your opencv and that compatible version is loaded inside matlab. If not, please upgrade your libfreetype. |
Everything has been updated. I'm trying to determine where the incompatibility is. I have found other people with the issue due to the libfreetype, just no solutions. |
If you're using macports, just port upgrade freetype. |
freetype was previously at the most recent version. Still looking into the issue. |
That is interesting. I can verify that my environment (os x 10.8.2) has no issue with libavcodec + libfreetype installed via macports 2.1.3. How did you install these software? Are you using opencv package in macports or anything else?
|
Believe I have solved the issue. I think there was a permissions issue somewhere. Finally worked with:
|
Hmm, launching matlab with root permission doesn't sound right. But sure, it seems like a permission issue. Good luck! |
Still having the issue:
I have tried opening Matlab by:
Also:
|
What would the error message say if you open matlab with this?
|
Perfect! That works. Thanks for all the help. I now have it working on both windows and mac. |
I seem to be having an issue with a library version mismatch and can't seem to find the exact source of the error. I am currently running OSX 10.8/MATLAB 2012a/OpenCV 2.4.4 and when calling cv.imread I get this output in matlab:
I'd tried:
With no luck. I've also tried:
The text was updated successfully, but these errors were encountered: