Open malicimen34 opened 2 years ago
Your issue has been reported and resolved here: https://github.com/MarlinFirmware/Marlin/issues/24376
https://github.com/MarlinFirmware/Marlin/pull/24378
Lístek můžete uzavřít
If this does not solve your problem, report the problem to the Marlin repository.
I've been trying for days but I couldn't solve this problem. Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp: In static member function 'static void DGUSScreenHandler::DGUSLCD_SD_FileSelected(DGUS_VP_Variable&, void)': Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:47:22: error: 'filelist' was not declared in this scope if (touched_nr > filelist.count()) return; ^
~~~ Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:47:22: note: suggested alternative: 'filepos_t' if (touched_nr > filelist.count()) return; ^~~~ filepos_t Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:48:10: error: 'filelist' was not declared in this scope if (!filelist.seek(touched_nr)) return; ^~~~ Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:48:10: note: suggested alternative: 'filepos_t' if (!filelist.seek(touched_nr)) return; ^~~~ filepos_t Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:50:9: error: 'filelist' was not declared in this scope if (filelist.isDir()) { ^~~~ Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:50:9: note: suggested alternative: 'filepos_t' if (filelist.isDir()) { ^~~~ filepos_t Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:59:55: error: 'filelist' was not declared in this scope dgusdisplay.WriteVariable(VP_SD_Print_Filename, filelist.filename(), VP_SD_FileName_LEN, true); ^~~~ Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:59:55: note: suggested alternative: 'filepos_t' dgusdisplay.WriteVariable(VP_SD_Print_Filename, filelist.filename(), VP_SD_FileName_LEN, true); ^~~~ filepos_t Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp: In static member function 'static void DGUSScreenHandler::DGUSLCD_SD_StartPrint(DGUS_VP_Variable&, void)': Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:69:10: error: 'filelist' was not declared in this scope if (!filelist.seek(file_to_print)) return; ^~~~ Marlin\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp:69:10: note: suggested alternative: 'filepos_t' if (!filelist.seek(file_to_print)) return; ^~~~ filepos_t compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F103RC_btt_maple\src\src\lcd\extui\dgus\fysetc\DGUSScreenHandler.cpp.o] Error 1