All,
I installed the Msft Visual Studio Community 2013 IDE and Visual Micro add-in but have been unsuccessful at compiling fairly simple sketch. The board is a Teensy 3.1 and the IDE shows that clearly selected. Even so, I am unable to compile. The exact same code compiles without error in the Arduino 1.06 env. Below are the errors I get. I guess there's an issue with the install, but where? Can anyone suggest a solution to this madness
Regards
mummyboy
//////////// compile errors follow /////////
Compiling 'rainbow' for 'Teensy 3.1'
wiring.h:In file included from
WProgram.h:from
Arduino.h:from
OctoWS2811.h:from
rainbow.ino:from
core_pins.h:In function 'void delayMicroseconds(uint32_t)'
core_pins.h:802:6: error: 'n' was not declared in this scope
core_pins.h:810:11: error: 'n' was not declared in this scope
WProgram.h:In file included from
Arduino.h:from
OctoWS2811.h:from
rainbow.ino:from
HardwareSerial.h:In member function 'virtual void HardwareSerial::begin(uint32_t)'
HardwareSerial.h:151:51: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial::begin(uint32_t, uint32_t)'
HardwareSerial.h:153:21: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial2::begin(uint32_t)'
HardwareSerial.h:181:52: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial2::begin(uint32_t, uint32_t)'
HardwareSerial.h:183:22: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial3::begin(uint32_t)'
HardwareSerial.h:211:52: error: 'F_BUS' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial3::begin(uint32_t, uint32_t)'
HardwareSerial.h:213:22: error: 'F_BUS' was not declared in this scope
usb_keyboard.h:In file included from
WProgram.h:from
Arduino.h:from
OctoWS2811.h:from
rainbow.ino:from
keylayouts.h:At global scope
keylayouts.h:5411:14: error: 'KEYCODE_TYPE' does not name a type
keylayouts.h:5412:14: error: 'KEYCODE_TYPE' does not name a type
WProgram.h:In file included from
Arduino.h:from
OctoWS2811.h:from
rainbow.ino:from
IntervalTimer.h:36:54: error: 'F_BUS' was not declared in this scope
IntervalTimer.h:In member function 'bool IntervalTimer::begin(IntervalTimer::ISR, unsigned int)'
IntervalTimer.h:57:23: error: 'F_BUS' was not declared in this scope
IntervalTimer.h:In member function 'bool IntervalTimer::begin(IntervalTimer::ISR, float)'
IntervalTimer.h:72:30: error: 'F_BUS' was not declared in this scope
wiring.h:In file included from
WProgram.h:from
Arduino.h:from
OctoWS2811.h:from
OctoWS2811.cpp:from
core_pins.h:In function 'void delayMicroseconds(uint32_t)'
core_pins.h:802:6: error: 'n' was not declared in this scope
core_pins.h:810:11: error: 'n' was not declared in this scope
WProgram.h:In file included from
Arduino.h:from
OctoWS2811.h:from
OctoWS2811.cpp:from
HardwareSerial.h:In member function 'virtual void HardwareSerial::begin(uint32_t)'
HardwareSerial.h:151:51: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial::begin(uint32_t, uint32_t)'
HardwareSerial.h:153:21: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial2::begin(uint32_t)'
HardwareSerial.h:181:52: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial2::begin(uint32_t, uint32_t)'
HardwareSerial.h:183:22: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial3::begin(uint32_t)'
HardwareSerial.h:211:52: error: 'F_BUS' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial3::begin(uint32_t, uint32_t)'
HardwareSerial.h:213:22: error: 'F_BUS' was not declared in this scope
usb_keyboard.h:In file included from
WProgram.h:from
Arduino.h:from
OctoWS2811.h:from
OctoWS2811.cpp:from
keylayouts.h:At global scope
keylayouts.h:5411:14: error: 'KEYCODE_TYPE' does not name a type
keylayouts.h:5412:14: error: 'KEYCODE_TYPE' does not name a type
WProgram.h:In file included from
Arduino.h:from
OctoWS2811.h:from
OctoWS2811.cpp:from
IntervalTimer.h:36:54: error: 'F_BUS' was not declared in this scope
IntervalTimer.h:In member function 'bool IntervalTimer::begin(IntervalTimer::ISR, unsigned int)'
IntervalTimer.h:57:23: error: 'F_BUS' was not declared in this scope
IntervalTimer.h:In member function 'bool IntervalTimer::begin(IntervalTimer::ISR, float)'
IntervalTimer.h:72:30: error: 'F_BUS' was not declared in this scope
Error compiling