Skip to content

Compile error #231

@viti77

Description

@viti77

I am trying to compile the Sigma R19 firmware obtained from Github, but it gives me this error. I have tried different PCs with Arduino, I have tried to replace the HardwareSerial.h library, but it keeps giving me an error. Can someone help me.

sketch\Marlin_main.cpp: In function 'bool touchscreen_init()':
sketch\Marlin_main.cpp:1223:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
display.WriteStr(STRING_INIT_FIRWAREVERSION,VERSION_STRING);
^
sketch\LCD_FSM.cpp: In function 'void lcd_fsm_lcd_input_logic()':
sketch\LCD_FSM.cpp:2198:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
display.WriteStr(STRING_UTILITIES_FILAMENT_LOAD_FIL1," PLA");
^
sketch\LCD_FSM.cpp:2199:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
display.WriteStr(STRING_UTILITIES_FILAMENT_LOAD_FIL2," PVA");
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions