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.

Compiler/TDA2: TDA2x visionSDK compile error

Part Number: TDA2

Tool/software: TI C/C++ Compiler

Hi there,

I have installed vision sdk using PROCESSOR_SDK_VISION_03_00_00_00_setuplinux.bin. My compile host machine is win10.

I compiled visionSDK follow "visionsdk userguide tda2xx.pdf":

MAKECONFIG=tda2xx_evm_rtos_all

make -s depend;

make -s;

They all run successfully. And then I want to compile the other compents of visionSDK, so i execute :

make -s all,

the i get these errors:

$ gmake -s all

process_begin: CreateProcess(NULL, s gmake -fMAKEFILE.MK -CE:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/src/rtos/alg_plugins clean, ...) failed.
make (e=2): ϵͳ▒Ҳ▒▒▒ָ▒▒▒▒▒ļ▒▒▒
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
/cygdrive/e/PROCESSOR_SDK_VISION_03_05_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/bin/cat: E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/l
# Compiling tda2xx-evm:ipu1_0:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:ipu1_0:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: cannot open source file "system_cfg.h"
1 catastrophic error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/ipu1_0/release/algorithmLink_cfg.oem4] Error 1
gmake[6]: *** [ipu1_0] Error 2
# Compiling tda2xx-evm:ipu1_1:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:ipu1_1:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: cannot open source file "system_cfg.h"
1 catastrophic error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/ipu1_1/release/algorithmLink_cfg.oem4] Error 1
gmake[6]: *** [ipu1_1] Error 2
# Compiling tda2xx-evm:ipu2:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:ipu2:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: cannot open source file "system_cfg.h"
1 catastrophic error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/ipu2/release/algorithmLink_cfg.oem4] Error 1
gmake[6]: *** [ipu2] Error 2
# Compiling tda2xx-evm:a15_0:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:a15_0:release:links_common_algorithm: algorithmLink_cfg.c
algorithmLink_cfg.c:79:24: fatal error: system_cfg.h: No such file or directory
#include <system_cfg.h>
^
compilation terminated.
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/a15_0/release/algorithmLink_cfg.oa15fg] Error 1
gmake[6]: *** [a15_0] Error 2
# Compiling tda2xx-evm:c66xdsp_1:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:c66xdsp_1:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: could not open source file "system_cfg.h"
1 fatal error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/c66xdsp_1/release/algorithmLink_cfg.oe66] Error 1
gmake[6]: *** [c66xdsp_1] Error 2
# Compiling tda2xx-evm:c66xdsp_2:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:c66xdsp_2:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: could not open source file "system_cfg.h"
1 fatal error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/c66xdsp_2/release/algorithmLink_cfg.oe66] Error 1
gmake[6]: *** [c66xdsp_2] Error 2
# Compiling tda2xx-evm:arp32_1:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:arp32_1:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: could not open source file "system_cfg.h"
1 fatal error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/arp32_1/release/algorithmLink_cfg.oearp32F] Error 1
gmake[6]: *** [arp32_1] Error 2
# Compiling tda2xx-evm:arp32_2:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:arp32_2:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: could not open source file "system_cfg.h"
1 fatal error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/arp32_2/release/algorithmLink_cfg.oearp32F] Error 1
gmake[6]: *** [arp32_2] Error 2
# Compiling tda2xx-evm:arp32_3:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:arp32_3:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: could not open source file "system_cfg.h"
1 fatal error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/arp32_3/release/algorithmLink_cfg.oearp32F] Error 1
gmake[6]: *** [arp32_3] Error 2
# Compiling tda2xx-evm:arp32_4:release:links_common_algorithm: algorithmLink_algPluginSupport.c
# Compiling tda2xx-evm:arp32_4:release:links_common_algorithm: algorithmLink_cfg.c
"algorithmLink_cfg.c", line 79: fatal error: could not open source file "system_cfg.h"
1 fatal error detected in the compilation of "algorithmLink_cfg.c".
Compilation terminated.

>> Compilation failure
gmake[7]: *** [E:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/links_common_algorithm/tda2xx-evm/arp32_4/release/algorithmLink_cfg.oearp32F] Error 1
gmake[6]: *** [arp32_4] Error 2
gmake[5]: *** [links_common_algorithm] Error 2
gmake[4]: *** [libs] Error 2
gmake[3]: *** [links_fw_libs] Error 2
gmake[2]: *** [apps] Error 2
gmake[1]: *** [vision_sdk] Error 2
gmake: *** [all] Error 2

so, what can i do to fix this?\

Thanks!

  • Hi,

    What component exactly do you want to compile?
    In case you want to compile Vision SDK for a different configuration/platform, you should change MAKECONFIG.

    Regards,
    Rishabh
  • Hi Rishabh,

    Among those components, which were not compiled by run "gmake -s", I just need "sbl" for SD boot.
    I can get sbl component by just run "gmake sbl" successfully.
    The error above i pose occurs when compile alg link, so which file should i modify to compile it. I do not neet it for now though.

    Sorry for my poor English.

    Thanks!
  • Hi,

    Vision SDK compile will compile all applicable links.
    In my opinion compiling a particular link as a standalone is not very useful unless you have a specific requirement.

    Regards,
    Rishabh