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.

No TICLANG Arm compilers, supporting device 'AM64x', are currently installed!



Hi everyone,

I am trying to follow the AM64 MCU+ SDK v09.01.00.41 documentation to compile an ipc example application for an r5 core:
https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/09_01_00_41/exports/docs/api_guide_am64x/GETTING_STARTED.html

I followed the subpage "Download, Install and Setup SDK and Tools", then "Download, Install and Setup CCS" up to section "Check Packages as seen by CCS".

In the Compilers tab I already notice the llvm toolchain I had installed according to the instructions above is not seen by CCS.
Attempts at adding different versions, adding the installation directory to the search path, or installing from the gui menu (Help -> Install Code Generation Compiler Tools) did not make any llvm compilers show up.

Then when I try importing the ipc examples from "mcu_plus_sdk_am64x_09_01_00_41/examples/drivers/ipc" I get the error message of the thread title - and can not continue.

  • And .... I found the real problem and solution.
    Anyone else who is having trouble, try to do a cli-only build without CCS and see how it succeeds or fails:

    ❯ cd ~/ti/mcu_plus_sdk_am64x_09_01_00_41/examples/drivers/ipc/ipc_rpmsg_echo_linux/am64x-evm/r5fss0-0_freertos/ti-arm-clang
    ❯ make
    ...
    Compiling: am64x:r5fss0-0:freertos:ti-arm-clang ipc_rpmsg_echo_linux.release.out: ../../../ipc_rpmsg_echo.c
    /home/josua-sr/ti/ccs1250/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -Wall -Werror -g -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function  -Os  -I/home/josua-sr/ti/ccs1250/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/include/c -I/home/josua-sr/ti/mcu_plus_sdk_am64x_09_01_00_41/source -I/home/josua-sr/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include -I/home/josua-sr/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F -I/home/josua-sr/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f -Igenerated   -DSOC_AM64X   -MMD -o obj/release//ipc_rpmsg_echo.obj ../../../ipc_rpmsg_echo.c
    /home/josua-sr/ti/ccs1250/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

    Once I had resolved libtinfo5.so on my system, CCS detects the clang toolchains just fine.