Hi Vanessa Maegima
I am using imx8qxp demo board with yocto L4.19.35, i want to build and run the "eIQ Sample Apps - Face Recognition using TF Lite" successful . My PC is ubuntu 18.04. Thanks.
When i run the"eIQ Sample Apps - Face Recognition using TF Lite" demo which download eiq_sample_apps - Unnamed repository; edit this file 'description' to name the repository. , i found that i can't compile successful.
1.Could you tell me which version of tensorflow and tensorflow-lite does the "eIQ Sample Apps - Face Recognition using TF Lite" use?
2. Could you help to send me a local.conf which contains the "tensorflow tensorflow-lite" config that i can refer to, in fact, i did add the image by "IMAGE_INSTALL_append += " tensorflow tensorflow-lite""
3. Shoud i download the tensorflow offical source code to build libtensorflow-lite.a by myself ,whether the yocto will do the tensorflow / tensorflow-lite source code download ,complie , library install by itself.
my local.conf file as below shown:
MACHINE ??= 'imx8qxpmek'
DISTRO ?= 'fsl-imx-xwayland'
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
PACKAGECONFIG_append_pn-opencv_mx8 = "gtk jasper test"
CONF_VERSION = "1"
CORE_IMAGE_EXTRA_INSTALL += "opencv opencv-samples libopencv-core libopencv-imgproc"
CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"
CORE_IMAGE_EXTRA_INSTALL += "python3-pip"
IMAGE_INSTALL_append += " wget vim git"
IMAGE_INSTALL_append += " tensorflow tensorflow-lite"
#IMAGE_INSTALL_append += " eiq-sample-apps"
DL_DIR="/home/xxx/NXP/downloads"
ACCEPT_FSL_EULA = "1"
when compile face_recognition the error log as below shown:
root@imx8qxpmek:~/prj/eiq_sample_apps/examples-tflite/face_recognition/src# make
g++ -o FaceRecognition -I /usr/include/tensorflow/contrib/lite/tools/make/downloads/flatbuffers/include/ face_recognition.cpp face_detect_helpers.cpp -ltensorflow-lite -lpthread -ldl -g -lopencv_objdetect -lopencv_highgui -lopencv_imgproc -lopencv_core -lopencv_videoio -lopencv_imgcodecs
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /tmp/ccxVT0W3.o: in function `tflite::facerec::init_interpreter(tflite::facerec::Settings*)':
/home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:149: undefined reference to `tflite::InterpreterBuilder::InterpreterBuilder(tflite::FlatBufferModel const&, tflite::OpResolver const&)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:149: undefined reference to `tflite::InterpreterBuilder::operator()(std::unique_ptr<tflite::Interpreter, std::default_delete<tflite::Interpreter> >*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:149: undefined reference to `tflite::InterpreterBuilder::~InterpreterBuilder()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:156: undefined reference to `tflite::Interpreter::UseNNAPI(bool)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:168: undefined reference to `tflite::Interpreter::SetNumThreads(int)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:184: undefined reference to `tflite::Interpreter::AllocateTensors()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:190: undefined reference to `tflite::PrintInterpreterState(tflite::Interpreter*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:149: undefined reference to `tflite::InterpreterBuilder::~InterpreterBuilder()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /tmp/ccxVT0W3.o: in function `tflite::facerec::get_output_tensor(cv::Mat, tflite::facerec::Settings*)':
/home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:219: undefined reference to `tflite::Interpreter::Invoke()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /tmp/ccxVT0W3.o: in function `tflite::Interpreter::SetTensorParametersReadWrite(int, TfLiteType, char const*, std::vector<int, std::allocator<int> > const&, TfLiteQuprjizationParams, bool)':
/usr/include/tensorflow/contrib/lite/interpreter.h:189: undefined reference to `tflite::Interpreter::SetTensorParametersReadWrite(int, TfLiteType, char const*, unsigned long, int const*, TfLiteQuprjizationParams, bool)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /tmp/ccxVT0W3.o: in function `void tflite::facerec::copy_resize<unsigned char>(unsigned char*, cv::Mat&, int, int, int, bool)':
/home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:60: undefined reference to `tflite::Interpreter::Interpreter(tflite::ErrorReporter*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:65: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:67: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:69: undefined reference to `tflite::Interpreter::SetInputs(std::vector<int, std::allocator<int> >)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:70: undefined reference to `tflite::Interpreter::SetOutputs(std::vector<int, std::allocator<int> >)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:85: undefined reference to `tflite::ops::builtin::BuiltinOpResolver::FindOp(tflite::BuiltinOperator, int) const'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:89: undefined reference to `tflite::Interpreter::AddNodeWithParameters(std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, char const*, unsigned long, void*, _TfLiteRegistration const*, int*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:92: undefined reference to `tflite::Interpreter::AllocateTensors()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:106: undefined reference to `tflite::Interpreter::Invoke()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /tmp/ccxVT0W3.o: in function `void tflite::facerec::copy_resize<float>(float*, cv::Mat&, int, int, int, bool)':
/home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:60: undefined reference to `tflite::Interpreter::Interpreter(tflite::ErrorReporter*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:65: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:67: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:69: undefined reference to `tflite::Interpreter::SetInputs(std::vector<int, std::allocator<int> >)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:70: undefined reference to `tflite::Interpreter::SetOutputs(std::vector<int, std::allocator<int> >)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:85: undefined reference to `tflite::ops::builtin::BuiltinOpResolver::FindOp(tflite::BuiltinOperator, int) const'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:89: undefined reference to `tflite::Interpreter::AddNodeWithParameters(std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, char const*, unsigned long, void*, _TfLiteRegistration const*, int*)'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:92: undefined reference to `tflite::Interpreter::AllocateTensors()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /home/root/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:106: undefined reference to `tflite::Interpreter::Invoke()'
/usr/lib/gcc/aarch64-poky-linux/8.3.0/../../../../aarch64-poky-linux/bin/ld: /tmp/ccxVT0W3.o: in function `std::default_delete<tflite::Interpreter>::operator()(tflite::Interpreter*) const':
/usr/include/c++/8.3.0/bits/unique_ptr.h:81: undefined reference to `tflite::Interpreter::~Interpreter()'
collect2: error: ld returned 1 exit status
make: *** [Makefile:13: FaceRecognition] Error 1
when cross compile face_recognition on PC the error log as below shown:
xxx@xxx-HP-ProDesk-400-G2-MT:~/prj/eiq_sample_apps/examples-tflite/face_recognition/src$ make
aarch64-poky-linux-g++ --sysroot=/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/aarch64-poky-linux -o FaceRecognition -I /usr/include/tensorflow/contrib/lite/tools/make/downloads/flatbuffers/include/ face_recognition.cpp face_detect_helpers.cpp -ltensorflow-lite -lpthread -ldl -g -lopencv_objdetect -lopencv_highgui -lopencv_imgproc -lopencv_core -lopencv_videoio -lopencv_imgcodecs
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /tmp/ccSP0U7S.o: in function `tflite::facerec::init_interpreter(tflite::facerec::Settings*)':
/home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:147: undefined reference to `tflite::InterpreterBuilder::InterpreterBuilder(tflite::FlatBufferModel const&, tflite::OpResolver const&)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:147: undefined reference to `tflite::InterpreterBuilder::operator()(std::unique_ptr<tflite::Interpreter, std::default_delete<tflite::Interpreter> >*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:147: undefined reference to `tflite::InterpreterBuilder::~InterpreterBuilder()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:154: undefined reference to `tflite::Interpreter::UseNNAPI(bool)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:166: undefined reference to `tflite::Interpreter::SetNumThreads(int)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:182: undefined reference to `tflite::Interpreter::AllocateTensors()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:188: undefined reference to `tflite::PrintInterpreterState(tflite::Interpreter*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:147: undefined reference to `tflite::InterpreterBuilder::~InterpreterBuilder()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /tmp/ccSP0U7S.o: in function `tflite::facerec::get_output_tensor(cv::Mat, tflite::facerec::Settings*)':
/home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_recognition.cpp:217: undefined reference to `tflite::Interpreter::Invoke()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /tmp/ccSP0U7S.o: in function `tflite::Interpreter::SetTensorParametersReadWrite(int, TfLiteType, char const*, std::vector<int, std::allocator<int> > const&, TfLiteQuprjizationParams, bool)':
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/aarch64-poky-linux/usr/include/tensorflow/lite/interpreter.h:186: undefined reference to `tflite::Interpreter::SetTensorParametersReadWrite(int, TfLiteType, char const*, unsigned long, int const*, TfLiteQuprjizationParams, bool)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /tmp/ccSP0U7S.o: in function `void tflite::facerec::copy_resize<unsigned char>(unsigned char*, cv::Mat&, int, int, int, bool)':
/home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:58: undefined reference to `tflite::Interpreter::Interpreter(tflite::ErrorReporter*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:63: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:65: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:67: undefined reference to `tflite::Interpreter::SetInputs(std::vector<int, std::allocator<int> >)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:68: undefined reference to `tflite::Interpreter::SetOutputs(std::vector<int, std::allocator<int> >)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:83: undefined reference to `tflite::ops::builtin::BuiltinOpResolver::FindOp(tflite::BuiltinOperator, int) const'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:87: undefined reference to `tflite::Interpreter::AddNodeWithParameters(std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, char const*, unsigned long, void*, _TfLiteRegistration const*, int*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:90: undefined reference to `tflite::Interpreter::AllocateTensors()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:104: undefined reference to `tflite::Interpreter::Invoke()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /tmp/ccSP0U7S.o: in function `void tflite::facerec::copy_resize<float>(float*, cv::Mat&, int, int, int, bool)':
/home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:58: undefined reference to `tflite::Interpreter::Interpreter(tflite::ErrorReporter*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:63: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:65: undefined reference to `tflite::Interpreter::AddTensors(int, int*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:67: undefined reference to `tflite::Interpreter::SetInputs(std::vector<int, std::allocator<int> >)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:68: undefined reference to `tflite::Interpreter::SetOutputs(std::vector<int, std::allocator<int> >)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:83: undefined reference to `tflite::ops::builtin::BuiltinOpResolver::FindOp(tflite::BuiltinOperator, int) const'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:87: undefined reference to `tflite::Interpreter::AddNodeWithParameters(std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, char const*, unsigned long, void*, _TfLiteRegistration const*, int*)'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:90: undefined reference to `tflite::Interpreter::AllocateTensors()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /home/xxx/prj/eiq_sample_apps/examples-tflite/face_recognition/src/face_detect_helpers_impl.h:104: undefined reference to `tflite::Interpreter::Invoke()'
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/real-ld: /tmp/ccSP0U7S.o: in function `std::default_delete<tflite::Interpreter>::operator()(tflite::Interpreter*) const':
/home/xxx/prj/fsl-imx-xwayland/4.19-warrior/sysroots/aarch64-poky-linux/usr/include/c++/8.3.0/bits/unique_ptr.h:81: undefined reference to `tflite::Interpreter::~Interpreter()'
collect2: error: ld returned 1 exit status
Makefile:13: recipe for target 'FaceRecognition' failed
make: *** [FaceRecognition] Error 1