12/3/2023 0 Comments Cmake set gcc![]() See also "C:/Projects/RPico/blink/build/pioasm/CMakeFiles/CMakeError.log". See also "C:/Projects/RPico/blink/build/pioasm/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! ![]() To the compiler, or to the compiler name if it is in the PATH. Variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path Tell CMake where to find the compiler by setting either the environment The CXX compiler identification is unknownĬMake Error at CMakeLists.txt:2 (project): Loading initial cache file C:/Projects/RPico/blink/build/pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/tmp/PioasmBuild-cache-Release.cmake Performing configure step for 'PioasmBuild'įAILED: pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/src/PioasmBuild-stamp/PioasmBuild-configure C:/Projects/RPico/blink/build/pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/src/PioasmBuild-stamp/PioasmBuild-configureĬmd.exe /C "cd /D C:\Projects\RPico\blink\build\pioasm & "C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_MAKE_PROGRAM:FILEPATH=C:/Ninja/ninja.exe -GNinja -CC:/Projects/RPico/blink/build/pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/tmp/PioasmBuild-cache-Release.cmake C:/Projects/RPico/pico-sdk/tools/pioasm & "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/Projects/RPico/blink/build/pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/src/PioasmBuild-stamp/PioasmBuild-configure" PS C:\Projects\RPico\blink\build> cmake -build. The problem comes when I want to build the project. Build files have been written to: C:/Projects/RPico/blink/build Mbedtls available at C:/Projects/RPico/pico-sdk/lib/mbedtls LwIP available at C:/Projects/RPico/pico-sdk/lib/lwip Pico W Bluetooth build support available. TinyUSB available at C:/Projects/RPico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040 enabling build support for USB.īTstack available at C:/Projects/RPico/pico-sdk/lib/btstackĬyw43-driver available at C:/Projects/RPico/pico-sdk/lib/cyw43-driver Found Python3: C:/Users/husar/AppData/Local/Programs/Python/Python310/python.exe (found version "3.10.9") found components: Interpreter Using board configuration from C:/Projects/RPico/pico-sdk/src/boards/include/boards/pico.h ![]() Check for working CXX compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 rel1/bin/arm-none-eabi-g++.exe - skippedĭefaulting PICO target board to pico since not specified. Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 rel1/bin/arm-none-eabi-gcc.exe - skipped Found assembler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 rel1/bin/arm-none-eabi-gcc.exe The CXX compiler identification is GNU 12.2.1 The C compiler identification is GNU 12.2.1 Defaulting build type to 'Release' since not specified. PICO_SDK_PATH is C:/Projects/RPico/pico-sdkĭefaulting PICO_PLATFORM to rp2040 since not specified.ĭefaulting PICO platform compiler to pico_arm_gcc since not specified. Using PICO_SDK_PATH from environment ('C:\Projects\RPico\pico-sdk') goes without any problem: PS C:\Projects\RPico\blink\build> cmake. These executables are in my path, I can call them in terminal and even CMake finds them. Set(CMAKE_CXX_COMPILER arm-none-eabi-g++) ![]() In my cmake I have these variables: set(CMAKE_C_COMPILER arm-none-eabi-gcc) So far so good.īut I cannot convince pico-sdk to compile “the way I want”. I have setup VS 2022, CMake 3.25, ARM GNU toolchain, Ninja. Hi! After several hours of trying to build blink with pico-sdk “the harder way :)” (mostly playing with CMake and learning), I am coming for help.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |