This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA4VL-Q1:主机仿真模式下的 ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/tiovx/编译错误

Guru**** 1700900 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1395479/tda4vl-q1-ti-processor-sdk-rtos-j721s2-evm-09_02_00_05-tiovx-compilation-error-for-host-emulation-mode

器件型号:TDA4VL-Q1

工具与软件:

您好!

当我尝试使用 rtos-j721s2-evm-09_02_00_05构建 PC 仿真时、

它显示错误。

#######################################################################

TARGET_COMBO=PC:LINUX:x86_64:1:debug:GCC_LINUX

Copying Prebuilt libs from prebuilt_libs to lib

[GCC] Compiling C99 vx_dmpac_dof_target_sim.c

/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/imaging/kernels/hwa/dmpac_dof/vx_dmpac_dof_target_sim.c:70:10: fatal error: LibDenseOpticalFlow.h: 沒有此一檔案或目錄

   70 | #include "LibDenseOpticalFlow.h"

      |          ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

make[2]: 離開目錄「/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/imaging」

make[2]: *** [/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/sdk_builder/concerto/finale.mak:316:/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/imaging/out/PC/x86_64/LINUX/debug/module/kernels.hwa.dmpac_dof/vx_dmpac_dof_target_sim.o] 錯誤 1

make[1]: 離開目錄「/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/sdk_builder」

make[1]: *** [makerules/makefile_tiovx_ptk_imaging.mak:101:imaging] 錯誤 2

make: *** [Makefile:59:sdk] 錯誤 2



real	0m4.038s

user	0m4.663s

sys	0m1.481s



###################################################

BUILD ERRORS:

###################################################



/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/imaging/kernels/hwa/dmpac_dof/vx_dmpac_dof_target_sim.c:70:10: fatal error: LibDenseOpticalFlow.h: 沒有此一檔案或目錄

   70 | #include "LibDenseOpticalFlow.h"

      |          ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

make[2]: *** [/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/sdk_builder/concerto/finale.mak:316:/home/john/tda4/ti-processor-sdk-rtos-j721s2-evm-09_02_00_05/imaging/out/PC/x86_64/LINUX/debug/module/kernels.hwa.dmpac_dof/vx_dmpac_dof_target_sim.o] 錯誤 1

make[1]: *** [makerules/makefile_tiovx_ptk_imaging.mak:101:imaging] 錯誤 2

make: *** [Makefile:59:sdk] 錯誤 2



###################################################

Error log file also here: /tmp/sdk_build_errors.log

###################################################

它似乎丢失 LibDenseOpticalFlow.h

我尝试过 E2E、但仍然有相同的问题。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1042386/tda4vm-while-building-tiovx-getting-errors?tisearch=e2e-sitesearch&keymatch=LibDenseOpticalFlow.h#

./psdk_rtos/scripts/setup_psdk_rtos.sh

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1043598/tda4vm-while-building-tiovx-tutorial-in-host-emulation-mode-no-executable-files-generated?tisearch=e2e-sitesearch&keymatch=LibDenseOpticalFlow.h#

cd sdk_builder
make sdk_scrub
make sdk -j8

我使用了8.6版、没有该主题。  

因为某些文件会从 vision apps 文件夹移至 sdk_builder、

我怀疑某些链接错误

请提供帮助

祝你一切顺利