Ask Your Question

Revision history [back]

How do you get OpenCV 3.0 to install cv2.so during make install?

I recently built OpenCV 3.0 from source and installed it to my Ubuntu 14.04 system.

I double checked that various options were set using ccmake dir with CMakeLists.txt, including BUILD_opencv_python2=ON. However, after doing make and make install, cv2.so was not copied to e.g. /usr/local/lib/python2.7/site-packages. Instead I needed to manually copy it myself from lib/cv2.so in order for import cv2 to work within a python program.

Is this the right behavior?