nRF9160DK build configuration error using vs code

Hi, 

I use vs code to run nRF9160 DK applications and it runs fine for a month. But recently I cannot build configuration even in an empty application . Old good applications, new sample applications and new empty applications have the same error.

The error is: 

CMake Error at C:/ncs/v2.6.1/zephyr/cmake/modules/kconfig.cmake:358 (message):
command failed with return code: 1

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/cf2149caf2/opt/bin/python.exe '-Bc:\WORKSPACE\CR2405A10\nordic\test2\build' -GNinja -DBOARD=nrf9160dk_nrf9160_ns -DNCS_TOOLCHAIN_VERSION=NONE '-Sc:\WORKSPACE\CR2405A10\nordic\test2'

Best regards,

Liza

Parents
  • Hi Liza,

    You are getting a perimission denied error, so you are attempting to write to a location where you ar not allowed. Are you not (or no longer) an administrator on the computer? If so, you need to move the SDK to your home folder or make sure you are an administrator. You could also get this error for other reasons, for instance that the drive is full, and the OS is prenenting writing because of that.

Reply
  • Hi Liza,

    You are getting a perimission denied error, so you are attempting to write to a location where you ar not allowed. Are you not (or no longer) an administrator on the computer? If so, you need to move the SDK to your home folder or make sure you are an administrator. You could also get this error for other reasons, for instance that the drive is full, and the OS is prenenting writing because of that.

Children
Related