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/TDA3XEVM: OpenVX compiling

Part Number: TDA3XEVM


Tool/software: TI C/C++ Compiler

Hi,

Please advise what I should modify in my setting of CCS.

I tried to rebuild VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF project in OpenVX for C66. It is included PSDKV3.02.

I referred to "VXLIB Individual Kernel Test Build Procedure". And, selected "Generic C66xx Device" and eabi(ELF) for output format.
However, I had some errors at the linking. The compiling log is as follows:

**** Build of configuration Debug for project VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all

'Building file: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/vxlib_c66x_1_1_1_0/packages/ti/vxlib/src/vx/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_d.c"'
'Invoking: C6000 Compiler'
"C:/ti/ccsv6/tools/compiler/c6000_7.4.18/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.18/include" --include_path="../../../../../../../../" --include_path="../../../" --include_path="../../" --include_path="../../../../../common" --include_path="../../../../../common/c6x" --include_path="../../../../../common/c66" --define=ti_targets_elf_C66 --diag_wrap=off --display_error_number --diag_warning=225 --mem_model:data=far --debug_software_pipeline -k --strip_coff_underscore --preproc_with_compile --preproc_dependency="VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_d.d_raw" "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/vxlib_c66x_1_1_1_0/packages/ti/vxlib/src/vx/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_d.c"
'Finished building: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/vxlib_c66x_1_1_1_0/packages/ti/vxlib/src/vx/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_d.c"'

'Building file: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/vxlib_c66x_1_1_1_0/packages/ti/vxlib/src/vx/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_idat.c"'
'Invoking: C6000 Compiler'
"C:/ti/ccsv6/tools/compiler/c6000_7.4.18/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.18/include" --include_path="../../../../../../../../" --include_path="../../../" --include_path="../../" --include_path="../../../../../common" --include_path="../../../../../common/c6x" --include_path="../../../../../common/c66" --define=ti_targets_elf_C66 --diag_wrap=off --display_error_number --diag_warning=225 --mem_model:data=far --debug_software_pipeline -k --strip_coff_underscore --preproc_with_compile --preproc_dependency="VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_idat.d_raw" "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/vxlib_c66x_1_1_1_0/packages/ti/vxlib/src/vx/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_idat.c"
'Finished building: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/vxlib_c66x_1_1_1_0/packages/ti/vxlib/src/vx/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u/VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_idat.c"'

'Building target: "VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF.out"'
'Invoking: C6000 Linker'
"C:/ti/ccsv6/tools/compiler/c6000_7.4.18/bin/cl6x" -mv6600 --abi=eabi -g --define=ti_targets_elf_C66 --diag_wrap=off --display_error_number --diag_warning=225 --mem_model:data=far --debug_software_pipeline -k --strip_coff_underscore -z -m"VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF.map" -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.18/lib" -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.18/include" --reread_libs --display_error_number --warn_sections --diag_wrap=off --xml_link_info="VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF_linkInfo.xml" --rom_model -o "VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF.out" "./VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_d.obj" "./VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_idat.obj" -llibc.a
<Linking>
fatal error #10296: cannot open output file "VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF.out" for writing

>> Compilation failure
makefile:140: recipe for target 'VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF.out' failed
gmake: *** [VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

P.S
Some programs were OK to build.

Regards,
Kenshow

  • Hi,

    I have forwarded your question to VXLIB experts.

    Regards,
    Yordan
  • It is a curious problem if some of the programs built correctly, but there is a problem with this one. I can you please show the contents of the follow generated directory?

    vxlib_c66x_1_1_1_0\packages\ti\vxlib\src\vx\VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u\c66\VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF\Debug

    1. Is there already a .out file in there. If so, please try to rename it or move it somewhere else ... perhaps there is a write permissions issue.
    2. Can you tell me which other program(s) in this package is working for you? Do they have a name which is longer than this one? Sometimes I have seen issues when the full path name gets too long, but if working ones have longer path names, then this will rule this issue out.

    Thanks,
    Jesse
  • Hi Jesse,

    Thanks for your advice.
    The cause of this problem was that the path was too long. I shortened the path and I could rebuild it.

    I copy the folder from the original path C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\vxlib_c66x_1_1_1_0\packages\ti\vxlib
    to
    C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\vxlib.

    And, import a project VXLIB_warpAffineBilinear_bc_i8u_c32f_o8u_66_LE_ELF of copied the path on CCS. the rebuilding was successful.

    Thanks,
    Kenshow