Arduino SAMD boards missing sam.h?

Hi everyone!
I'm working on a project using the mkr1000 board. I installed the SAMD boards version 1.6.16 using "board manager" in the adruino ide. However when I try to compile ANY program using the mkr1000 i get this error:

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino MKR1000"
In file included from sketch\light_test_v2.ino.cpp:1:0:
C:\Users\Ben\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.16\cores\arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory
#include "sam.h"

i'm just a beginner so i really dont know where to go from here. Any help is greatly appreciated!

Thanks,
Ben

Try updating your IDE version to 1.8.4 downloaded from here:

1.6.7 is very outdated and was not an especially good release.

Hi everyone!
I'm working on a project with the mkr1000. I installed the Arduino SAMD Boards (32 bits ARM Cortex-M0+) from "board manager" Version 1.6.16. When i try to compile ANY program it comes up with this error code:

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino MKR1000"
In file included from sketch\light_test_v2.ino.cpp:1:0:
C:\Users\Ben\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.16\cores\arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory
#include "sam.h"

I'm just a beginner and I really don't know where to go from this as I can't find the missing sam.h file online anyewhere.

Any help is greatly appreciated!

Thanks,
Ben

Threads merged.