Can't Find SPI.h

So I’m using the SD card library and I’m getting this error message:

C:\Program Files (x86)\Arduino\libraries\SD\src\utility\Sd2Card.cpp:26:17: fatal error: SPI.h: No such file or directory
#include <SPI.h>

How do I fix it?

Have you #included SPI.h in your main program ?

Have you installed the SPI library? See

https://www.arduino.cc/en/Guide/Libraries

for details.

Have you installed the SPI library?

SPI is a core library, so this is a silly question.

PaulS -

I realized that right after I pushed the Post button. You are correct. I am sorry!

-- vaj4088

I forgot to include SPI.h in the main program. Thanks!

where do i find the spi.h to install it?

iambobg: where do i find the spi.h to install it?

SPI is a built in library. You do not have to install it.