Ticket Name: TDA2: /linux/targetfs/usr/share/ti/opencl/bin/x86/clocl: Command not found Query Text: Part Number: TDA2 Hi, when i build vision sdk with settings MAKEAPPNAME?=apps MAKECONFIG?=tda2xx_evm_linux_opencx other configurations are default. make[6]: Entering directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/openclframecopy' make -B -Ckernel make[7]: Entering directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/openclframecopy/kernel' echo Compiling OpenCL file copy.cl Compiling OpenCL file copy.cl /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/usr/share/ti/opencl/bin/x86/clocl -t copy.cl make[7]: /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/usr/share/ti/opencl/bin/x86/clocl: Command not found ifeq ($(A15_TARGET_OS), Linux) CLOCL = $(LINUX_TARGETFS)/usr/share/ti/opencl/bin/x86/clocl There is nothing in this directory Thank you in advance BR HUI Responses: Hi Hui, For OpenCL to build , you need to apply file system patch & clone few more components Follow TDA2x Linux User Guide Regrads Suryamani Jena Hi Suryamani, still some errors after applying file system patch & clone few more components. make[6]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/opencvopencldilation' make -fMAKEFILE.MK -C/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/openclframecopy MODNAME=apps opencl_build make[6]: Entering directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/openclframecopy' make -B -Ckernel make[7]: Entering directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/openclframecopy/kernel' echo Compiling OpenCL file copy.cl Compiling OpenCL file copy.cl /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/usr/share/ti/opencl/bin/x86/clocl -t copy.cl >> WARNING: invalid compiler option --bc_file=copy.bc (ignored) "/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/usr/share/ti/opencl/dsp.syms", line 9: error #10022-D: invalid option: --single_data_segment "/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/usr/share/ti/opencl/dsp.syms", line 10: error #10022-D: invalid option: --no_entry_point warning #10247-D: creating output section ".stack" without a SECTIONS specification warning #10210-D: creating ".stack" section with default size of 0x400; use the -stack option to change the default size undefined first referenced symbol in file --------- ---------------- main /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0/lib/rts6600_elf.lib error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "copy.out" not built >> Compilation failure Makefile:5: recipe for target 'copy.dsp_h' failed make[7]: *** [copy.dsp_h] Error 255 make[6]: *** [opencl_build] Error 2 make[5]: *** [vision_sdk_linux_demo] Error 2 make[4]: *** [apps] Error 2 make[3]: *** [apps_exe_hlos] Error 2 make[2]: *** [apps_hlos] Error 2 make[1]: *** [apps] Error 2 make: *** [vision_sdk] Error 2 make[7]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/openclframecopy/kernel' MAKEFILE.MK:14: recipe for target 'opencl_build' failed make[6]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos/adas/src/alg_plugins/openclframecopy' MAKEFILE_adas.MK:14: recipe for target 'vision_sdk_linux_demo' failed make[5]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos' MAKEFILE_adas.MK:5: recipe for target 'apps' failed make[4]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/apps/src/hlos' Makefile:211: recipe for target 'apps_exe_hlos' failed make[3]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build' Makefile:84: recipe for target 'apps_hlos' failed make[2]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build' Makefile:49: recipe for target 'apps' failed make[1]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build' Makefile:12: recipe for target 'vision_sdk' failed Hi Hui, ti-cgt-c6000_8.1.0 is not part of release package You need to download & place it under /ti_components/cg_tools/linux & add dsp compiler bin path to PATH variable & build export PATH=/bin:$PATH Regards Surya Hi Surya, still one error after doing the above procedure. cp /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build/hlos/scripts/linux/vision_sdk_ov490_pinmux.sh /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/opt/vision_sdk cp /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencx/vision_sdk/bin/tda2xx-evm/apps.out /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/opt/vision_sdk cd /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/kernel/dsptop/debugss_module/debugss-mod; \ cp /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/kernel/dsptop/debugss_module/debugss-mod/debugss_kmodule.ko /home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs/opt/vision_sdk cp: cannot stat '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/../ti_components/os_tools/linux/kernel/dsptop/debugss_module/debugss-mod/debugss_kmodule.ko': No such file or directory make[4]: *** [linux_app_install] Error 1 build_kernel.mk:82: recipe for target 'linux_app_install' failed make[3]: *** [app_linux_install] Error 2 make[2]: *** [apps_hlos] Error 2 make[1]: *** [apps] Error 2 make: *** [vision_sdk] Error 2 make[4]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build/hlos/makerules/linux' Makefile:498: recipe for target 'app_linux_install' failed make[3]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build' Makefile:84: recipe for target 'apps_hlos' failed make[2]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build' Makefile:49: recipe for target 'apps' failed make[1]: Leaving directory '/home/richard/sambashare/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/build' Makefile:12: recipe for target 'vision_sdk' failed Hi Hui, It is looking like debugss_kmodule.ko not build properly Could you clean & build ? Run below commands make linux_clean make linux make linux_install make -s -j depend make -s -j opencx Regrads Surya Hi ti-cgt-c6000_8.1.0 where to down load?? Hi Shuai, You can download from below link www.ti.com/.../8.1.0 Regards Surya Hi Surya, i have meet the same problem, can you talk about it in detail about (add dsp compiler bin path to PATH variable & build export PATH=/bin:$PATH)? i do it like this : PATH=/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0 export PATH=/bin:$PATH but it failed: bash: /bin:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0: No such file or directory What should I do? Regards Xie Baojian Hi Xie Baojian, The angualr bracket you need to remove while exporting Follow below steps 1. Open shell 2. echo $PATH 3. export PATH=/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0/bin:$PATH 4. echo $PATH & confirm dsp compiler path added to system path variable Regards Surya Hi Surya, I have solved this problem, thank you very much. Regards Xie Baojian