Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
Marlin\src\lcd\extui\lib\dgus\DGUSScreenHandler.cpp:564:13: note: in expansion of macro 'sprintf_P'
sprintf_P(buf, PSTR("M303 E-1 C5 S70 U1"));
^~~~~
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp: In static member function 'static void DGUSScreenHandler::DGUSLCD_SD_FileSelected(DGUS_VP_Variable&, void)':
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:47:22: error: 'filelist' was not declared in this scope
if (touched_nr > filelist.count()) return;
^~~~
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:47:22: note: suggested alternative: 'filepos_t'
if (touched_nr > filelist.count()) return;
^~~~
filepos_t
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:48:10: error: 'filelist' was not declared in this scope
if (!filelist.seek(touched_nr)) return;
^~~~
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:48:10: note: suggested alternative: 'filepos_t'
if (!filelist.seek(touched_nr)) return;
^~~~
filepos_t
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:50:9: error: 'filelist' was not declared in this scope
if (filelist.isDir()) {
^~~~
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:50:9: note: suggested alternative: 'filepos_t'
if (filelist.isDir()) {
^~~~
filepos_t
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:65:87: error: 'filelist' was not declared in this scope
HandleUserConfirmationPopUp(VP_SD_FileSelectConfirm, nullptr, PSTR("Print file"), filelist.filename(), PSTR("from SD Card?"), true, true, false, true);
^~~~
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:65:87: note: suggested alternative: 'filepos_t'
HandleUserConfirmationPopUp(VP_SD_FileSelectConfirm, nullptr, PSTR("Print file"), filelist.filename(), PSTR("from SD Card?"), true, true, false, true);
^~~~
filepos_t
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp: In static member function 'static void DGUSScreenHandler::DGUSLCD_SD_StartPrint(DGUS_VP_Variable&, void)':
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:69:10: error: 'filelist' was not declared in this scope
if (!filelist.seek(file_to_print)) return;
^~~~
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:69:10: note: suggested alternative: 'filepos_t'
if (!filelist.seek(file_to_print)) return;
^~~~
compilation terminated due to -fmax-errors=5.
[.pio\build\STM32F103RET6_creality\src\src\lcd\extui\lib\dgus\DGUSScreenHandler.cpp.o] Error 1
[.pio\build\STM32F103RET6_creality\src\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp.o] Error 1
================================================================================ [FAILED] Took 6.16 seconds ================================================================================
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
bugfix-2.0.x Does not compile with Ender 6 (Creality) config files (Configuration_adv.h, Configuration.h).
Bug Timeline
It compiled with the std config files. Used TH3ds version earlier for ender 6.
Expected behavior
Complete compilation.
Actual behavior
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS D:\Marlin> platformio run -e STM32F103RET6_creality Processing STM32F103RET6_creality (platform: ststm32@~12.0; board: genericSTM32F103RE; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RE.html PLATFORM: ST STM32 (12.0.0) > STM32F103RE (64k RAM. 512k Flash) HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (jlink) External (blackmagic, cmsis-dap, jlink, stlink) PACKAGES:define sprintf_P(s, f, ...) sprintf((s), (f), __VA_ARGS__)
Marlin\src\lcd\extui\lib\dgus\DGUSScreenHandler.cpp:564:13: note: in expansion of macro 'sprintf_P' sprintf_P(buf, PSTR("M303 E-1 C5 S70 U1")); ^
~~~~ Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp: In static member function 'static void DGUSScreenHandler::DGUSLCD_SD_FileSelected(DGUS_VP_Variable&, void)': Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:47:22: error: 'filelist' was not declared in this scope if (touched_nr > filelist.count()) return; ^~~~ Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:47:22: note: suggested alternative: 'filepos_t' if (touched_nr > filelist.count()) return; ^~~~ filepos_t Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:48:10: error: 'filelist' was not declared in this scope if (!filelist.seek(touched_nr)) return; ^~~~ Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:48:10: note: suggested alternative: 'filepos_t' if (!filelist.seek(touched_nr)) return; ^~~~ filepos_t Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:50:9: error: 'filelist' was not declared in this scope if (filelist.isDir()) { ^~~~ Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:50:9: note: suggested alternative: 'filepos_t' if (filelist.isDir()) { ^~~~ filepos_t Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:65:87: error: 'filelist' was not declared in this scope HandleUserConfirmationPopUp(VP_SD_FileSelectConfirm, nullptr, PSTR("Print file"), filelist.filename(), PSTR("from SD Card?"), true, true, false, true); ^~~~ Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:65:87: note: suggested alternative: 'filepos_t' HandleUserConfirmationPopUp(VP_SD_FileSelectConfirm, nullptr, PSTR("Print file"), filelist.filename(), PSTR("from SD Card?"), true, true, false, true); ^~~~ filepos_t Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp: In static member function 'static void DGUSScreenHandler::DGUSLCD_SD_StartPrint(DGUS_VP_Variable&, void)': Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:69:10: error: 'filelist' was not declared in this scope if (!filelist.seek(file_to_print)) return; ^~~~ Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:69:10: note: suggested alternative: 'filepos_t' if (!filelist.seek(file_to_print)) return; ^~~~ compilation terminated due to -fmax-errors=5. [.pio\build\STM32F103RET6_creality\src\src\lcd\extui\lib\dgus\DGUSScreenHandler.cpp.o] Error 1 [.pio\build\STM32F103RET6_creality\src\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp.o] Error 1 ================================================================================ [FAILED] Took 6.16 seconds ================================================================================Environment Status Duration
STM32F103RET6_creality FAILED 00:00:06.164 ========================================================================== 1 failed, 0 succeeded in 00:00:06.164 ========================================================================== PS D:\Marlin> echo "done" >C:\Users\Micke\AppData\Local\Temp\ipc PS D:\Marlin>
Steps to Reproduce
Version of Marlin Firmware
Marlin bugfix-2.0.x.
Printer model
Creality Ender 6
Electronics
Stock board
Add-ons
No response
Your Slicer
Cura
Host Software
OctoPrint
Additional information & file uploads
Configurations.zip