Have tried several times to install the SDK into VS code without success. This is one of the errors I am getting:
Have tried several times to install the SDK into VS code without success. This is one of the errors I am getting:
Same error code for me. Fresh install on Windows 11. Installed vscode, then tried to install nRF Connect SDK.
Output below:
[14:02:06] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Checking downloads for v3.4.0 [14:02:06] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Download toolchain v3.4.0 [14:06:00] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Toolchain downloaded: success [14:06:00] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Unpack toolchain v3.4.0 [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Toolchain unpacked to C:\ncs\tmp\.tmp8ZRnIk: success [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Install toolchain v3.4.0 [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Toolchain installed at C:\ncs\toolchains\dcbdc366a1: success [14:06:40] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Download SDK v3.4.0 [14:17:30] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Result: success [14:17:30] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Calculating SDK checksum [14:17:34] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Verified download: success [14:17:34] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Unpack SDK v3.4.0 [14:19:48] nrfutil-sdk-manager install v3.4.0 --sdk-path c:\ncs\v3.4.0 --type nrf: Unpacked SDK tarball: success [west]: exited with code -4058. Failed to register SDK installation: west failed with code -4058 (cmd 'west zephyr-export) (cwd 'c:\ncs\v3.4.0'): The SDK will not be detected by VSCode before the CMake Package Registry is corrected for the Zephyr package: c:\ncs\v3.4.0
Hi David,
I noticed that the SDK and toolchain are installed on different drives. The SDK appears to be on d:\ drive, and the toolchain on C:\ drive. Could you confirm whether you have a d:\ drive at all? Could you reinstall both the SDK and toolchain under the same root directory to see whether that resolves the issue?
Regards,
Nissanth Karunanithy
I have installed the toolchain on D: and attempted to install the SDK on D: as well
I reinstalled the in drive C: instead of D: and it did confirm that it successfully installed. After closing and reopening VS Code, I am still getting this message.
"Unable to build: SDK not found. Ensure that a valid SDK is used for the build configuration."
Please advise next steps.