VS Code SDK install failure

Have tried several times to install the SDK into VS code without success. This is one of the errors I am getting:

Failed to register SDK installation: west failed with code -4058 (cmd 'west zephyr-export) (cwd 'd:\ncs\v3.3.0'):
The SDK will not be detected by VSCode before the CMake Package Registry is corrected for the Zephyr package: d:\ncs\v3.3.0
[11:17:50] Unable to find the toolchain at path:  C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
[11:17:50] Unable to find the toolchain at path:  C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk/gnu/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
I also tried reinstalling without success. Do I need to stall more than "nRF Connect for VS Code Extension Pack  v2025.4.4" before installing the SDK? 
Parents Reply
  • I found an issue with the build conf. Fixed it, but still getting this error:

    C:/ncs/v3.3.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
    template/CMakeLists.txt:10 (find_package)


    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\936afb6332\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/936afb6332/opt/bin/python.exe '-Bd:\Active\firealarm\firealarm\build_1' -GNinja -DBOARD=nrf54lm20dk/nrf54lm20b/cpuapp -DCONFIG_DEBUG_THREAD_INFO=y '-SC:\ncs\v3.3.0\zephyr\share\sysbuild'

Children
  • Hi David,

    I have noticed that you have been using two different toolchains. If you are building with nRF Connect SDK v3.3.0, the toolchain with the hash 936afb6332 is the correct one. The one you used earlier (dcbdc366a1) belongs to v3.4.0.

    I am currently trying to reproduce the error on my end. In the meantime, could you check the build output in the nRF Connect terminal? Specifically, I would like to know whether you see a line beginning with "CMake Error at" and a "Call Stack (most recent call first):" block above the two lines you sent me. The image below shows what this looks like on my setup.

    Regards,
    Nissanth Karunanithy

Related