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

lib dependencies not calculated correctly if src_dir is changed #942

Spongman opened this Issue Apr 18, 2017 · 1 comment


None yet
2 participants

Spongman commented Apr 18, 2017


Operating system:

PlatformIO Version (platformio --version):
PlatformIO, version 3.3.0

Description of problem

platformio doesn't find references to built-in libraries if the src_dir is changed.

Steps to Reproduce

  1. set src_dir = .
  2. in ./Foo.ino: #include <SPI.h>
  3. build

Actual Results

..../Foo.ino:2:17: fatal error: SPI.h: No such file or directory

If problems with PlatformIO Build System:

The content of platformio.ini:

src_dir = .

Source file to reproduce issue:

// Foo.ino
#include <SPI.h>

Additional info

@ivankravets ivankravets added the bug label Apr 27, 2017

@ivankravets ivankravets added this to the 3.4.0 milestone Apr 27, 2017


This comment has been minimized.

Show comment
Hide comment

ivankravets Apr 27, 2017


Thanks a lot for the report!


ivankravets commented Apr 27, 2017

Thanks a lot for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment