DJScopeSOFM / Two-Trees-Multi-Printer-Marlin-Bugfix-Compiler

Two Tree Marlin Bugfix build that can be compiled for multiple types of Two Trees printers by just editing a single setup file.
GNU General Public License v3.0
15 stars 6 forks source link

modern_touch_mks_interface -fails to build on latest #7

Open thierryzoller opened 3 years ago

thierryzoller commented 3 years ago

1.Ensured all libraries are uptodate 2.Upon build I get thefollowing errors:


Compiling .pio\build\mks_robin_nano35\src\src\lcd\extui\lib\mks_ui\draw_step_settings.cpp.o Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp: In function 'uint32_t lv_open_gcode_file(char*)': Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:376:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp: In function 'void lv_gcode_file_seek(uint32_t)': Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:451:3: error: 'card' was not declared in this scope card.setIndex(pos); ^~~~ Marlin\src\lcd\extui\lib\mks_ui\draw_print_file.cpp:451:3: note: suggested alternative: 'word' card.setIndex(pos); ^~~~ word *** [.pio\build\mks_robin_nano35\src\src\lcd\extui\lib\mks_ui\draw_print_file.cpp.o] Error 1 Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp: In function 'void setProBarRate()': Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp:285:23: warning: 'rate_tmp_r' may be used uninitialized in this function [-Wmaybe-uninitialized] rate = rate_tmp_r / gCfgItems.curFilesize;


Marlin\src\lcd\extui\lib\mks_ui\draw_printing.cpp:291:24: warning: 'rate_tmp_r' may be used uninitialized in this function [-Wmaybe-uninitialized]
     rate = (rate_tmp_r - (PREVIEW_SIZE + To_pre_view)) * 100 / (gCfgItems.curFilesize - (PREVIEW_SIZE + To_pre_view));
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DJScopeSOFM commented 3 years ago

Send you config and setup files

thierryzoller commented 3 years ago

@DJScopeSOFM : Thank you 👍 But Where to?

DJScopeSOFM commented 3 years ago

You can attached them here.

thierryzoller commented 3 years ago

Marlin.zip

thierryzoller commented 3 years ago

Uploaded above

thierryzoller commented 3 years ago

Any idea?