Porting project to platform io #670
-
I have successfully built and run the basic-a2dp-audiokit.ino sketch with the Arduino framework and was able to hear music from my mobile phone playing over headphones. I then attempted to build the same sketch with platformio in the VSCode editor and after adding in all the library dependencies, I got the following diagnostics:
#include <Wire.h> When I configured the project I selected the arduino framework. The search of the library registry didn't seem to be much help. Any thoughts on how to solve this problem? Much Appreciated! -Richard |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the error message is pretty clear: you did not add all necessary libraries: You forgot to add the Wire library! |
Beta Was this translation helpful? Give feedback.
I think the error message is pretty clear: you did not add all necessary libraries: You forgot to add the Wire library!
https://community.platformio.org/t/wire-h-not-found-platformio-latest-version/2046