This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CMAKE Error

Hello, I am receiving the error below when trying to build an application using the command: 

C:\Nordic\ncs\nrf\applications\asset_tracker\build>cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=C:/Nordic/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Nordic/ncs/nrf/applications/asset_tracker/build -HC:/Nordic/ncs/nrf/applications/asset_tracker

CMake Error at CMakeLists.txt:11 (include):
include could not find load file:

/cmake/app/boilerplate.cmake


-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:12 (project):
No CMAKE_C_COMPILER could be found.

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.