Open jBernavaPrah opened 3 years ago
Hi @jBernavaPrah
It would be great to do it with a known recipe, to be able to reproduce on our side.
This "hello world" example, can be easily created with conan new
command.
A couple of notes. Depending on the stability constraints, it might be better to use modern Conan features:
conan new hello/0.1 -m=v2_cmake
for example).Thanks for your information. Unfortunately, I don't have enough knowledge to create a working recept.
But I can give you a working project for Raspberry pico (super simple) that compiles and work with standard Mac - Clion settings. This project uses the "SDK C++" from Raspberry Pico.
From my limited knowledge of C++ and compilers, what I think is missing to Conan (based on my project) is all configurations that pico_sdk_init.cmake
(included by pico_sdk_import.cmake) automatically add to the compiler.
Therefore I think I have two possibilities:
[conf]
section the tools.cmake.cmaketoolchain:user_toolchain=$path/pico_sdk_import.cmake
but the output of thee command conan install . --build=missing
is not changing.
Good morning,
What is the correct profile to use to compile from mac (CLion) to Raspberry PICO?
I have already read and reread the examples from cross building but I'm not able to compile! :(
Thanks a lot!!, JBP
PS: This is my current profile:
And the error that I receive is: