Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure of RP2040 example #250

Open
znmeb opened this issue Nov 19, 2024 · 1 comment
Open

Build failure of RP2040 example #250

znmeb opened this issue Nov 19, 2024 · 1 comment

Comments

@znmeb
Copy link

znmeb commented Nov 19, 2024

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.

@znmeb
Copy link
Author

znmeb commented Nov 19, 2024

logfiles.zip

These are the logfiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant