eIQ based sample application-Tflite face recognition CPP app stuck with compilation errors

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

eIQ based sample application-Tflite face recognition CPP app stuck with compilation errors

1,091 次查看
rmani0029
Contributor I

I am facing the following compilation errors while trying to compile the eiq tflite based face_recognition sample application through the latest built fsl-imx-wayland-glibc-x86_64-imx-image-full-aarch64-toolchain-5.4-zeus SDK.

Error logs :

---------------------------

imx8@imx8:~/eIQ_NXP/eiq_sample_apps/examples-tflite/face_recognition/src$ make -f Makefile.linux
aarch64-poky-linux-g++ --sysroot=/opt/fsl-imx-wayland/5.4-zeus-new/sysroots/aarch64-poky-linux -o FaceRecognition -I /opt/fsl-imx-wayland/5.4-zeus-new/sysroots/aarch64-poky-linux/usr/include/tensorflow/lite/tools/make/downloads/flatbuffers/include/ face_recognition.cpp face_detect_helpers.cpp -ltensorflow-lite -lpthread -lrt -ldl -g -lopencv_objdetect -lopencv_highgui -lopencv_imgproc -lopencv_core -lopencv_videoio -lopencv_imgcodecs
/opt/fsl-imx-wayland/5.4-zeus-new/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: cannot find -ltensorflow-lite
collect2: error: ld returned 1 exit status
Makefile.linux:13: recipe for target 'FaceRecognition' failed
make: *** [FaceRecognition] Error 1

So, Kindly help me on how to solve those compilation errors.

Regards,

Manikandan.R

0 项奖励
回复
1 回复

1,075 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello mani0029,

Generally this problem occurred when we have called a function which has not been define in the program file, so to sort out this problem check whether have you called such function which has not been define in the program file. or you miss to install some package.

 

Regards

 

0 项奖励
回复