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

Library build fails on PlatformIO project #22

Open
hpsaturn opened this issue Aug 7, 2023 · 1 comment
Open

Library build fails on PlatformIO project #22

hpsaturn opened this issue Aug 7, 2023 · 1 comment

Comments

@hpsaturn
Copy link

hpsaturn commented Aug 7, 2023

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
Copy link
Owner

jedp commented Sep 12, 2023

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

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

2 participants