2 Replies Latest reply on Jun 9, 2014 9:25 AM by JoDen

    Galileo Wire Library Problem


      I'm running into a problem with the wire library. I checked some other posts but I feel like there is something fundamentally wrong with my setup:


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



      C:\Users\wildcat\Documents\Arduino\libraries\Wire\utility\twi.c:25: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.


      This even occurs when the entire script consists of :


      #include <Wire.h>

      void setup() {

        // put your setup code here, to run once:


      void loop() {

        // put your main code here, to run repeatedly:



      I checked the Wire library and it only has two files in it(compared to other releases which have many more):




      Am I missing part of the library? It is stock from the install so  ..?


      Any help would be greatly appreciated.



        • 1. Re: Galileo Wire Library Problem

          Dear Jo, the error you observe comes from libraries/Wire/utility/twi.c. This is not the stock version under the "hardware" tree, which has not "utility" subdirectory. I would suggest, you move away C:\Users\wildcat\Documents\Arduino\libraries\Wire\, restart the arduino ide, and try the minimal example again.


          Hope this helps!

          1 of 1 people found this helpful
          • 2. Re: Galileo Wire Library Problem


            Looking at the tree, I realized that it was still trying to associate with the libraries from previous IDE versions that I thought I had deleted. Once directories were correctly associated, the correct libraries worked.


            Thanks for pointing that out,