After install of arduino IDE and Teensyduino I tried to compile the example file, e.g. blink.ino. I always get:
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/HardwareSerial.h:252:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/WProgram.h:46,
from C:\Users\Uwe\AppData\Local\Temp\arduino_build_602574/pch/Arduino.h:6,
from C:\Users\Uwe\AppData\Local\Temp\arduino_build_602574\sketch\Blink.ino.cpp:1:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/Stream.h: In constructor 'constexpr Stream::Stream()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/Stream.h:29:51: error: call to non-constexpr function 'Print:rint()'
constexpr Stream() : _timeout(1000), read_error(0) {}
What to do to solve this?
Uwe
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/HardwareSerial.h:252:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/WProgram.h:46,
from C:\Users\Uwe\AppData\Local\Temp\arduino_build_602574/pch/Arduino.h:6,
from C:\Users\Uwe\AppData\Local\Temp\arduino_build_602574\sketch\Blink.ino.cpp:1:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/Stream.h: In constructor 'constexpr Stream::Stream()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/Stream.h:29:51: error: call to non-constexpr function 'Print:rint()'
constexpr Stream() : _timeout(1000), read_error(0) {}
What to do to solve this?
Uwe