Errors after Windows 10 upgrade...

I recently upgraded to Windows 10 on my gaming rig, and have come to find that Arduino will not allow me to upload one of my sketches.

Unfortunately I am not sufficiently experienced to understand exactly what is amiss. Hopefully someone can help me to sort this out.

Here is the error I am receiving:

C:\Program Files (x86)\Arduino\libraries\SD\src
C:\Program Files (x86)\Arduino\libraries\SD\src\utility\Sd2Card.cpp -o C:\Users\Jacob\AppData\Local\Temp\build1985617886468058794.tmp\SD\utility\Sd2Card.cpp.o 

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>
                 ^
compilation terminated.


Error compiling.

I have verified that there is indeed an SPI.h file located within the folder in question, but I am not certain if it is an issue with the file itself or not, and as such attempted to replace the file, but unfortunately the issue at hand is still… Well… At hand…

Thanks!!!

Which version of arduino IDE did you use before the upgrade?

Can you post your code?

Sorry for the delay in my response.

I am using version 1.6.5.

As for the code, it is quite long, and I am confident that it would have taken me quite a few posts to get it to you, so I will simply make a file on dropbox that you can get to...

HERE is the link to the code in use.