After having worked some weeks with OpenCv, today I launched behave app and got this nice error:
"Bus error: 10"
Similarly, when you try to import your opencv python lib:
Luiss-iMac:~ Luis$ python2.7-32
Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv
Bus error: 10
What has changed??: Update in Xcode yesterday, most likely.
So, for a mac OS X 10.8.5 (12F45), how to fix?
No clue, investigating…
EDIT:
The solution to this was not to reinstall opencv as this later post said.
The problem was that I had forgotten to set DYLD_LIBRARY_PATH in my .bash_profile, so the next time I tried to import cv o cv2, it went to another version of cv that I had installed before.
You can find how to do that in this post.
No clue, investigating…
EDIT:
The solution to this was not to reinstall opencv as this later post said.
The problem was that I had forgotten to set DYLD_LIBRARY_PATH in my .bash_profile, so the next time I tried to import cv o cv2, it went to another version of cv that I had installed before.
You can find how to do that in this post.