nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

"arm-none-eabi-gcc"Not Found

Hi there:

   I were develop product with nrf52832 ,nRF5 SDK version 17.0.2 and  mesh sdk 5.0.0. And i install the toolchain on the ubuntu 20 follow the guidance https://infocenter.nordicsemi.com/index.jsp . I install the arm-none-eabi-gcc through the source code instead of apt-get install but i add the location to the PATH and test the command there was no error. But when i run the command "cmake -GNinja ..", then the output log show that there were no arm-none-eabi-gcc . How can I do to fix that?

Parents Reply Children
  • Hi,

        Thanks reply, my Arm GUN toolchain version is :gcc-arm-none-eabi-10.3-2021.10-x86_64-linux. And i build with make system but the same error was occur.

    detail error output:

    (mesh) parjing@ubuntu:~/code/nrfPrjs/Mesh/build$ sudo cmake -DSDK_ROOT=../../BleSdk ..
    -- Configuring CMake for nRF5 SDK for Bluetooth Mesh 5.0.0
    -- SDK_ROOT=/home/parjing/code/nrfPrjs/BleSdk --- set with command line ARG
    -- Setting build type to 'RelWithDebInfo' as none was specified.
    -- PC-Lint executable not found. Linting disabled.
    -- SDK: nRF5_SDK_17.0.2_d674dde
    -- Platform: nrf52832_xxAA
    -- Arch: cortex-m4f
    -- SoftDevice: s132_7.2.0
    -- Board: pca10040
    -- The C compiler identification is unknown
    -- The ASM compiler identification is unknown
    -- Didn't find assembler
    CMake Error at CMakeLists.txt:75 (enable_language):
    The CMAKE_C_COMPILER:

    arm-none-eabi-gcc

    is not a full path and was not found in the PATH.

    Tell CMake where to find the compiler by setting either the environment
    variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
    the compiler, or to the compiler name if it is in the PATH.


    CMake Error at CMakeLists.txt:75 (enable_language):
    No CMAKE_ASM_COMPILER could be found.

    Tell CMake where to find the compiler by setting either the environment
    variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
    to the compiler, or to the compiler name if it is in the PATH.


    -- Warning: Did not find file Compiler/-ASM
    -- Configuring incomplete, errors occurred!
    See also "/home/parjing/code/nrfPrjs/Mesh/build/CMakeFiles/CMakeOutput.log".
    See also "/home/parjing/code/nrfPrjs/Mesh/build/CMakeFiles/CMakeError.log".
    (mesh) parjing@ubuntu:~/code/nrfPrjs/Mesh/build$
Related