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

cmake not found error

I started getting an error today when attempting to load the nRF9160 sample projects.  I've been working with the DK and the samples for several months and had no issues.  I get the below error pop-up when I attempt to load a project.  The only error information given is 'cmake not found.'  I've checked the paths and ensured that everything appears correct.  Any idea what the issue is?  The error 'cmake not found' seems to imply that I'm not pointing to the right location, but I am.  The transcript in EMStudio doesn't give any useful info.  I gave up trying to work with my own code and am now strictly trying to get the samples to work.  I've copied the error messages below as well as the cmake file for the coap_client example.

#
# Copyright (c) 2019 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#

cmake_minimum_required(VERSION 3.8.2)

include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(nrf-coap-client)

# NORDIC SDK APP START
target_sources(app PRIVATE src/main.c)
# NORDIC SDK APP END

Parents
  • Figured it out.  Apparently cmake.exe got removed from my Global Path on my computer.  So when I tried to load projects it couldn't find cmake.exe to actually run.  I installed some new software from our IT department yesterday and it must have modified the Global Path variables and deleted cmake.  Anyway, just had to add it back to path and now it loads fine.

Reply
  • Figured it out.  Apparently cmake.exe got removed from my Global Path on my computer.  So when I tried to load projects it couldn't find cmake.exe to actually run.  I installed some new software from our IT department yesterday and it must have modified the Global Path variables and deleted cmake.  Anyway, just had to add it back to path and now it loads fine.

Children
No Data
Related