Windows 11, NCS v2.3.0, VSCode
I installed ncs v2.3.0 via the nrf desktop app.
I opened vscode, opened an nRF Connect console, and issued the command:
west build -b qemu_x86 samples/hello_world
I was expecting this to work because of the zephyr 3.2.0 guide: docs.zephyrproject.org/.../beyond-GSG.html
PS C:\Users\dougl> cd C:\ncs\v2.3.0\zephyr\ PS C:\ncs\v2.3.0\zephyr> west build -b qemu_x86 samples/hello_world -- west build: generating a build system Loading Zephyr default modules (Zephyr base (cached)). -- Application: C:/ncs/v2.3.0/zephyr/samples/hello_world -- Using NCS Toolchain 2.3.0 for building. (C:/ncs/toolchains/v2.3.0/cmake) -- Cache files will be written to: C:/ncs/v2.3.0/zephyr/.cache -- Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr) -- Found west (found suitable version "0.14.0", minimum required is "0.7.1") -- Board: qemu_x86 -- Found host-tools: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk) -- Found toolchain: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk) -- Found BOARD.dts: C:/ncs/v2.3.0/zephyr/boards/x86/qemu_x86/qemu_x86.dts -- Generated zephyr.dts: C:/ncs/v2.3.0/zephyr/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.3.0/zephyr/build/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.3.0/zephyr/build/zephyr/dts.cmake Parsing C:/ncs/v2.3.0/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.3.0/zephyr/build/zephyr/.config' No change to configuration in 'C:/ncs/v2.3.0/zephyr/build/zephyr/.config' No change to Kconfig header in 'C:/ncs/v2.3.0/zephyr/build/zephyr/include/generated/autoconf.h' CMake Error at C:/ncs/v2.3.0/zephyr/cmake/compiler/gcc/target.cmake:43 (message): C compiler C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gcc not found - Please check your toolchain installation Call Stack (most recent call first): C:/ncs/v2.3.0/zephyr/cmake/modules/FindTargetTools.cmake:102 (include) C:/ncs/v2.3.0/zephyr/cmake/modules/kernel.cmake:25 (find_package) C:/ncs/v2.3.0/zephyr/cmake/modules/zephyr_default.cmake:117 (include) C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate) CMakeLists.txt:5 (find_package) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\ncs\toolchains\v2.3.0\opt\bin\python.exe' '-BC:\ncs\v2.3.0\zephyr\build' -GNinja '-SC:\ncs\v2.3.0\zephyr\samples\hello_world' PS C:\ncs\v2.3.0\zephyr>
Can you tell me what isn't working and how to fix it?
This also didn't work for the native_posix.
Thanks.