I'm trying to build the Pico SDK example and the cmake step works, but the make step gets compile errors:
/home/znmeb/amy/src/amy-example-rp2040.c: In function 'main':
/home/znmeb/amy/src/amy-example-rp2040.c:172:5: error: too few arguments to function 'example_voice_chord'
172 | example_voice_chord(0); // juno patch 0
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/znmeb/amy/src/amy-example-rp2040.c:21:
/home/znmeb/amy/src/examples.h:19:6: note: declared here
19 | void example_voice_chord(uint32_t start, uint16_t patch);
| ^~~~~~~~~~~~~~~~~~~
/home/znmeb/amy/src/amy-example-rp2040.c:176:13: error: too few arguments to function 'example_voice_chord'
176 | example_voice_chord(130); // dx7 patch 2
| ^~~~~~~~~~~~~~~~~~~
/home/znmeb/amy/src/examples.h:19:6: note: declared here
19 | void example_voice_chord(uint32_t start, uint16_t patch);
| ^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/amy_example.dir/build.make:76: CMakeFiles/amy_example.dir/amy-example-rp2040.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:2079: CMakeFiles/amy_example.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Here's the whole logfiles from cmake and make. This is on Ubuntu 24.04 with the SDK 2.0.0 (the one that works for RP2350 boards). By the way, I have some Pico 2s and I can test on those if you want.
I'm trying to build the Pico SDK example and the
cmake
step works, but themake
step gets compile errors:Here's the whole logfiles from
cmake
andmake
. This is on Ubuntu 24.04 with the SDK 2.0.0 (the one that works for RP2350 boards). By the way, I have some Pico 2s and I can test on those if you want.