TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM: 执行make vision_apps -j8 后出现了找不到 #include_next <stdint.h>文件的 faltal error,但是我的ubuntu 的/usr/include/目录下拥有stdint.h文件

Part Number:TDA4VM

执行make vision_apps -j8 后出现了找不到 #include_next <stdint.h>文件的 faltal error,但是我的ubuntu 的/usr/include/目录下拥有stdint.h文件

Shine:

请问使用的是哪个版本的SDK? 对代码有做过修改吗?能把报错信息截一下图吗?

,

wang.chenxi:

Linking /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/out/J721E/R5F/FREERTOS/release/vx_app_rtos_linux_mcu2_0.outLinking /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/out/J721E/R5F/FREERTOS/release/vx_app_rtos_linux_mcu2_1.outLinking /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/out/J721E/C66/FREERTOS/release/vx_app_rtos_linux_c6x_1.outLinking /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/out/J721E/C66/FREERTOS/release/vx_app_rtos_linux_c6x_2.outLinking /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/out/J721E/C71/FREERTOS/release/vx_app_rtos_linux_c7x_1.out[GCC] Compiling C99 srv_bowl_lut_gen_applib.cIn file included from /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/tiovx/include/VX/vx_types.h:25, from /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/tiovx/include/VX/vx.h:47, from /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/tiovx/include/TI/tivx.h:66, from /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/kernels/srv/include/TI/tivx_srv.h:66, from /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/applibs/srv_bowl_lut_gen_applib/srv_bowl_lut_gen_applib.c:63:/root/ti/arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/11.3.1/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory 9 | # include_next <stdint.h> | ^~~~~~~~~~compilation terminated.make[1]: *** [/mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/sdk_builder/concerto/finale.mak:316: /mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps/out/J721E/A72/LINUX/release/module/applibs.srv_bowl_lut_gen_applib/srv_bowl_lut_gen_applib.o] Error 1make[1]: Leaving directory '/mnt/hgfs/share/01-TI/03-PROJECT/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/vision_apps'make: *** [makerules/makefile_vision_apps.mak:8: vision_apps] Error 2

,

wang.chenxi:

无修改,也是一样的错误

,

Shine:

请看一下是否按照ti-processor-sdk-rtos-j721s2-evm-09_01_00_06/vision_apps/docs/user_guide/ENVIRONMENT_SETUP.html和ti-processor-sdk-rtos-j721s2-evm-09_01_00_06/vision_apps/docs/user_guide/BUILD_INSTRUCTIONS.html里的步骤操作的?

,

wang.chenxi:

这个是找不到文件吗,没有配置路径吗;我是安装上面文档来的

,

wang.chenxi:

我装了PC仿真,有影响吗

,

Shine:

找不到文件,可能是路径设置的问题,RTOS SDK, Linux SDK安装在默认路径吗?执行./sdk_builder/scripts/setup_psdk_rtos.sh会报错吗?

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: 执行make vision_apps -j8 后出现了找不到 #include_next <stdint.h>文件的 faltal error,但是我的ubuntu 的/usr/include/目录下拥有stdint.h文件
分享到: 更多 (0)