sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Error trying demo

Open benner opened this issue 1 year ago • 0 comments

Tried to repeat steps from README.rst and after launching Docker container and pasted workspace demo I got an error:

west build -b custom_board -d build-apps/custom_board/shell/apps.shell.release/ -s apps/shell
SDK /build/platform/sdk > west build -b custom_board -d build-apps/custom_board/shell/apps.shell.release/ -s apps/shell
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /build/platform/sdk/apps/shell
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter 
-- Cache files will be written to: /home/user/.cache/zephyr
-- Zephyr version: 3.1.0 (/build/platform/zephyr)
-- Found west (found suitable version "1.0.0", minimum required is "0.7.1")
-- Board: custom_board
-- Found host-tools: zephyr 0.15.2 (/opt/toolchains/zephyr-sdk-0.15.2)
-- Found dtc: /opt/toolchains/zephyr-sdk-0.15.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found toolchain: zephyr 0.15.2 (/opt/toolchains/zephyr-sdk-0.15.2)
-- Found BOARD.dts: /build/platform/sdk/boards/arm/custom_board/custom_board.dts
-- Generated zephyr.dts: /build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/zephyr/dts.cmake
Parsing /build/platform/zephyr/Kconfig
Loaded configuration '/build/platform/sdk/boards/arm/custom_board/custom_board_defconfig'
Merged configuration '/build/platform/sdk/apps/shell/prj.conf'
Configuration saved to '/build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/zephyr/.config'
Kconfig header saved to '/build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.15.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Error at ../../cmake/rust/FindRust.cmake:91 (message):
  Could not find Rust!
Call Stack (most recent call first):
  ../../cmake/rust/CMakeDetermineRustCompiler.cmake:7 (find_package)
  ../../CMakeLists.txt:12 (enable_language)


CMake Error: CMAKE_Rust_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/CMakeFiles/CMakeOutput.log".
See also "/build/platform/sdk/build-apps/custom_board/shell/apps.shell.release/CMakeFiles/CMakeError.log".
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/build/platform/sdk/build-apps/custom_board/shell/apps.shell.release -S/build/platform/sdk/apps/shell -GNinja -DBOARD=custom_board

benner avatar Jul 19 '23 04:07 benner