I'm trying to compile the LSM303 library from Pololu for the Teensy 3.1
I'm using 1.0.6 with the Teensy3.1 installer on top.
I'm getting this error:
and a few more.
The problem is: It's trying to compile the RobotControl library.
None of the files in my project mention or make use of RobotControl.
The only other note about this I've found is on Adafruit support forums:
http://forums.adafruit.com/viewtopic.php?f=47&t=46507
The fix there was to delete the RobotControl library from the installed Arduino. While I'm OK doing that, I'd love to know what's going wrong in the first place -- why is it trying to build this?
I'm using 1.0.6 with the Teensy3.1 installer on top.
I'm getting this error:
Code:
Arduino: 1.0.6 + Td: 1.20 (Windows NT (unknown)), Board: "Teensy 3.1"
C:\code\arduino-1.0.6\hardware\tools\arm-none-eabi\bin\arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mcpu=cortex-m4 -DF_CPU=72000000 -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -mthumb -nostdlib -D__MK20DX256__ -DTEENSYDUINO=120 -fno-rtti -felide-constructors -std=gnu++0x -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IC:\code\arduino-1.0.6\hardware\teensy\cores\teensy3 -IC:\code\arduino-1.0.6\libraries\Wire -IC:\code\arduino-1.0.6\libraries\Robot_Control -IC:\code\arduino-1.0.6\libraries\Robot_Control\utility C:\code\arduino-1.0.6\libraries\Robot_Control\ArduinoRobot.cpp -o C:\Users\jwatte\AppData\Local\Temp\build3078802193584194682.tmp\Robot_Control\ArduinoRobot.cpp.o
In file included from C:\code\arduino-1.0.6\libraries\Robot_Control\Fat16.h:29:0,
from C:\code\arduino-1.0.6\libraries\Robot_Control\SquawkSD.h:4,
from C:\code\arduino-1.0.6\libraries\Robot_Control\ArduinoRobot.h:6,
from C:\code\arduino-1.0.6\libraries\Robot_Control\ArduinoRobot.cpp:1:
C:\code\arduino-1.0.6\libraries\Robot_Control/SdCard.h:76:2: error: #error unknown CPU
C:\code\arduino-1.0.6\libraries\Robot_Control/SdCard.h:91:36: error: 'SPI_SS_PIN' was not declared in this scope
C:\code\arduino-1.0.6\libraries\Robot_Control\ArduinoRobot.cpp: In constructor 'RobotControl::RobotControl()':
C:\code\arduino-1.0.6\libraries\Robot_Control\ArduinoRobot.cpp:8:42: error: 'LCD_CS' was not declared in this scope
and a few more.
The problem is: It's trying to compile the RobotControl library.
None of the files in my project mention or make use of RobotControl.
The only other note about this I've found is on Adafruit support forums:
http://forums.adafruit.com/viewtopic.php?f=47&t=46507
The fix there was to delete the RobotControl library from the installed Arduino. While I'm OK doing that, I'd love to know what's going wrong in the first place -- why is it trying to build this?