arduino-vscode icon indicating copy to clipboard operation
arduino-vscode copied to clipboard

Include file not found in include path

Open dorward opened this issue 8 years ago • 1 comments

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).

dorward avatar Apr 12 '17 20:04 dorward

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!

drberg avatar Apr 15 '17 18:04 drberg