-
Notifications
You must be signed in to change notification settings - Fork 233
warning with default includePath after initialize, cannot open source file "avr/pgmspace.h" #818
Comments
cannot open source file "avr/pgmspace.h"
same issue in linux |
This issue has been automatically marked as stale and closed because it has not had recent activity. Please feel free to open a new issue if you would like further discussion. Thank you for your contributions. |
Having same issue. Here is error message:
|
Same issue under Ubuntu 18.04 I searched for the file using Change the |
thank you schupat, |
could you quote the absolute path, it's still throwing up errors |
I get the same thing in windows? I added to |
I solve it adding the follow line in the file: c_cpp_properties.json |
when I did a normal initialize in a new folder just now and made a default ino file, I immediately got this error:
cannot open source file "avr/pgmspace.h" (dependency of "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Arduino.h")
well, warning not error. nevertheless, to fix it I had to add this to includePath:
"C:\\\\Program Files (x86)\\\\Arduino\\\\hardware\\\\tools\\\\avr\\\\avr**"
If a default ino script with no additional libraries or anything is giving me this warning because that wasn't in includePath, should that not just be in includePath by default?
I'm on the latest version,
0.2.25
.The text was updated successfully, but these errors were encountered: