1 2 Previous Next 15 Replies Latest reply on Jul 20, 2016 8:59 AM by Maria.Luiza

    How to find avr/io.h: No such file or directory in Galileo folder

    Wang_Xin

      I try to #include <Voice.h> in my sketch. There is an error message during verify like this:

      ==========================================

      Arduino: 1.5.3 (Windows 7), Board: "Intel® Galileo"

       

      In file included from C:\directory\arduino-1.5.3\libraries\Voice/Voice.h:9:0,

                       from Sewall_SmartHomeKit.ino:7:

      C:\directory\arduino-1.5.3\libraries\Voice/utility/PinMap.h:23:20: fatal error: avr/io.h: No such file or directory

      compilation terminated.

       

        This report would have more information with

        "Show verbose output during compilation"

        enabled in File > Preferences.

      ==========================================

       

      In other version Arduino-1.0.5-r2. There is a IO.h file under folder

      <ArduinoHome>\arduino-1.0.5-r2\hardware\tools\avr\avr\include\avr

       

      But Galileo arduino-1.5.3 folder structure under hardware\tools\ is different, like this

      <ArduinoHome>\arduino-1.5.3\hardware\tools\x86\

       

      Anyone know how to fix that? Thank you!

        1 2 Previous Next