Closed caron-lee closed 8 years ago
opencv 2.4.11 and opencv 3.0 both tried, but failed.
gdb python2.7 core.xxxx , bt information: 0 0x00000039e4632625 in raise () from /lib64/libc.so.6
$ python2.7 Python 2.7.8 (default, Nov 14 2015, 21:59:15) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import cv2
import opencv alone is ok.
$ python2.7 Python 2.7.8 (default, Nov 14 2015, 21:59:15) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import cv2 import mxnet
import opencv first is ok. The order matters.
Both order works for me. Could you update to newest mxnet and rebuild?
I fixed the problem. I changed compile option of OpenCV from BUILD_SHARED_LIBS=OFF to BUILD_SHARED_LIBS=ON. that's all.