About issus

Results 4 comments of About issus

About the "lib_app", when i run the build.sh, have a issus: usr/bin/ld: 当搜索用于 /home/lib_app/tflib/lib/libtensorflow-lite.so 时跳过不兼容的 -ltensorflow-lite /usr/bin/ld: 当搜索用于 /home/lib_app/tflib/lib/libtensorflow-lite.a 时跳过不兼容的 -ltensorflow-lite /usr/bin/ld: 找不到 -ltensorflow-lite Thanks

是否是在纯c环境下无法运行ncnn

我将src的cmakelists修改成: if(NCNN_TARGET_ARCH STREQUAL "riscv") target_compile_options(ncnn PRIVATE -march=rv32imafdcpzpsfoperand_xtheade -mabi=ilp32d -mcmodel=medlow -g2 -Os -DSHL_BUILD_REF -DSHL_BUILD_GREF -DSHL_BUILD_E907 -DSHL_BUILD_RTOS) endif() 是可以得到elf32了,但是会出现错误: [100%] Linking CXX executable benchncnn /home/Xuantie-900-gcc-elf-newlib-x86_64-V2.0.5/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: ../src/libncnn.a(allocator.cpp.obj): ABI is incompatible with that of...

如果注释掉 add_subdirectory(benchmark)没报错,但是得到的库文件会特别大,30+M