Marlin: compile error

Created on 11 Nov 2018  路  7Comments  路  Source: MarlinFirmware/Marlin

Description

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Additional Information

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
  • Provide pictures or links to videos that clearly demonstrate the issue.
  • See How Can I Contribute for additional guidelines.

    @ @

Most helpful comment

Please supply your configuration files. How recent is your bugfix-2.0.x? Please download the latest version and confirm that the problem still exists.

All 7 comments

i use bugfix2 when uncomment #define BABYSTEP_ZPROBE_OFFSET // Combine M851 Z and Babystepping

error in compile sketchsrclcdmenumenu.cpp: In function 'void lcd_babystep_zoffset()':

sketchsrclcdmenumenu.cpp:374:9: error: 'thermalManager' was not declared in this scope

     thermalManager.babystep_axis(Z_AXIS, babystep_increment);

please guide me

Please supply your configuration files. How recent is your bugfix-2.0.x? Please download the latest version and confirm that the problem still exists.

@gloomyandy THERMAL_PROTECTION_HOTENDS and THERMAL_PROTECTION_HOTENDS been disabled

https://github.com/MarlinFirmware/Marlin/blob/a0c795b097a30eff006c8dff178abf5f1f1907fa/Marlin/src/lcd/menu/menu.cpp#L39-L41

dependency exists between the two functions

Try
At the top of \src\lcd\menu\menu.cpp

@@ -33,11 +33,11 @@

 #if ENABLED(EEPROM_SETTINGS)
   #include "../../module/configuration_store.h"
 #endif

-#if WATCH_HOTENDS || WATCH_THE_BED
+#if WATCH_HOTENDS || WATCH_THE_BED || ENABLED(BABYSTEP_ZPROBE_OFFSET)
   #include "../../module/temperature.h"
 #endif

 #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
   #include "../../module/probe.h"

it is last version bugfix2 and thermal protection for both hotend and bed are disabled

Try
At the top of \src\lcd\menu\menu.cpp

@@ -33,11 +33,11 @@

 #if ENABLED(EEPROM_SETTINGS)
   #include "../../module/configuration_store.h"
 #endif

-#if WATCH_HOTENDS || WATCH_THE_BED
+#if WATCH_HOTENDS || WATCH_THE_BED || ENABLED(BABYSTEP_ZPROBE_OFFSET)
   #include "../../module/temperature.h"
 #endif

 #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
   #include "../../module/probe.h"

it's work thank you.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ceturan picture ceturan  路  4Comments

manianac picture manianac  路  4Comments

spanner888 picture spanner888  路  4Comments

W8KDB picture W8KDB  路  4Comments

pubalan12 picture pubalan12  路  4Comments