Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MKS Robin nano v2, MKS_UI compilation error #22387

Closed
Malderin opened this issue Jul 18, 2021 · 2 comments
Closed

[BUG] MKS Robin nano v2, MKS_UI compilation error #22387

Malderin opened this issue Jul 18, 2021 · 2 comments

Comments

@Malderin
Copy link
Contributor

Malderin commented Jul 18, 2021

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

When compiling, an error appears:

Marlin\src\lcd\extui\mks_ui\draw_error_message.cpp:42:12: error: 'disp_string' was not declared in this scope
   if (msg) disp_string((TFT_WIDTH - strlen(msg) * 16) / 2, 100, msg, 0xFFFF, 0x0000);
            ^~~~~~~~~~~
Marlin\src\lcd\extui\mks_ui\draw_error_message.cpp:42:12: note: suggested alternative: 'disp_state'
   if (msg) disp_string((TFT_WIDTH - strlen(msg) * 16) / 2, 100, msg, 0xFFFF, 0x0000);
            ^~~~~~~~~~~
            disp_state
Marlin\src\lcd\extui\mks_ui\draw_error_message.cpp:43:3: error: 'disp_string' was not declared in this scope
   disp_string((TFT_WIDTH - strlen("PRINTER HALTED") * 16) / 2, 140, "PRINTER HALTED", 0xFFFF, 0x0000);
   ^~~~~~~~~~~
Marlin\src\lcd\extui\mks_ui\draw_error_message.cpp:43:3: note: suggested alternative: 'disp_state'
   disp_string((TFT_WIDTH - strlen("PRINTER HALTED") * 16) / 2, 140, "PRINTER HALTED", 0xFFFF, 0x0000);
   ^~~~~~~~~~~
   disp_state
*** [.pio\build\mks_robin_nano35_maple\src\src\lcd\extui\mks_ui\draw_error_message.cpp.o] Error 1
 
========================= [FAILED] Took 136.88 seconds =========================
Environment             Status    Duration
----------------------  --------  ------------
mks_robin_nano35_maple  FAILED    00:02:16.884
==================== 1 failed, 0 succeeded in 00:02:16.884 ====================

Version of Marlin Firmware

Latest marlin bugfix 2.x

My configs:
Configuration.zip

@ellensp
Copy link
Contributor

ellensp commented Jul 18, 2021

Duplicate of #22349

@ellensp ellensp marked this as a duplicate of #22349 Jul 18, 2021
@ellensp ellensp closed this as completed Jul 18, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants