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

Cannot compile Zephyr Project using CMD

Dear All,

I am trying to compile an application based on the Zephyr project for the nrf52. I am following the instructions from here.

I am using Windows. Using SES everything works as expected (the program compiles).

When I try to run the command to build an application from the available samples, I get the following message:

-- west build: build configuration:
       source directory: c:\ncs\zephyr\samples\basic\blinky
       build directory: c:\ncs\zephyr\build
       BOARD: nrf52_pca10040 (origin: CMakeCache.txt)
-- west build: building application
Error: could not find CMAKE_PROJECT_NAME in Cache
ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'c:\ncs\zephyr\build'


Since Zephyr is used also for the nrf9160 programming, perhaps someone here knows/understands what is the problem.

Thank you very much

Parents Reply Children
No Data
Related