Library build fails on PlatformIO project
Opened this issue · 1 comments
hpsaturn commented
When you adding the library on PlatformIO, it tries to compile the main.cc
, and fails. This file is in the src
directory of the library. If you remove this file (main.cc), everything works fine. I think that maybe is a wrong directory project schema.
PMSensor-HPMA115/src/main.cc:4:10: fatal error: SoftwareSerial.h: No such file or directory
Provisional workaround: remove main.cc