Notifications
Clear all
Arduino IDE 1.8.12 compile Printer firmware on a Mac OS 10.15.4
As I know, the old 1.8.5 Arduino IDE compiler does no longer run on a 64Bit System. And the running 1.8.12 Arduino IDE, can not compile the Firmware 3.9.0 from Prusa (mk3s mmu2s).
Does anybody know a way / solution?
stay healthy - Carsten
Ce sujet a été modifié il y a 5 years par PPRRUUSSAA
Publié : 13/04/2020 8:42 pm
RE: Arduino IDE 1.8.12 compile Printer firmware on a Mac OS 10.15.4
I have been going crazy over getting it to compile on OSX Catalina as well. Did you manage to make any progress?
Publié : 09/05/2020 6:28 am
RE: Arduino IDE 1.8.12 compile Printer firmware on a Mac OS 10.15.4
This is the error message I am getting:
Arduino: 1.8.12 (Mac OS X), Board: "PrusaResearch Einsy RAMBo"
In file included from sketch/Configuration.h:60:0,
from sketch/Configuration.cpp:1:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from /Users/salmanahmed/workspace/prusa/Prusa-Firmware/Firmware/Firmware.ino:33:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Servo.cpp:44:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Dcodes.cpp:3:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/SdFile.cpp:20:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/BlinkM.cpp:5:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/Sd2Card.cpp:20:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/MarlinSerial.cpp:23:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/ConfigurationStore.cpp:3:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/backlight.h:6,
from sketch/backlight.cpp:3:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/SdFatUtil.cpp:20:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/SdBaseFile.cpp:21:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/SdVolume.cpp:20:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/cmdqueue.h:4,
from sketch/cmdqueue.cpp:1:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin.h:21,
from sketch/cardreader.cpp:1:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sketch/Configuration.h:60:0,
from sketch/Marlin_main.cpp:47:
eeprom.h:583:55: error: 'reinterpret_cast<M500_conf*>(20)' is not a constant expression
static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf*>(20); //offset for storing settings using M500
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
'reinterpret_cast<M500_conf*>(20)' is not a constant expression
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Publié : 09/05/2020 6:32 am
RE: Arduino IDE 1.8.12 compile Printer firmware on a Mac OS 10.15.4
I am having the same problem. Any progress?
Stay safe,
John
Publié : 25/06/2020 7:53 pm