Closed NNUCJ closed 1 year ago
Hi @NNUCJ
It looks like scons cannot find the static library to link the binary.
Can you please remove the -static
suffix and try to link against the .so
? you should only need -L./build/ -llibarm_compute
to build the example
Hi @NNUCJ
It looks like scons cannot find the static library to link the binary.
Can you please remove the
-static
suffix and try to link against the.so
? you should only need-L./build/ -llibarm_compute
to build the example I have solved this problem, When compiling the so library, neon=1 was not set.
Hey: @morgolock OS: Ubuntu20.04 compile_toosl: aarch64-linux-gnu-g++ -v
Compile command: aarch64-linux-gnu-g++ examples/neon_cnn.cpp utils/Utils.cpp -Wall -I. -Iinclude -std=c++14 -larm_compute-static -larm_compute_core-static -Lbuild -L. build/libarm_compute-static.a build/libarm_compute_core-static.a -o neon_cnn
Error: