Skip to main content

Thread: Installing OpenCV 2.4 python support make error


hi! i'm trying install opencv 2.4 python support. @ first forgot install numpy search , came clear.

installed numpy when tried run make in opencv again, gave me errors. i'm tired of searching no success, please i'll appreciate help.

[ 95%] building cxx object modules/python/cmakefiles/opencv_python.dir/src2/cv2.cpp.o
in file included /home/nock/documents/opencv-2.4.0/modules/python/src2/cv2.cv.hpp:3842:0,
/home/nock/documents/opencv-2.4.0/modules/python/src2/cv2.cpp:993:
/home/nock/documents/opencv-2.4.0/release/modules/python/generated0.i: in function ‘pyobject* pycvdrawchessboardcorners(pyobject*, pyobject*)’:
/home/nock/documents/opencv-2.4.0/release/modules/python/generated0.i:2387:1: warning: cast pointer integer of different size [-wint-to-pointer-cast]
in file included /home/nock/documents/opencv-2.4.0/modules/python/src2/cv2.cv.hpp:3842:0,
/home/nock/documents/opencv-2.4.0/modules/python/src2/cv2.cpp:993:
/home/nock/documents/opencv-2.4.0/release/modules/python/generated0.i: in function ‘pyobject* pycvsnakeimage(pyobject*, pyobject*, pyobject*)’:
/home/nock/documents/opencv-2.4.0/release/modules/python/generated0.i:6440:3: warning: cast pointer integer of different size [-wint-to-pointer-cast]
linking cxx shared library ../../lib/cv2.so
/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation r_x86_64_32s against `_py_notimplementedstruct' can not used when making shared object; recompile -fpic
/usr/local/lib/libpython2.7.a: not read symbols: bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/cv2.so] error 1
make[1]: *** [modules/python/cmakefiles/opencv_python.dir/all] error 2
make: *** [all] error 2

i'm using ubuntu 11.10 64 bits , python 2.7,

cheers,

nock



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Installing OpenCV 2.4 python support make error


Ubuntu

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands