bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2.02k stars 1.98k forks source link

Dgus screen problem #660

Open malicimen34 opened 2 years ago

malicimen34 commented 2 years ago

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

radek8 commented 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.