V2.3.0 build of ncs-example-application fails

I am not sure what happened. I started with the main branch of ncs-example-application and I was able to build it. I then noticed it wasn't 2.3.0 so I instead checked that out and tried to build that in the same exact way and it failed. I uninstalled everything (everything!) and reinstalled everything. And I still cannot build the 2.3.0 version. For giggles I tried to build the main branch again and it failed. I have no idea what has changed. Below is the error.

I tried setting CC and CXX to no avail. Below is after a clean install without me touching CC nor CXX.

Parents Reply
  • Nope, doesn't work for me neither.

    I wonder why the project doesn't include the cmake project() command.

    But it fails to find a C compiler although I started the bash comman prompt from the NRF toolchain manager (Windows 11) and unset the ZEPHYR_BASE environment variable from there.

    The CMakeLists.txt is missing some lines:

    cmake_minimum_required(VERSION 3.20.0)

    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    project(workspace-sample)

    edit: nevermind! The actual application is in the /app/ subdirectory!
Children
No Data
Related