Home > OS >  Linux compiled first opencv transplanted to make produce the error in the development board
Linux compiled first opencv transplanted to make produce the error in the development board

Time:10-22




Cc1: warning: include the location "/usr/include" is unsafe for cross - compilation [- Wpoison - system - directories]
In the file included the from/usr/include/math. H: 472:0,
The from/home/qlqcetc opencv/3 rdparty/libpng/pngpriv. H: 335,
The from/home/qlqcetc opencv/3 rdparty/libpng/PNG. C: 14:
/home/qlqcetc opencv/3 rdparty/libpng/PNG. C: in function 'png_build_16bit_table:
The/usr/include/bits/mathinline. H: 746:1: error: 'asm' impossible constraints in
__inline_mathcodeNP (floor, __x \
^
/home/qlqcetc opencv/3 rdparty/libpng/PNG. C: at file scope:
Cc1: warning: unable to identify the command line options "- Wno - unnamed - type - the template - the args" (enabled by default)
3 rdparty/libpng/CMakeFiles/libpng. Dir/build make: 254: a recipe for target '3 rdparty/libpng/CMakeFiles/libpng. Dir/PNG c.o bj' failed
Make [2], [* * * 3 rdparty/libpng/CMakeFiles/libpng. Dir/PNG c.o bj] Error 1
CMakeFiles/Makefile2:369: the recipe for target '3 rdparty/libpng/CMakeFiles/libpng. Dir/all' failed
Make [1], [* * * 3 rdparty/libpng/CMakeFiles/libpng. Dir/all] Error 2
The Makefile: 149: the recipe for target 'all' failed
Make: * * * [all] Error 2
  • Related