Spaces:
Runtime error
Runtime error
Ticket Name: Linux/TDA2: TDA2xx compile tda2xx_evm_linux_opencl mode | |
Query Text: | |
Part Number: TDA2 Tool/software: Linux i want to run the vip_single_cam_openclframe_copy usecase. I modified it in the configuration file :MAKECONFIG?= tda2xx_evm_linux_opencl and i have download opencl_fs_patches folder put in the path :/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/targetfs then i make linux->make linux_install -> make -s -j depend ->make -s -j But Compile failure. Is there anything else I need to set up? the document VisionSDK_UserGuide_opencx.pdf is not very detailed. | |
Responses: | |
the compile error information is: # Linking into /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66... # Linking into /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_2_release.xe66... undefined first referenced symbol in file --------- ---------------- EDMA3_semCreate /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/lib/tda2xx-evm/c66xdsp_1/release/utils_common.ae66<utils_dma_edma3cc.oe66> EDMA3_semDelete /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/lib/tda2xx-evm/c66xdsp_1/release/utils_common.ae66<utils_dma_edma3cc.oe66> edma3OsProtectEntry /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66> edma3OsProtectExit /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66> edma3OsSemGive /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66> edma3OsSemTake /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/lib/tda2xx-evm/66/release/edma3lld_drv.ae66<edma3_drv_adv.oe66> rtos_init_ocl_dsp_monitor /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/lib/tda2xx-evm/c66xdsp_1/release/links_common_system.ae66<system_common.oe66> error: unresolved symbols remain error: errors encountered during linking; "/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2 xx_evm_linux_opencl/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.x e66" not built make[7]: *** [/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66] Error 1 make[6]: *** [c66xdsp_1] Error 2 make[5]: *** [apps_dsp1] Error 2 make[5]: *** Waiting for unfinished jobs.... # # /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_2_release.xe66 created. # Creating /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_2_release.xe66 /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_opencl/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_2_release.xe66 make[4]: *** [apps] Error 2 make[3]: *** [apps] Error 2 make[2]: *** [apps_exe] Error 2 make[1]: *** [apps] Error 2 make: *** [vision_sdk] Error 2 | |
Hi Xie, As advised earlier can you try doing "make -s depend" and "make -s" and see if the build passes. Regards, Rishabh | |
Hi, i try that,it still compile failed, # links_a15_sync: tda2xx-evm: Creating archive links_a15_sync.a # system: tda2xx-evm: Creating archive system.a # links_a15_nullSrc: tda2xx-evm: Creating archive links_a15_nullSrc.a # osa: tda2xx-evm: Creating archive osa.a Compiling OpenCL file copy.cl The C6000 compiler installation specified by TI_OCL_CGT_INSTALL does not exist: /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0 make[7]: *** [copy.dsp_h] Error 1 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 it seems i miss ti-cgt-c6000_8.1.0, do you know where can i get it? thanks Regards, Xie Baojian | |
Hi, You can get it from www.ti.com/.../8.1.0. Regards, Rishabh | |
Hi, Thanks,i have get the ti-cgt-c6000_8.1.0. Regards, Xie Baojian | |
Hi Rishabh, can you talk about it in detail about (add dsp compiler bin path to PATH variable & build export PATH=<path_to_dsp_compiler_8.1.x>/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=</home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0>/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, Can you run the following command and let me know the result "cd /home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0/bin". Regards, Rishabh | |
Hi Rishabh, I have solved this problem,thank you very much. Regards, Xie Baojian | |
Hi Xie, Glad to know that your issue is resolved. Can you please share the resolution so that others can benefit from it in future. Regards, Rishabh | |
Hi Regards, sure, I follow the steps below: 1、vi ~/.bashrc 2、add :export PATH=/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0/bin:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0:$PATH and run make linux_clean make linux make linux_install make -s -j depend make -s -j opencx Regards, Xie Baojian | |
Hi Xie, Thanks for sharing resolution. I am closing this thread. Regards, Rishabh | |