ncnn cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/himix200.toolchain.cmake ..

at0kjp5o  于 2022-10-22  发布在  其他
关注(0)|答案(1)|浏览(283)

ubuntu16.04
编译 cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/himix200.toolchain.cmake ..
出错
错误日志:
/opt/hisi-linux/x86-arm/arm-himix200-linux/bin/arm-himix200-linux-gcc -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/ubuntu/miniconda2/envs/tensorflow/lib -Wl,-rpath-link,/home/ubuntu/miniconda2/envs/tensorflow/lib -L/home/ubuntu/miniconda2/envs/tensorflow/lib -rdynamic CMakeFiles/cmTC_aca49.dir/testCCompiler.c.o -o cmTC_aca49
/home/ubuntu/miniconda2/envs/tensorflow/lib/libgcc_s.so.1: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_aca49.dir/build.make:97: recipe for target 'cmTC_aca49' failed
make[1]:***[cmTC_aca49] Error 1
make[1]: Leaving directory '/mnt/work4/ncnn/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_aca49/fast' failed
make:***[cmTC_aca49/fast] Error 2

相关问题