Skip to content

Error after update: SD.h: No such file or directory #4775

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

Closed
chessweb01 opened this issue May 29, 2018 · 1 comment
Closed

Error after update: SD.h: No such file or directory #4775

chessweb01 opened this issue May 29, 2018 · 1 comment

Comments

@chessweb01
Copy link

chessweb01 commented May 29, 2018

I'm working with NodeMCU v1.0 using the latest version of platform.io in Visual Studio Code. After an update today, I get the following compiler error:

C:\users\rsel\.platformio\packages\framework-arduinoespressif8266@src-31d658a59f41540201fc3726a1394910\libraries\ESP8266WiFi\src\CertStoreSDBearSSL.cpp:20:16: fatal
error: SD.h: No such file or directory

The Arduino SD library (v1.2.2) is installed.

@earlephilhower
Copy link
Collaborator

Please see #4740. PlatformIO uses an unsafe optimization that does not detect dependencies correctly by default (hence it doesn't see your library properly). The referenced bug has a couple fixes for the PIO configuration.

Merging with #4740 as it's the same root issue.

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