Conan and Raspberry Pico, how to use together?

  c++, cmake, conan, raspberry-pi, sdk

Good morning!

It’s already some days that I’m trying to configure the package manager, Conan, for my project for Rpi Pico.

I’m using Mac and Clion.
The two separate things are working correctly (I mean, if I follow the basic examples on respective projects).

Have someone the correct receipt for use SDK pico with Conan?

Current problem:

CMake Error at cmake-build-release/conanbuildinfo.cmake:512 (message):
  Detected a mismatch for the compiler version between your conan profile
  settings and CMake:

  Compiler version specified in your conan profile: 12.0

  Compiler version detected in CMake: 9.2

If I disable it by setting the CONAN_DISABLE_CHECK_COMPILER then I have this next error:

...
[ 16%] Linking CXX executable bin/main.elf
/usr/local/bin/arm-none-eabi-objcopy: 'main.elf': No such file
make[3]: *** [bin/main.elf] Error 1
make[3]: *** Deleting file `bin/main.elf'
make[2]: *** [CMakeFiles/main.dir/all] Error 2
make[1]: *** [CMakeFiles/main.dir/rule] Error 2

Hope for some help! 🙂

Source: Windows Questions C++

LEAVE A COMMENT