jedp/PMSensor-HPMA115

Library build fails on PlatformIO project

Opened this issue · 1 comments

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

jedp commented

Thanks for the report and the workaround, @hpsaturn. I'll take a look!