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.

TDA4VM-Q1: SDK RTOS Compile errors

Part Number: TDA4VM-Q1
Other Parts Discussed in Thread: TDA4VM

I am preparing to use the RTOS SDK for TDA4VM.  I have installed latest version ti-processor-sdk-rtos-j721e-evm-11_02_00_06 and the previous version.  I have had difficulties compiling both.  I did get the 11.1 to compile.  Less of an issue.  But, the latest SDK version, I found a couple isses.  The ti-2A-wrapper fails to compile and make lib.  I reverted the changes from this version to the latest.  It wasn't including the A72 or the r5f.  Also note I am making with egdeai build. I also found that in your adas rootfs image you are no longer providing YAML under "user/include" directory.   So, I copied from the previous version SDK.  My question is - does this pose a different issue later. TIOVX needs YAML.  My eventual need will be to use the SK edge SDK rootfs.  Which also fails for that.  If I use the ADAS rootfs I am golden.  Ok for now.

  • To be clear about the ti-2a-wrapper,   TI made changes here,  Added several c files and changed the concerto.mak.  This is where I think the problem was.  The A72 and R5F was missing.  Maybe I am misreading that top line in the mak file.

  • ok.  I just tried the fix of coping "/user/include/yaml-cpp" from the previous version (11.01.00.04) to the latest (11.02.00.06) and it does not fix my error.

    Any ideas.  Thank you in advance.

    [ 94%] Building C object tests/CMakeFiles/edgeai-tiovx-apps-test.dir/app_tiovx_linux_decode_sde_test.c.o
    [ 96%] Building C object tests/CMakeFiles/edgeai-tiovx-apps-test.dir/app_tiovx_linux_capture_dof_test.c.o
    [ 97%] Building C object tests/CMakeFiles/edgeai-tiovx-apps-test.dir/app_tiovx_dof_module_test.c.o
    [ 98%] Linking C executable ../../bin/Release/edgeai-tiovx-apps-test
    /home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/toolchain/sysroots/x86_64-arago-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.4.0/ld: cannot find -lyaml-cpp: No such file
    or directory
    collect2: error: ld returned 1 exit status
    make[6]: *** [tests/CMakeFiles/edgeai-tiovx-apps-test.dir/build.make:594: ../bin/Release/edgeai-tiovx-apps-test] Error 1
    make[6]: Leaving directory '/home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/edgeai/edgeai-tiovx-apps/LINUX/build'
    make[5]: *** [CMakeFiles/Makefile2:179: tests/CMakeFiles/edgeai-tiovx-apps-test.dir/all] Error 2
    make[5]: *** Waiting for unfinished jobs....
    [100%] Linking C executable ../../bin/Release/edgeai-tiovx-apps-main
    /home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/toolchain/sysroots/x86_64-arago-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.4.0/ld: cannot find -lyaml-cpp: No such file
    or directory
    collect2: error: ld returned 1 exit status
    make[6]: *** [apps/CMakeFiles/edgeai-tiovx-apps-main.dir/build.make:194: ../bin/Release/edgeai-tiovx-apps-main] Error 1
    make[6]: Leaving directory '/home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/edgeai/edgeai-tiovx-apps/LINUX/build'
    make[5]: *** [CMakeFiles/Makefile2:205: apps/CMakeFiles/edgeai-tiovx-apps-main.dir/all] Error 2
    make[5]: Leaving directory '/home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/edgeai/edgeai-tiovx-apps/LINUX/build'
    make[4]: *** [Makefile:136: all] Error 2
    make[4]: Leaving directory '/home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/edgeai/edgeai-tiovx-apps/LINUX/build'
    make[3]: *** [makerules/makefile_edgeai.mak:143: edgeai_tiovx_apps] Error 2
    make[3]: Leaving directory '/home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/sdk_builder'
    make[2]: *** [makerules/makefile_edgeai.mak:33: edgeai] Error 2
    make[2]: Leaving directory '/home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/sdk_builder'
    make[1]: *** [makerules/makefile_vision_apps.mak:25: edgeai_deps] Error 2
    make[1]: Leaving directory '/home/mike/ti-processor-sdk-rtos-j721e-evm-11_02_00_06/sdk_builder'
    make: *** [Makefile:64: sdk] Error 2

     

  • Hi Michael,

    ok, are you first trying to build RTOS SDK? for TDA4VM? tiovxs does not yaml files, it should build without this also. But you might require it when you want to build vision apps on mcu1_0. 

    Regards,

    Brijesh

  • Yes, RTOS SDK.  TDA4VM.  I have tried this on several fresh installs.  Seems building for ADAS completes.  Building for edgeai does not.  Seems to go some distance before failing to find director or file.  Seems related to a path problem.  Maybe c++17 related.  But many files are compiling in C++ mode.  Seems the problem pop up under Vision_Apps directory.  SRV?  Can you try this.  Build for edgeai.  You can pass this at command line or can set in one of the make files. 

  • Hi Michael,

    Is this still open? 

    Regards,

    Brijesh