Hallo,
versuche eben den Ardumower Code Azurit 1.0a6 und der mitgelieferten IDE 1.0.6 und OpenSuse 13.2 zu prüfen und hochzuladen, erhalten aber folgende Fehler:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Linux), Board: "Arduino Mega 2560 or Mega ADK"
In file included from mower.h:29,
from config.h:10,
from mega.cpp:39:
robot.h:194: error: ISO C++ forbids initialization of member ‘esp8266ConfigString’
robot.h:194: error: making ‘esp8266ConfigString’ static
robot.h:194: error: invalid in-class initialization of static data member of non-integral type ‘String’
Ich habe dann in robot.h folgendes abgeändert:
char esp8266Use; // use ESP8266 Wifi module?
//String esp8266ConfigString = "";
String esp8266ConfigString;
Allerdings kommen dann folgende Fehler beim 2. Durchlauf:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Linux), Board: "Arduino Mega 2560 or Mega ADK"
mini.cpp.o.bss.senSonarTurn+0x0): multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
/home/thomas/arduino-1.0.6/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
mower.cpp.o: In function `Mower::Mower()':
mower.cpp:134: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
pfod.cpp.o: In function `RemoteControl::initSerial(HardwareSerial*, unsigned long)':
pfod.cpp:47: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
robot.cpp.o: In function `Robot::Robot()':
robot.cpp:43: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
ardumower.cpp.o: In function `setup':
/home/thomas/arduino-1.0.6/ardumower.ino:48: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
Wire/Wire.cpp.o: In function `TwoWire::begin(int)':
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:75: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
core.a(HardwareSerial.cpp.o): In function `global constructors keyed to rx_buffer':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp:504: warning: internal error: out of range error
core.a(HardwareSerial.cpp.o): In function `global constructors keyed to rx_buffer':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Print.h:43: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Print.h:43: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Print.h:43: warning: internal error: out of range error
core.a(HardwareSerial.cpp.o): In function `global constructors keyed to rx_buffer':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.h:53: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.h:53: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.h:53: warning: internal error: out of range error
core.a(main.cpp.o): In function `main':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/main.cpp:44: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/main.cpp:44: warning: internal error: out of range error
Mache ich was falsch oder sind das bekannte Sachen im aktuellen Code?
Gruß
Thomas
versuche eben den Ardumower Code Azurit 1.0a6 und der mitgelieferten IDE 1.0.6 und OpenSuse 13.2 zu prüfen und hochzuladen, erhalten aber folgende Fehler:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Linux), Board: "Arduino Mega 2560 or Mega ADK"
In file included from mower.h:29,
from config.h:10,
from mega.cpp:39:
robot.h:194: error: ISO C++ forbids initialization of member ‘esp8266ConfigString’
robot.h:194: error: making ‘esp8266ConfigString’ static
robot.h:194: error: invalid in-class initialization of static data member of non-integral type ‘String’
Ich habe dann in robot.h folgendes abgeändert:
char esp8266Use; // use ESP8266 Wifi module?
//String esp8266ConfigString = "";
String esp8266ConfigString;
Allerdings kommen dann folgende Fehler beim 2. Durchlauf:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Linux), Board: "Arduino Mega 2560 or Mega ADK"
mini.cpp.o.bss.senSonarTurn+0x0): multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
/home/thomas/arduino-1.0.6/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
mower.cpp.o: In function `Mower::Mower()':
mower.cpp:134: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
pfod.cpp.o: In function `RemoteControl::initSerial(HardwareSerial*, unsigned long)':
pfod.cpp:47: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
robot.cpp.o: In function `Robot::Robot()':
robot.cpp:43: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
ardumower.cpp.o: In function `setup':
/home/thomas/arduino-1.0.6/ardumower.ino:48: multiple definition of `senSonarTurn'
mega.cpp.o.bss.senSonarTurn+0x0): first defined here
Wire/Wire.cpp.o: In function `TwoWire::begin(int)':
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:75: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/libraries/Wire/Wire.cpp:76: warning: internal error: out of range error
core.a(HardwareSerial.cpp.o): In function `global constructors keyed to rx_buffer':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/HardwareSerial.cpp:504: warning: internal error: out of range error
core.a(HardwareSerial.cpp.o): In function `global constructors keyed to rx_buffer':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Print.h:43: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Print.h:43: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Print.h:43: warning: internal error: out of range error
core.a(HardwareSerial.cpp.o): In function `global constructors keyed to rx_buffer':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.h:53: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.h:53: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/Stream.h:53: warning: internal error: out of range error
core.a(main.cpp.o): In function `main':
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/main.cpp:44: warning: internal error: out of range error
/home/thomas/arduino-1.0.6/hardware/arduino/cores/arduino/main.cpp:44: warning: internal error: out of range error
Mache ich was falsch oder sind das bekannte Sachen im aktuellen Code?
Gruß
Thomas