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: How to build edgeai libraries with SDK 8.4?

Part Number: TDA4VM

Hi Experts,

We would like to build edgeai libraries with SDK 8.4. Since our complier are deployed in a offline server, we're unable to use the scripts in psdk_rtos to init the environment and toolchain (we have already set-up the environment in other ways). So we directly download the code packages of edgeai-gst-plugins-0.7.0 and degeai-tiovx-modules-release-8.4.2.1 from github, copied to our PSDK directory of SDK 8.4 and try to build edgeai libraries by excuting "make edgeai" under vision_apps. We met an error:

    CMake Error: CMake was unable to find a build program corrsponding to "Unix Makefiles".   CMAKE_MAKE_PROGRAM is not set.   You probably need to select a different build tool.

So we would like to know how to solve this error? What else should us do before "make edgeai"?

Thank you very much!

  • Hello,

    I would recommend reading our development flow documentation: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-sk-tda4vm/08_04_00/exports/docs/development_flow.html

    "EdgeAI SDK" is a culmination of PSDK Linux and PSDK RTOS. PSDK RTOS only needs to be touched if there are driver-level changes with code running on one of the hardware accelerators that needs to be changed. In general, the changes only need to happen at the application-level, meaning a rebuild of just the Github repository such as edgeai-tiovx-modules or edgeai-gst-plugins, which both have documentation about how to compile them within the respective Github repository.

    The documentation I linked above are the steps needed to create a bootable SD card image that we provide here that has all the EdgeAI related libraries and repositories pre-installed and ready for running applications: https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-SK-TDA4VM/08.04.00.10

    Regards,

    Takuma

  • Hi,

    To clarify, what is the purpose for rebuilding edgeai as opposed to running the prebuilt image? And is this being ran on the SK-TDA4VM?

    Regards,

    Takuma

  • Hi Takuma,

    Thanks for your reply. We're working under our customized PSDK RTOS environment(based on SDK 8.4) with our customized board, not running on the SK-TDA4VM. Since our PSDK directory is different from the original one. So we need to include these 2 modules in our PSDK and rebuild based on our customization. We encountered some errors and found they are related to the tool chain settings. The original question in this thread is wanting to figure out what tool chain settings are related to this error message and need to be modified. We have solved some of them but still some remains. So for the edgeai-gst-plugin, is it can only be built with Ninja and Mason?

    Thansk and best regards

  • Hello,

    So for the edgeai-gst-plugin, is it can only be built with Ninja and Mason?

    Yes, what we have set up for build for edgeai-gst-plugin in our SDK is Ninja and Meson.

    Regards,

    Takuma