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.

J721EXSOMXEVM: TIOVX . Building the system does not produce any executable.

Part Number: J721EXSOMXEVM

I am trying for the first time to build the TIOVX part as indicated in https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/06_01_01_12/exports/docs/tiovx/docs/user_guide/BUILD_INSTRUCTIONS.html

However after I do Make, everything seems to proceed normal but 

  • Conformance test, tutorial executable is output at
    • "$TIOVX_PATH\out\PC\x86_64\LINUX\debug\vx_conformance_tests_exe"
    • "$TIOVX_PATH\out\PC\x86_64\LINUX\debug\vx_tutorial_exe"

does not happen. 

In other words, there is a "out" folder with o libraries generated there but there is no PC folder and of course not the above files.

What could be going wrong in this. I have not modified any makefile at all. 

  • Hi,

    In PSDKRA/tiovx/build_flags.mak, 
    This is the default setting

    # Build for SoC
    BUILD_TARGET_MODE?=yes
    # Build for x86 PC
    BUILD_EMULATION_MODE?=no


    Pls make BUILD_EMULATION_MODE?=yes in order to build the PC executables and get PC folder in the "out" folder

    Regards,
    Nikhil

  • Thank you for your help. 

    I checked and made BUILD_EMULATION_MODE?=yes . 

    As a result, I got a PC  folder in out. 

    However the only folder structure I got was  PC/X86_64/LINUX/release

    therefore there is no debug folder as in the documentation

    and inside the release folder there are two files  vx_conformance_tests_exe.map and vx_tutorial_exe.map  but there doesn't seem to be any executable.

  • Hi,

    In the same build_flags.mak file, you could find PROFILE?=release

    You could make this PROFILE?=debug in order to get debug folder

    Regards,
    Nikhil

  • Thanks. I did that and got the debug folder. 

    However, this folder only has the vx_conformance_tests_exe.map and vx_tutorial_exe.map files, both of which are not executables.

    EDIT:  I found out why it was not working. 

    I had to modify not only BUILD_EMULATION_MODE?=yes but also BUILD_TARGET_MODE?=no

    Apparently I can not build both. 

    With that I could build the tutorial.