Foros de discusión
- Inicio
- Bienenstockwaage
- GBoard4Bees - GSM Stockwaage
- Fehlermeldung: Error compiling for Arduino Mega
Fehlermeldung: Error compiling for Arduino Mega
admin 4bees, modificado hace 8 años.
Padawan
Mensajes: 38
Fecha de incorporación: 31/08/21
Mensajes recientes
Für die ersten Schritte im Pilzzuchtanbau in Südafrika versuche ich momentan mein Gboard Pro 900 zum Laufen zu bringen, aber es scheitert an der Fehlermeldung: Error compiling for Arduino Mega.
Ihr Projekt und die library habe ich installiert, wie auf 4bee.at beschrieben.
Leider finde ich den Fehler nicht! In der HWSerial.cpp muss eventuell noch die HWSerial::flush() { Serial1.flush(); } in Serial2.flush geändert werden? Ansonsten sind alle "Einstellungen" so wie von Github gedownloaded.
Würden Sie mir hier eventuell weiterhelfen wollen?
Es brennt mir seit 6 Wochen unter den Nägeln, da mir keiner weiterhelfen kann...
Herzlichen Dank vorab.
Ihr Projekt und die library habe ich installiert, wie auf 4bee.at beschrieben.
Leider finde ich den Fehler nicht! In der HWSerial.cpp muss eventuell noch die HWSerial::flush() { Serial1.flush(); } in Serial2.flush geändert werden? Ansonsten sind alle "Einstellungen" so wie von Github gedownloaded.
Würden Sie mir hier eventuell weiterhelfen wollen?
Es brennt mir seit 6 Wochen unter den Nägeln, da mir keiner weiterhelfen kann...
Herzlichen Dank vorab.
admin 4bees, modificado hace 8 años.
Padawan
Mensajes: 38
Fecha de incorporación: 31/08/21
Mensajes recientes
Ich könnte mir vorstellen dass es an den Einstellungen der Arduino IDE oder an der Version der IDE liegt.
Welche Version der Arduino IDE verwenden sie?
Das Board das dem GBoard entspricht ist das Arduino Mega 2560 or
Mega ADK (Tools -> Board)
Haben Sie schon versucht einen anderen Scetch auf dem Board zum Laufen zu bringen?
Welche Version der Arduino IDE verwenden sie?
Das Board das dem GBoard entspricht ist das Arduino Mega 2560 or
Mega ADK (Tools -> Board)
Haben Sie schon versucht einen anderen Scetch auf dem Board zum Laufen zu bringen?
admin 4bees, modificado hace 8 años.
Padawan
Mensajes: 38
Fecha de incorporación: 31/08/21
Mensajes recientes
Vielen Dank für Ihre Antwort.
Ich habe die IDE Version 1.6.13 installiert, aber auch 1.6.7, 1.6.8 und
1.6.9 jeweils mit Mega und ADK getestet (an den .cpp und .h file keine Veränderungen vorgenommen). Gleiche Fehlermeldung error compiling for Mega/ADK.
Die im IDE mitgelieferte GPS library funktioniert, allerdings kann ich hier nicht auf einen Server zugreifen. Sketch für DHT11 funktioniert auch.
Haben Sie da noch einen Rat?
Ich habe die IDE Version 1.6.13 installiert, aber auch 1.6.7, 1.6.8 und
1.6.9 jeweils mit Mega und ADK getestet (an den .cpp und .h file keine Veränderungen vorgenommen). Gleiche Fehlermeldung error compiling for Mega/ADK.
Die im IDE mitgelieferte GPS library funktioniert, allerdings kann ich hier nicht auf einen Server zugreifen. Sketch für DHT11 funktioniert auch.
Haben Sie da noch einen Rat?
admin 4bees, modificado hace 8 años.
Padawan
Mensajes: 38
Fecha de incorporación: 31/08/21
Mensajes recientes
Können Sie mir die genaue Fehlermeldung der Arduino IDE übermitteln, vielleicht kann ich Ihnen dann weiterhelfen.
admin 4bees, modificado hace 8 años.
Padawan
Mensajes: 38
Fecha de incorporación: 31/08/21
Mensajes recientes
Danke für Ihre tolle Unterstüzung. Untenstehend die Fehlermeldung:
>
> ---------------
>
> Arduino: 1.6.9 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
>
> Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}", automatically converted to recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Consider upgrading this core.
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp: In member function 'size_t HWSerial::print(const __FlashStringHelper*)':
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:63:12:
> error: 'prog_char' does not name a type
>
> const prog_char *p = (const prog_char *)ifsh;
>
> ^
>
> In file included from
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\cores\arduino/Arduino.h:28:0,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.h:6,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:1:
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:66:43:
> error: 'p' was not declared in this scope
>
> unsigned char c = pgm_read_byte(p++);
>
> ^
>
> exit status 1
> Error compiling for board Arduino/Genuino Mega or Mega 2560.
>
> This report would have more information with "Show verbose output during compilation"
> option enabled in File -> Preferences.
> ------------------------
> und hier nochmal ausführlich:
> -----------------------
>
> C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware"
> -hardware "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\mkoehn\Documents\Arduino\libraries"
> -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp"
> -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\mkoehn\Documents\Arduino\Bienenstockwaage\Bienenstockwaage.ino"
> C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\mkoehn\Documents\Arduino\libraries"
> -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp"
> -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\mkoehn\Documents\Arduino\Bienenstockwaage\Bienenstockwaage.ino"
> Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}", automatically converted to recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Consider upgrading this core.
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\HX711\HX711.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\GSM.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\LOG.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\SIM900.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\WideTextFinder.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\bluetooth.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\call.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\gps.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\inetGSM.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\sms.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial\SoftwareSerial.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire\Wire.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire\utility\twi.c"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315\Adafruit_AM2315.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
> "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags"
> -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g
> -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections
> -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560
> -DF_CPU=16000000L
> -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp.o"
> Using previously compiled file:
> C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd
> 2c.tmp\libraries\HX711\HX711.cpp.o
> Using previously compiled file:
> C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd
> 2c.tmp\libraries\SIM900\GSM.cpp.o "C:\Program Files
> (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
> -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
> -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L
> -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp" -o "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\libraries\SIM900\HWSerial.cpp.o"
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp: In member function 'size_t HWSerial::print(const __FlashStringHelper*)':
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:63:12:
> error: 'prog_char' does not name a type
>
> const prog_char *p = (const prog_char *)ifsh;
>
> ^
>
> In file included from
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\cores\arduino/Arduino.h:28:0,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.h:6,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:1:
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:66:43:
> error: 'p' was not declared in this scope
>
> unsigned char c = pgm_read_byte(p++);
>
> ^
>
> Using library HX711 in folder:
> C:\Users\mkoehn\Documents\Arduino\libraries\HX711 (legacy) Using library SIM900 in folder:
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900 (legacy) Using library SoftwareSerial at version 1.0 in folder:
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\libraries\SoftwareSerial
>
> Using library Wire at version 1.0 in folder:
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\libraries\Wire
>
> Using library Adafruit_AM2315 in folder:
> C:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315 (legacy) exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560.
>
> -------------------------
>
> Danke für Ihre Hilfe.
>
> ---------------
>
> Arduino: 1.6.9 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
>
> Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}", automatically converted to recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Consider upgrading this core.
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp: In member function 'size_t HWSerial::print(const __FlashStringHelper*)':
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:63:12:
> error: 'prog_char' does not name a type
>
> const prog_char *p = (const prog_char *)ifsh;
>
> ^
>
> In file included from
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\cores\arduino/Arduino.h:28:0,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.h:6,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:1:
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:66:43:
> error: 'p' was not declared in this scope
>
> unsigned char c = pgm_read_byte(p++);
>
> ^
>
> exit status 1
> Error compiling for board Arduino/Genuino Mega or Mega 2560.
>
> This report would have more information with "Show verbose output during compilation"
> option enabled in File -> Preferences.
> ------------------------
> und hier nochmal ausführlich:
> -----------------------
>
> C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware"
> -hardware "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\mkoehn\Documents\Arduino\libraries"
> -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp"
> -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\mkoehn\Documents\Arduino\Bienenstockwaage\Bienenstockwaage.ino"
> C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\mkoehn\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\mkoehn\Documents\Arduino\libraries"
> -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp"
> -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\mkoehn\Documents\Arduino\Bienenstockwaage\Bienenstockwaage.ino"
> Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}", automatically converted to recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}"
> {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Consider upgrading this core.
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\HX711\HX711.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\GSM.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\LOG.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\SIM900.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\WideTextFinder.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\bluetooth.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\call.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\gps.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\inetGSM.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\sms.cpp" -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial\SoftwareSerial.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire\Wire.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire\utility\twi.c"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "C:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315\Adafruit_AM2315.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o "nul"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
> "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags"
> -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
> "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g
> -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections
> -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560
> -DF_CPU=16000000L
> -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp"
> -o
> "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\sketch\Bienenstockwaage.ino.cpp.o"
> Using previously compiled file:
> C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd
> 2c.tmp\libraries\HX711\HX711.cpp.o
> Using previously compiled file:
> C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd
> 2c.tmp\libraries\SIM900\GSM.cpp.o "C:\Program Files
> (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w
> -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
> -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L
> -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\cores\arduino"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\variants\mega"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\HX711"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\SIM900"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\SoftwareSerial"
> "-IC:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.9\libraries\Wire"
> "-IC:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315"
> "C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp" -o "C:\Users\mkoehn\AppData\Local\Temp\build6fe0d6679331cdc704242976e227bd2c.tmp\libraries\SIM900\HWSerial.cpp.o"
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp: In member function 'size_t HWSerial::print(const __FlashStringHelper*)':
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:63:12:
> error: 'prog_char' does not name a type
>
> const prog_char *p = (const prog_char *)ifsh;
>
> ^
>
> In file included from
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\cores\arduino/Arduino.h:28:0,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.h:6,
>
> from
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:1:
>
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900\HWSerial.cpp:66:43:
> error: 'p' was not declared in this scope
>
> unsigned char c = pgm_read_byte(p++);
>
> ^
>
> Using library HX711 in folder:
> C:\Users\mkoehn\Documents\Arduino\libraries\HX711 (legacy) Using library SIM900 in folder:
> C:\Users\mkoehn\Documents\Arduino\libraries\SIM900 (legacy) Using library SoftwareSerial at version 1.0 in folder:
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\libraries\SoftwareSerial
>
> Using library Wire at version 1.0 in folder:
> C:\Users\mkoehn\AppData\Local\Arduino15\packages\arduino\hardware\avr\
> 1.6.9\libraries\Wire
>
> Using library Adafruit_AM2315 in folder:
> C:\Users\mkoehn\Documents\Arduino\libraries\Adafruit_AM2315 (legacy) exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560.
>
> -------------------------
>
> Danke für Ihre Hilfe.
admin 4bees, modificado hace 8 años.
Padawan
Mensajes: 38
Fecha de incorporación: 31/08/21
Mensajes recientes
Ich denke es liegt tatsächlich an der neuen Arduino-IDE. Ich habe heute die neue Version installiert und habe die selbe Fehlermeldung wie Sie erhalten. Den Grund kann ich Ihnen im Moment nicht sagen, aber ich denke mit der alten Version 1.0.6 sollte es funktionieren.
admin 4bees, modificado hace 8 años.
Padawan
Mensajes: 38
Fecha de incorporación: 31/08/21
Mensajes recientes
Es klappt mit dem kompilieren unter 1.0.6! Vielen herzlichen Dank für Ihre Hilfe. Das bringt mich jetzt ein ganzes Stück weiter.
Ich verwende ein DHT11 Sensor und möchte gerne noch ein paar Relays regeln.
Auch wenn es manchmal zum verzweifeln erscheint, macht es doch wahnsinnig Spass mit dieser Technologie zu arbeiten.
Melde mich nochmal bei Zeiten wenn alles online ist ;-)
Ich verwende ein DHT11 Sensor und möchte gerne noch ein paar Relays regeln.
Auch wenn es manchmal zum verzweifeln erscheint, macht es doch wahnsinnig Spass mit dieser Technologie zu arbeiten.
Melde mich nochmal bei Zeiten wenn alles online ist ;-)