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

lib dependencies not calculated correctly if src_dir is changed #942

Closed
Spongman opened this issue Apr 18, 2017 · 1 comment
Closed

lib dependencies not calculated correctly if src_dir is changed #942

Spongman opened this issue Apr 18, 2017 · 1 comment
Labels
Milestone

Comments

@Spongman
Copy link

Configuration

Operating system:
win10

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:

[platformio]
src_dir = .

Source file to reproduce issue:

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

Additional info

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

Thanks a lot for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants