Error on building Optimization tool
supporto-wifiproject opened this issue · 4 comments
According to your guide I modified Paddle-Lite/lite/tools/build_linux.sh
file.
But when I build it with ./lite/tools/build_linux.sh --arch=armv8 --with_extra=ON --with_cv=ON build_optimize_tool
I got this error:
[90%] Building CXX object lite/kernels/CMakeFiles/kernels.dir/__/__/all_kernel_faked_dir/yolo_box_kXPU_kFloat_kNCHW_def_class.cc.o
[ 90%] Linking CXX static library libkernels.a
[ 90%] Built target kernels
make[1]: *** [CMakeFiles/Makefile2:1605: lite/api/CMakeFiles/opt.dir/rule] Error 2
make: *** [Makefile:436: opt] Error 2
How can I fix this?
Thanks in advance
The GNU error is too general to suggest the course. It can be almost anything.
Have to say we didn't experience any issues during the build.
Fortunately, the models provide can be used.
The optimizer is only needed in case of a new release of Paddle-Lite.