Arduino.h

Hello,
On a MacBookPro, OSX 10.13.6 Hiugh Sierra)

bit of trouble to get embedXcode working.
To try to solve the problem I upgraded to Arduino 1.8.6
But now the compiler stops with the message: Arduino.h : no such file or directory.
Used an Arduino Uno and an Arduino Ehternet with same result.

Where is this header supposed to be?

Thanks

(deleted)

Polcolin:
But now the compiler stops with the message: Arduino.h : no such file or directory.

When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here using code tags (</> button on the toolbar). That complete output might give us some important information.

Polcolin:
Where is this header supposed to be?

The short answer is {Arduino IDE installation folder}/hardware/arduino/avr/cores/arduino. Indeed you will find the file there, but that might not be the file actually in use by the Arduino IDE since when you install another version of Arduino AVR Boards via Boards Manager it is saved to a different location. The easiest way to find the active hardware package location is as follows:

  • Tools > Board > Arduino Genuino Uno
  • File > Examples > SPI > BarometricPressureSensor
  • Sketch > Show Sketch Folder
  • Move up folder levels until you reach the one that contains boards.txt
  • You will find Arduino.h under the cores/arduino subfolder