Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying demo #29

Open
benner opened this issue Jul 19, 2023 · 0 comments
Open

Error trying demo #29

benner opened this issue Jul 19, 2023 · 0 comments

Comments

@benner
Copy link

benner commented Jul 19, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant