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

Re: Adafruit motor shield lib sample program compilation error

$
0
0

I made changes in .cpp files, but when I tried to compile DCMotorTest I got a different/following error message:

 

===================ERROR Message===========================

Arduino: 1.5.3-Intel.1.0.4 (Windows 7), Board: "Intel® Edison"

 

 

C:\arduino-1.5.3-Intel.1.0.4/hardware/tools/edison/sysroots/i686-pokysdk-mingw32/usr/bin/i586-poky-linux/i586-poky-linux-g++ -m32 -march=i586 --sysroot=C:\arduino-1.5.3-Intel.1.0.4/hardware/tools/edison/sysroots/core2-32-poky-linux -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -D__ARDUINO_X86__ -march=i686 -m32 -DARDUINO=153 -IC:\arduino-1.5.3-Intel.1.0.4\hardware\arduino\edison\cores\arduino -IC:\arduino-1.5.3-Intel.1.0.4\hardware\arduino\edison\variants\edison_fab_c -IC:\arduino-1.5.3-Intel.1.0.4\libraries\Robot_Control -IC:\arduino-1.5.3-Intel.1.0.4\libraries\AdafruitMotorShield C:\Users\pksangha\AppData\Local\Temp\build7128611871585523794.tmp\DCMotorTest.cpp -o C:\Users\pksangha\AppData\Local\Temp\build7128611871585523794.tmp\DCMotorTest.cpp.o

 

 

C:\arduino-1.5.3-Intel.1.0.4/hardware/tools/edison/sysroots/i686-pokysdk-mingw32/usr/bin/i586-poky-linux/i586-poky-linux-gcc -m32 -march=i586 --sysroot=C:\arduino-1.5.3-Intel.1.0.4/hardware/tools/edison/sysroots/core2-32-poky-linux -c -g -Os -w -ffunction-sections -fdata-sections -MMD -D__ARDUINO_X86__ -march=i686 -m32 -DARDUINO=153 -IC:\arduino-1.5.3-Intel.1.0.4\hardware\arduino\edison\cores\arduino -IC:\arduino-1.5.3-Intel.1.0.4\hardware\arduino\edison\variants\edison_fab_c -IC:\arduino-1.5.3-Intel.1.0.4\libraries\Robot_Control -IC:\arduino-1.5.3-Intel.1.0.4\libraries\AdafruitMotorShield -IC:\arduino-1.5.3-Intel.1.0.4\libraries\Robot_Control\utility C:\arduino-1.5.3-Intel.1.0.4\libraries\Robot_Control\glcdfont.c -o C:\Users\pksangha\AppData\Local\Temp\build7128611871585523794.tmp\Robot_Control\glcdfont.c.o

 

 

C:\arduino-1.5.3-Intel.1.0.4\libraries\Robot_Control\glcdfont.c:1:20: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

                    ^

compilation terminated.

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


Viewing all articles
Browse latest Browse all 18089

Trending Articles



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