Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

How can I solve this error while making OpenCV?

$
0
0
I am trying to compile OpenCV but I get this error almost at the end of running make. [ 93%] Built target pch_Generate_opencv_videostab [ 96%] Built target opencv_videostab Linking CXX shared library ../../lib/cv2.so /usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [lib/cv2.so] 오류 1 make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] 오류 2 make: *** [all] 오류 2 OS: CentOS 6.6

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>