steve3d / arduino-vscode

Arduino IDE support for VSCode
23 stars 7 forks source link

Include file not found in include path #24

Open dorward opened 7 years ago

dorward commented 7 years ago

On MacOS, with my config changed to include "arduino.libraryPath": "/Users/david/Documents/Arduino/libraries", when I click the Arduino: Build icon, the Problems file lists "Include file not found in include path" for every #include in the ino file.

Some of these includes are found in /Users/david/Documents/Arduino/libraries and others in /Applications/Arduino.app/Contents/Java/libraries.

The file compiles without a problem if I do it from the Arduino IDE (I'm using the version from arduino.cc).

drberg commented 7 years ago

I have these settings in my settings.json file in Windows: "arduino.idePath": "C:\\Program Files (x86)\\Arduino", "arduino.libraryPath": "D:\\magnus\\Documents\\Arduino\\libraries", "arduino.serialPort": "COM4", "arduino.fqbn": "arduino:avr:unowifi" I also get the "Incode file not found in include path.", but I can compule and upload anyway. Is there some setting you're missing?

By the way, I agree this is an issue. So if anyone can advise on how to remove this problem, that would be great!