Arduino IDE 1.8.12 compile Printer firmware on a Mac OS 10.15.4
 

Arduino IDE 1.8.12 compile Printer firmware on a Mac OS 10.15.4  

  RSS
uullttiimmaakkeerr
(@umaker)
Trusted Member

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

This topic was modified 4 months ago by uullttiimmaakkeerr
Posted : 13/04/2020 9:42 pm
salman.a3
(@salman-a3)
New Member

I have been going crazy over getting it to compile on OSX Catalina as well. Did you manage to make any progress?

Posted : 09/05/2020 7:28 am
salman.a3
(@salman-a3)
New Member

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.

 

Posted : 09/05/2020 7:32 am
jeaton
(@jeaton)
New Member

I am having the same problem. Any progress?

Stay safe,

John

Posted : 25/06/2020 8:53 pm
Share:

Please Login or Register