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

OpenCV compile error

$
0
0
On Compiling opencv 2.4.11 on the ubuntu 14.04, I received the following error: - Linking CXX shared library ../../lib/libopencv_core.so /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libm.so when searching for -lm /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libm.a(s_sin.o): relocation R_X86_64_32S against `__sincostab' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libm.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: *** [lib/libopencv_core.so.2.4.11] Error 1 make[1]: * [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: * [all] Error 2 It just stops at 21% and shows the error.![image description](/upfiles/1443104128396606.png) Can anyone tell me what can be done??

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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