我在ubuntu18.04上基于rtos(psdk_rtos_auto_j7_07_00_00_11)最新版本,以及linux sdk(ti-processor-sdk-linux-automotive-j7-evm-07_00_01)的最新版,编译rtos 的vision app例子,参照官方链接的步骤,编译pc版本,失败了,步骤如下
终端编译输出如下:
提示源码中缺少j7_c_models,是怎么回事?源码是我从官方链接下载的,也是参照官方文档步骤安装的,理论所不会有缺失,但是编译却遇到了问题,有谁能技术支持一下吗?
zhaojun fan:
编译步骤如下
Quick steps to build vision apps for PC emulation mode
Edit file tiovx/build_flags.mak and modify below variables
BUILD_EMULATION_MODE=yes
BUILD_TARGET_MODE=no
Do below to build the source code,
cd vision_apps
make sdk
The PC executables are stored below
vision_apps/out/PC/x64_64/LINUX/$PROFILE
终端编译输出如下:
#######################################################################
TARGET_COMBO=PC:LINUX:x86_64:1:release:GCC_LINUX
HOST_ROOT=/home/mcw/ti_tda4/rtos/psdk_rtos_auto_j7_07_00_00_11/vision_apps
HOST_COMPILER=GCC_LINUX
HOST_PLATFORM=PC
HOST_OS=LINUX
HOST_CPU=x86_64
HOST_ARCH=64
HOST_FAMILY=x86_64
HOST_NUM_CORES=8
TARGET_OS=LINUX
TARGET_CPU=x86_64
TARGET_ARCH=64
TARGET_FAMILY=x86_64
TARGET_NUM_CORES=1
TARGET_PLATFORM=PC
TARGET_BUILD=release
TARGET_OUT=/home/mcw/ti_tda4/rtos/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/PC/x86_64/LINUX/release
TARGET_DOC=/home/mcw/ti_tda4/rtos/psdk_rtos_auto_j7_07_00_00_11/vision_apps/out/PC/x86_64/LINUX/release/docs
BUILD_DEFS =CUSTOM_KERNEL_PATH BUILD_TUTORIAL BUILD_CONFORMANCE_TEST
PC_LINUX_x86_64_1_release_GCC_LINUX_DEFS = LINUX PC x86_64="x86_64" TARGET_NUM_CORES=1 TARGET_ARCH=64 ARCH_64 TARGET_BUILD=1
PC_LINUX_x86_64_1_release_GCC_LINUX_LDIRS =
SCM_ROOT=
SCM_VERSION=
Build Skipped for kernels.stereo.target.bam.PC.LINUX.x86_64.release:vx_target_kernels_stereo_bam
ERROR: /home/mcw/ti_tda4/rtos/psdk_rtos_auto_j7_07_00_00_11/j7_c_models not found !!!
makerules/makefile_check_paths.mak:7: recipe for target 'sdk_check_paths' failed
make: *** [sdk_check_paths] Error 1
Shine:
回复 zhaojun fan:
请问您用的是汽车电子的芯片吗?如果是的话,请到e2e论坛上咨询或者联系您当地的TI销售,谢谢。
e2e.ti.com/…/791
zhaojun fan:
回复 Shine:
我用的不是汽车电子的芯片,我只是对TI sdk比较感兴趣,想编译一下pc版本的例子,之后看一下vision app下的例子运行效果,请问该怎么解决我问的问题?谢谢
Shine:
回复 zhaojun fan:
不同的芯片系列对应不同的SDK,我看您用的ti-processor-sdk-linux-automotive-j7-evm-07_00_01是针对汽车电子产品的。汽车电子产品的技术支持需要通过e2e论坛或者当地的TI销售获取。
software-dl.ti.com/…/index_FDS.html
zhaojun fan:
回复 Shine:
哦,好的,谢谢