![sam.h no such file or directory sam.h no such file or directory](https://community.platformio.org/uploads/default/original/2X/3/35b2c15f6b8426e1c0f2f0a66226bcfc7af83190.png)
$(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS-Atmel\1.0.0\CMSIS\Device\ATMEL\samd21\include $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS\4.5.0\Device\ATMEL\samd21\include\pio $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS\4.5.0\Device\ATMEL\samd21\include\instance $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS\4.5.0\Device\ATMEL\samd21\include\component $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS\4.5.0\CMSIS\include
![sam.h no such file or directory sam.h no such file or directory](https://i.stack.imgur.com/CDN9J.png)
$(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS\4.5.0\Device\ATMEL\samd21\include $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS\4.5.0 $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\usb $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\avr $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\1.6.10\system $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\sys $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS-Atmel\1.0.0\CMSIS\Device\ATMEL\ $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\tools\CMSIS\4.5.0\CMSIS\Include\ $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\1.6.10\variants\arduino_mzero $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\1.6.10\cores\arduino\USB $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\1.6.10\cores\arduino\avr $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\1.6.10\cores\arduino $(ProjectDir).\.\.\AppData\Local\arduino15\packages\arduino\hardware\samd\1.6.10\libraries $(ProjectDir).\.\.\.\.\Program Files (x86)\Arduino\libraries I have also checked the include paths in the 'hello.vcxproj' file. The strange thing is that I do see that the project has included this file, as it is shown in the file tree of External Dependencies, see screenshot. Currently it is on Arduino IDE: v1.6.18, SAM: v1.6.11 and SAMD: v1.6.15 (the newest version at time of writing). Through the Arduino IDE - board manager I have installed the cores for Arduino SAM Boards and SAMD Boards. I have created a new project in visual studio 2015 (using vMicro).īut I get the error: hello.ino: In file included fromĪrduino.h: 48:17: fatal error: sam.h: No such file or directory I am trying to compile a simple new project ('hello') for the Arduino M0 Pro.