UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
2,309 Views
Registered: ‎03-14-2012

Error occured when I try to build opencv in sdk2016.04

 

Hi all,

 

 Here is my all system environment, 

   Ubuntu16.04 or Centos7, SDK2016.04, opencv3.2.0, cmake3.8.0

 

 There is a attachment which is configurtion in cmake gui.

 

 The error message in terminal is as below,

 

imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.obj
[ 44%] Linking CXX shared library ../../lib/libopencv_imgcodecs.so
/opt/Xilinx/SDK/2016.4/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/5.2.1/../../../../aarch64-linux-gnu/bin/ld: ../../3rdparty/lib/libIlmImf.a(ImfHeader.cpp.obj)(.text._ZNK3Imf6Header7writeToERNS_7OStreamEb+0x3a8): 无法解决 R_AARCH64_ADR_PREL_PG_HI21 重定向于符号 “_ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE@@GLIBCXX_3.4.21” 有冲突
/opt/Xilinx/SDK/2016.4/gnu/aarch64/lin/aarch64-linux/bin/../lib/gcc/aarch64-linux-gnu/5.2.1/../../../../aarch64-linux-gnu/bin/ld: final link failed
collect2: error: ld returned 1 exit status
modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/build.make:572: recipe for target 'lib/libopencv_imgcodecs.so' failed
make[2]: *** [lib/libopencv_imgcodecs.so] Error 1
CMakeFiles/Makefile2:2328: recipe for target 'modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all' failed
make[1]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

 

 

 

 

 

 

 

 

 

 

 

errorpic.png
0 Kudos