ArmDeveloperEcosystem / microphone-library-for-pico

Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. 🎤
Apache License 2.0
253 stars 50 forks source link

Examples refuse to compile #14

Closed make-42 closed 2 years ago

make-42 commented 2 years ago

For some reason the examples don't compile on my computer... It can't find "pico/pdm_microphone.h" even though the library is linked in the cmakelists.txt file... Can you help me please?

/home/ontake/Downloads/pTuna/Firmware/microphone-library-for-pico/examples/usb_microphone/main.c:15:10: fatal error: pico/pdm_microphone.h: No such file or directory
   15 | #include "pico/pdm_microphone.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/usb_microphone.dir/build.make:76: CMakeFiles/usb_microphone.dir/main.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1328: CMakeFiles/usb_microphone.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
make-42 commented 2 years ago

My bad!