将编译好的系统导入到板子上在/usr/include/下找不到tensorflow和onnx的头文件

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

将编译好的系统导入到板子上在/usr/include/下找不到tensorflow和onnx的头文件

1,085 Views
ding1
Contributor II

我编译好了imx-5.10.52-2.1.0 bsp,通过SD卡启动了开发版,也能运行机器学习demo,但打算编译c++程序时发现在/usr/include/文件夹下没有tensorflow和onnx的头文件。

local.conf是:

MACHINE ??= 'imx8mpevk'
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"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

# Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
IMAGE_INSTALL_append = "packagegroup-imx-ml"
TOOLCHAIN_TARGET_TASK_append += " tensorflow-lite-dev armnn-dev onnxruntime-dev"
PACKAGECONFIG_append_pn-opencv_mx8 += " test"
IMAGE_ROOTFS_EXTRA_SPACE = "5242880"

Labels (1)
0 Kudos
0 Replies