Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

SDK • Re: How to compile C++ in rpi pico

$
0
0
I looked around and found that I had to add this in my CMakeLists.txt

Code:

set(CMAKE_CXX_STANDARD 17)
and changed the file I am trying to compile from C to Cpp. And it worked!

Statistics: Posted by harsh20 — Thu Dec 05, 2024 11:03 am



Viewing all articles
Browse latest Browse all 8374

Trending Articles