ncnn在ubuntu20.04环境下使用海思arm-himix100-linux交叉编译链编译时,出现下列错误:
[100%] Linking CXX executable benchncnn
../src/libncnn.a(unaryop.cpp.o): In function `int ncnn::unary_op_inplace<ncnn::unary_op_round>(ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.18]':
unaryop.cpp:(.text+0xf90): undefined reference to `nearbyintf'
collect2: error: ld returned 1 exit status
make[2]: *** [benchmark/CMakeFiles/benchncnn.dir/build.make:87: benchmark/benchncnn] Error 1
make[1]: *** [CMakeFiles/Makefile2:172: benchmark/CMakeFiles/benchncnn.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
请大牛给解疑
相似问题