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: Compilation error : On VisionSDK(2.11) windows

Tool/software: TI C/C++ Compiler

Hello Everyone,

I have installed VisionSDK(2.11) and integrated my own plugin inside it for TDA3x. Now when I try to compile ,I get the following errors:

# Compiling tda3xx-evm:ipu1_0:release:vision_sdk_examples: C:/VISION_SDK_02_11_00_00/vision_sdk/examples/tda2xx/src/modules/iss/iss_sensors/iss_sensor
_ar0140.c
# Compiling tda3xx-evm:ipu1_0:release:vision_sdk_examples: C:/VISION_SDK_02_11_00_00/vision_sdk/examples/tda2xx/src/modules/iss/iss_sensors/iss_sensor
_ov10640.c
# Compiling tda3xx-evm:ipu1_0:release:vision_sdk_examples: C:/VISION_SDK_02_11_00_00/vision_sdk/examples/tda2xx/src/modules/iss/iss_sensors/iss_sensor
_imx224.c
# Compiling tda3xx-evm:ipu1_0:release:vision_sdk_examples: C:/VISION_SDK_02_11_00_00/vision_sdk/examples/tda2xx/src/usecases/vip_single_cam_DetectBlin
king/chains_vipSingleCameraDetectBlinking.c
# Compiling tda3xx-evm:ipu1_0:release:vision_sdk_examples: C:/VISION_SDK_02_11_00_00/vision_sdk/examples/tda2xx/src/usecases/vip_single_cam_DetectBlin
king/chains_vipSingleCameraDetectBlinking_priv.c
#
# Archiving tda3xx-evm:ipu1_0:release:vision_sdk_examples
#
# Invoking configuro...
processed file: C:\VISION_SDK_02_11_00_00\vision_sdk\binaries\tda3xx_evm_bios_all\maketemp_configuro_cmd_arp32_1.bat

C:\VISION_SDK_02_11_00_00\vision_sdk\src\main_app\tda3xx\eve1>C:/VISION_SDK_02_11_00_00/ti_components/os_tools/windows/xdctools_3_32_00_06_core/xs xdc
.tools.configuro --generationOnly -o C:/VISION_SDK_02_11_00_00/vision_sdk/binaries/tda3xx_evm_bios_all/obj/vision_sdk/tda3xx-evm/arp32_1/release/visio
n_sdk_configuro -t ti.targets.arp32.elf.ARP32_far -p ti.platforms.evmTDA3XX:EVE_1 -r release -c C:/VISION_SDK_02_11_00_00/ti_components/cg_tools/windo
ws/arp32_1.0.7 -b C:/VISION_SDK_02_11_00_00/vision_sdk/build/tda3xx/config_arp32.bld --cfgArgs "{mode: \"\", coreName:\"EVE-1\", platformMem: \"DDR_M
EM_512M\"}" MAIN_APP_eve1.cfg
4 [main] sh 5668 C:\VISION_SDK_02_11_00_00\ti_components\os_tools\windows\xdctools_3_32_00_06_core\bin\sh.exe: *** fatal error - fork: can't res
erve memory for stack 0x28C740 - 0x290000, Win32 error 487
4 [main] sh 5668 C:\VISION_SDK_02_11_00_00\ti_components\os_tools\windows\xdctools_3_32_00_06_core\bin\sh.exe: *** fatal error - fork: can't res
erve memory for stack 0x28C740 - 0x290000, Win32 error 487
8 [main] sh 4940 child_info::sync: wait failed, pid 5668, Win32 error 0
538 [main] sh 4940 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0x1000000, errno 11
8 [main] sh 4940 child_info::sync: wait failed, pid 5668, Win32 error 0
538 [main] sh 4940 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0x1000000, errno 11
C:/Users/neha.b/AppData/Local/Temp/make10736-1.sh: Cannot fork: Resource temporarily unavailable

How can I resolve this issue?

Thanks,

Neha

  • Neha,
    this problem is related to a Cigwin installation or a component in your PATH that uses Cygwin (usually some of Linux-like shells for WIndows). For some users, removing certain PATH components fixed the problem, but others had to install a Cygwin patch. Please check the following threads for more details.
    e2e.ti.com/.../512643
    e2e.ti.com/.../1709330
    e2e.ti.com/.../481967
  • Hello Sasha,

    Thank you for the quick response.

    I have few more queries:
    1)Is there any dependency of Cygwin on VisionSDK ?
    2)Is it necessary to install Cygwin? If yes, will I need to set path for the same.

    Regards,
    Neha
  • I am not sure if Vision SDK installs or requires Cygwin or any Cygwin based shell. But, you already have one of these in your path. Can you post your PATH so we can try to identify such a component and remove it temporary to check if the project builds in CCS.

  • Hello Sasha,

    Below is the path:
    C:\VISION_SDK_02_11_00_00\ti_components\os_tools\windows\xdctools_3_32_00_06_core;C:\Windows\WinSxS\x86_microsoft-windows-whoami_31bf3856ad364e35_6.3.
    9600.17415_none_6368ddb99d362a87;C:\VISION_SDK_02_11_00_00\ti_components\os_tools\windows\xdctools_3_32_00_06_core;C:\Windows\WinSxS\x86_microsoft-win
    dows-whoami_31bf3856ad364e35_6.3.9600.17415_none_6368ddb99d362a87;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\win
    dows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Compon
    ents\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Pr
    ogram Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\ProgramData\Lenovo\Rea
    dyApps;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DT
    S\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\

    Thanks,
    Neha
  • I don't see anything obvious. I need to do more research, but I have found some cases where a system reboot helped. Can you try that and see if there is a difference?