Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

error: command ['cmake', '-D', 'CMAKE_BUILD_TYPE=RelWithDebInfo', '-G', 'Ninja', '.'] failed #771

Open
@georgeedwards

Description

@georgeedwards

I have just installed yotta manually on my mac, using homebrew. I followed the getting started guide exactly. I was working through the blinky first application tutorial, but I get the following log:

Unknown-88-63-df-a3-2e-e9:blinky georgeedwards$ yotta build
info: generate for target: nordic-nrf51822-armcc 1.0.0 at /Users/georgeedwards/Desktop/blinky/yotta_targets/nordic-nrf51822-armcc
warning: subdirectory "test" of blinky 0.0.0 at /Users/georgeedwards/Desktop/blinky was ignored because it doesn't appear to contain any source files


ERROR: the arm toolchain program armcc could not be found.

Note that the armcc toolchain is not available for Max OS X.

**************************************************************************
CMake Error at /Users/georgeedwards/Desktop/blinky/yotta_targets/mbed-armcc/CMake/toolchain.cmake:42 (message):
  missing program prevents build
Call Stack (most recent call first):
  /Users/georgeedwards/Desktop/blinky/yotta_targets/mbed-armcc/CMake/toolchain.cmake:47 (arm_toolchain_program_notfound)
  toolchain.cmake:8 (include)
  /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/CMakeDetermineSystem.cmake:98 (include)
  CMakeLists.txt:83 (project)


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
error: command ['cmake', '-D', 'CMAKE_BUILD_TYPE=RelWithDebInfo', '-G', 'Ninja', '.'] failed

I have aded to my project:

Unknown-88-63-df-a3-2e-e9:blinky georgeedwards$ yotta target
nordic-nrf51822-armcc 1.0.0
mbed-armcc 1.1.0

I followed the installation instructions for both windows and osx on my pc and mac, and both times I have faced the same issue. Not sure if this is an issue with the getting started guide, yotta, the nordic nrf51-DK, or most likely, my interpretation, but it is weird I have faced this using two separate machines and separate steps. I would really appreciate some guidance to get this up and running.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions