Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 19528

When i compile error is appeard ?!

$
0
0

When I include most any library in any sketch ,An error in appeared ,Even "Wire.h" library make error !
For example when i compile this code :

 

include"wire.h"

void setup() {}

void loop() {}

 

I get this error :

 

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

 

C:\Users\Sherif Gamal\Documents\Arduino\libraries\Wire\utility\twi.c:25:20: fatal error: avr/io.h: No such file or directory

compilation terminated.

C:\Users\Sherif Gamal\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.

 

another example :when i compile this

 

#include<Servo.h>

void setup() {}

void loop() {}

 

I get this error :

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

 

C:\Users\Sherif Gamal\Documents\Arduino\libraries\Servo\Servo.cpp:45:27: fatal error: avr/interrupt.h: No such file or directory

compilation terminated.

 

  This report would have more information with

  "Show verbose output during compilation"

  enabled in File > Preferences.

 

I can't imagine How "Wire.h" make error ?! it's supported I think .

Any any one can help my, If i didn't fix it Galileo board would be a normal processor with input output pins for me !


Viewing all articles
Browse latest Browse all 19528

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>