Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I working on my Windows PC with Zephyr and Zephyr SDK installed locally. The path to the Zephyr Toolchain is set from cmd line windows. I am getting the following error while building the application. Let me know if anyone would like to guide me to resolve this.
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/Users/myWrk/devZephyr/zephyr/samples/basic/blinky
-- CMake version: 3.30.2
-- Cache files will be written to: C:/Users/myWrk/devZephyr/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/Users/myWrk/devZephyr/zephyr)
-- Found west (found suitable version "1.3.0", minimum required is "0.14.0")
CMake Warning at C:/Users/myWrk/devZephyr/zephyr/cmake/modules/boards.cmake:110 (message):
Deprecated BOARD=sam_v71_xult specified, board automatically changed to:
sam_v71_xult/samv71q21.
Call Stack (most recent call first):
C:/Users/myWrk/devZephyr/zephyr/cmake/modules/zephyr_default.cmake:132 (include)
C:/Users/myWrk/devZephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/Users/myWrk/devZephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:4 (find_package)
-- Board: sam_v71_xult, qualifiers: samv71q21
-- Found host-tools: zephyr 0.17.0 (C:/Program Files/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (C:/Program Files/zephyr-sdk-0.17.0)
-- Found BOARD.dts: C:/Users/myWrk/devZephyr/zephyr/boards/atmel/sam/sam_v71_xult/sam_v71_xult_samv71q21.dts
-- Generated zephyr.dts: C:/Users/myWrk/devZephyr/zephyr/samples/basic/blinky/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/myWrk/devZephyr/zephyr/samples/basic/blinky/build/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/myWrk/devZephyr/zephyr/samples/basic/blinky/build/zephyr/dts.cmake
Parsing C:/Users/myWrk/devZephyr/zephyr/Kconfig
Loaded configuration 'C:/Users/myWrk/devZephyr/zephyr/samples/basic/blinky/build/zephyr/.config'
No change to configuration in 'C:/Users/myWrk/devZephyr/zephyr/samples/basic/blinky/build/zephyr/.config'
No change to Kconfig header in 'C:/Users/myWrk/devZephyr/zephyr/samples/basic/blinky/build/zephyr/include/generated/zephyr/autoconf.h'
-- LIBGCC_FILE_NAME:
-- C Compiler: C:/Program Files/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- Toolchain C Flags: -mcpu=cortex-m7;-mthumb;-mabi=aapcs;-mfp16-format=ieee;-mtp=soft;--sysroot=C:/Program Files/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi
CMake Error at C:/Users/myWrk/devZephyr/zephyr/cmake/compiler/gcc/target.cmake:120 (message):
LIBGCC_FILE_NAME is not set. Please check your GCC installation.
Call Stack (most recent call first):
C:/Users/myWrk/devZephyr/zephyr/cmake/modules/FindTargetTools.cmake:103 (include)
C:/Users/myWrk/devZephyr/zephyr/cmake/modules/kernel.cmake:25 (find_package)
C:/Users/myWrk/devZephyr/zephyr/cmake/modules/zephyr_default.cmake:141 (include)
C:/Users/myWrk/devZephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/Users/myWrk/devZephyr/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
←[91mFATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' -DWEST_PYTHON=C:/Python311/python.exe '-BC:\Users\myWrk\devZephyr\zephyr\samples\basic\blinky\build' -GNinja '-SC:\Users\myWrk\devZephyr\zephyr\samples\basic\blinky'
Beta Was this translation helpful? Give feedback.
All reactions