Timeline for include directive for external libraries
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Jun 16 at 8:25 | history | edited | Greenonline | CC BY-SA 4.0 |
Code formatting and grammar
|
| Jun 11 at 1:38 | review | Suggested edits | |||
| S Jun 16 at 8:25 | |||||
| Jun 9 at 9:40 | comment | added | hcheung |
The ** after the library folder tell the VSCode to looks recursively within the libraries folder. You are missing that. Anyway, if you can use PlatformIO, then use it as Microsoft has deprecated the VSCode Arduino Extensions and now it is managed by some volunteers as a Community fork. folks.
|
|
| Jun 8 at 20:58 | answer | added | Alex 75 | timeline score: 1 | |
| Jun 8 at 20:55 | comment | added | Alex 75 | Replaced Arduino Community extension with PlatformIO IDE extension and all fine. | |
| Jun 8 at 16:22 | history | edited | Alex 75 | CC BY-SA 4.0 |
Add a try to solve the problem
|
| Jun 8 at 13:13 | history | edited | Alex 75 | CC BY-SA 4.0 |
Add more details
|
| Jun 8 at 13:07 | comment | added | Alex 75 | My VS Code project contains the Source folder (where I store the skectches) so I believe it is correct how I used it. Anyway, I added the full path too: "${workspaceFolder}/Source/libraries/Adafruit_GFX_Library" AND "d:/Alex/Hobbies/Electronic/Learning Arduino/Source/libraries/Adafruit_GFX_Library" but still, the intellisense is OK, but not the build (Adafruit_GFX.h not found). So, I believe the build is NOT looking at the c_cpp_properties.json file at all. I'm wondering if the build is more "picky" and doesn't like the "Arduino Learning" path with a space... | |
| Jun 8 at 0:46 | comment | added | hcheung |
${workspaceFolder} is your current sketch folder, so the path for the library directory is not correct. The "includePath" path should be D:/Alex/Hobbies/Electronic/Learning Arduino/Source/lirbaries/**.
|
|
| S Jun 7 at 21:43 | review | First questions | |||
| Jun 7 at 23:36 | |||||
| S Jun 7 at 21:43 | history | asked | Alex 75 | CC BY-SA 4.0 |