Welcome! Log In Create A New Profile

Advanced

Problem bei kompilieren von Marlin : SKR 2.0 und Creality CR10 V2

Posted by Ray2607 
Problem bei kompilieren von Marlin : SKR 2.0 und Creality CR10 V2
June 07, 2021 07:44PM
Guten Tag,
Ich habe ein Problem beim kompilieren vom Marlin für mein neues SKR 2.0 Board und meinem CR10 V2.

Vorab ich bin in Marlin ein völliger neuling und probiere mich gerade erst aus, komme aber an folgender Stelle nicht weiter.

er spukt mir immer folgende Fehler aus.

no declaration matches 'void GcodeSuite::event_probe_recover()'
no declaration matches 'void GcodeSuite::event_probe_failure()'
no declaration matches 'void GcodeSuite::G29_with_retry()'

und beim Kompilieren kommt dann folgendes:

....
Compiling .pio\build\BIGTREE_SKR_2\src\src\gcode\host\M110.cpp.o
Compiling .pio\build\BIGTREE_SKR_2\src\src\gcode\host\M113.cpp.o
Compiling .pio\build\BIGTREE_SKR_2\src\src\gcode\host\M114.cpp.o
Compiling .pio\build\BIGTREE_SKR_2\src\src\gcode\host\M115.cpp.o
Marlin\src\gcode\gcode.cpp:216:8: error: no declaration matches 'void GcodeSuite::event_probe_recover()'
  216 |   void GcodeSuite::event_probe_recover() {
      |        ^~~~~~~~~~
Marlin\src\gcode\gcode.cpp:216:8: note: no functions named 'void GcodeSuite::event_probe_recover()'
In file included from Marlin\src\gcode\gcode.cpp:28:
Marlin\src\gcode\gcode.h:321:7: note: 'class GcodeSuite' defined here
  321 | class GcodeSuite {
      |       ^~~~~~~~~~
Compiling .pio\build\BIGTREE_SKR_2\src\src\gcode\host\M118.cpp.o
Marlin\src\gcode\gcode.cpp:230:8: error: no declaration matches 'void GcodeSuite::event_probe_failure()'
  230 |   void GcodeSuite::event_probe_failure() {
      |        ^~~~~~~~~~
Marlin\src\gcode\gcode.cpp:230:8: note: no functions named 'void GcodeSuite::event_probe_failure()'
In file included from Marlin\src\gcode\gcode.cpp:28:
Marlin\src\gcode\gcode.h:321:7: note: 'class GcodeSuite' defined here
  321 | class GcodeSuite {
      |       ^~~~~~~~~~
Marlin\src\gcode\gcode.cpp:249:8: error: no declaration matches 'void GcodeSuite::G29_with_retry()'
  249 |   void GcodeSuite::G29_with_retry() {
      |        ^~~~~~~~~~
Marlin\src\gcode\gcode.cpp:249:8: note: no functions named 'void GcodeSuite::G29_with_retry()'
In file included from Marlin\src\gcode\gcode.cpp:28:
Marlin\src\gcode\gcode.h:321:7: note: 'class GcodeSuite' defined here
  321 | class GcodeSuite {
      |       ^~~~~~~~~~
*** [.pio\build\BIGTREE_SKR_2\src\src\gcode\gcode.cpp.o] Error 1
In file included from Marlin\src\gcode\geometry\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_REV_B.h:26,
                 from Marlin\src\gcode\geometry\../../inc/../pins/pins.h:604,
                 from Marlin\src\gcode\geometry\../../inc/MarlinConfig.h:34,
                 from Marlin\src\gcode\geometry\../gcode.h:306,
                 from Marlin\src\gcode\geometry\G92.cpp:23:
Marlin\src\gcode\geometry\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_common.h:139: warning: "FIL_RUNOUT_PIN" redefined
  139 | #define FIL_RUNOUT_PIN                      PC2   // E0DET
      |
In file included from Marlin\src\gcode\geometry\../../inc/MarlinConfigPre.h:39,
                 from Marlin\src\gcode\geometry\../../inc/MarlinConfig.h:28,
                 from Marlin\src\gcode\geometry\../gcode.h:306,
                 from Marlin\src\gcode\geometry\G92.cpp:23:
Marlin\src\gcode\geometry\../../inc/../../Configuration.h:1318: note: this is the location of the previous definition
 1318 |   #define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
      |
In file included from Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_REV_B.h:26,
                 from Marlin\src\gcode\host\../../inc/../pins/pins.h:604,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:34,
                 from Marlin\src\gcode\host\../gcode.h:306,
                 from Marlin\src\gcode\host\M110.cpp:23:
Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_common.h:139: warning: "FIL_RUNOUT_PIN" redefined
  139 | #define FIL_RUNOUT_PIN                      PC2   // E0DET
      |
In file included from Marlin\src\gcode\host\../../inc/MarlinConfigPre.h:39,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:28,
                 from Marlin\src\gcode\host\../gcode.h:306,
                 from Marlin\src\gcode\host\M110.cpp:23:
Marlin\src\gcode\host\../../inc/../../Configuration.h:1318: note: this is the location of the previous definition
 1318 |   #define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
      |
In file included from Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_REV_B.h:26,
                 from Marlin\src\gcode\host\../../inc/../pins/pins.h:604,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:34,
                 from Marlin\src\gcode\host\M113.cpp:23:
Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_common.h:139: warning: "FIL_RUNOUT_PIN" redefined
  139 | #define FIL_RUNOUT_PIN                      PC2   // E0DET
      |
In file included from Marlin\src\gcode\host\../../inc/MarlinConfigPre.h:39,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:28,
                 from Marlin\src\gcode\host\M113.cpp:23:
Marlin\src\gcode\host\../../inc/../../Configuration.h:1318: note: this is the location of the previous definition
 1318 |   #define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
      |
In file included from Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_REV_B.h:26,
                 from Marlin\src\gcode\host\../../inc/../pins/pins.h:604,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:34,
                 from Marlin\src\gcode\host\M114.cpp:23:
Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_common.h:139: warning: "FIL_RUNOUT_PIN" redefined
  139 | #define FIL_RUNOUT_PIN                      PC2   // E0DET
      |
In file included from Marlin\src\gcode\host\../../inc/MarlinConfigPre.h:39,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:28,
                 from Marlin\src\gcode\host\M114.cpp:23:
Marlin\src\gcode\host\../../inc/../../Configuration.h:1318: note: this is the location of the previous definition
 1318 |   #define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
      |
In file included from Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_REV_B.h:26,
                 from Marlin\src\gcode\host\../../inc/../pins/pins.h:604,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:34,
                 from Marlin\src\gcode\host\../gcode.h:306,
                 from Marlin\src\gcode\host\M115.cpp:23:
Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_common.h:139: warning: "FIL_RUNOUT_PIN" redefined
  139 | #define FIL_RUNOUT_PIN                      PC2   // E0DET
      |
In file included from Marlin\src\gcode\host\../../inc/MarlinConfigPre.h:39,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:28,
                 from Marlin\src\gcode\host\../gcode.h:306,
                 from Marlin\src\gcode\host\M115.cpp:23:
Marlin\src\gcode\host\../../inc/../../Configuration.h:1318: note: this is the location of the previous definition
 1318 |   #define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
      |
In file included from Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_REV_B.h:26,
                 from Marlin\src\gcode\host\../../inc/../pins/pins.h:604,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:34,
                 from Marlin\src\gcode\host\../gcode.h:306,
                 from Marlin\src\gcode\host\M118.cpp:23:
Marlin\src\gcode\host\../../inc/../pins/stm32f4/pins_BTT_SKR_V2_0_common.h:139: warning: "FIL_RUNOUT_PIN" redefined
  139 | #define FIL_RUNOUT_PIN                      PC2   // E0DET
      |
In file included from Marlin\src\gcode\host\../../inc/MarlinConfigPre.h:39,
                 from Marlin\src\gcode\host\../../inc/MarlinConfig.h:28,
                 from Marlin\src\gcode\host\../gcode.h:306,
                 from Marlin\src\gcode\host\M118.cpp:23:
Marlin\src\gcode\host\../../inc/../../Configuration.h:1318: note: this is the location of the previous definition
 1318 |   #define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
      |
========================================================== [[color=#FF0000]FAILED[/color]] Took 62.46 seconds ==========================================================
Environment    Status    Duration
-------------  --------  ------------
BIGTREE_SKR_2  FAILED    00:01:02.460
===================================================== 1 failed, 0 succeeded in 00:01:02.460 =====================================================The terminal process "C:\Users\MSI GT72S\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Danke schonmal vorab
Attachments:
open | download - Configuration.h (101.2 KB)
Re: Problem bei kompilieren von Marlin : SKR 2.0 und Creality CR10 V2
June 07, 2021 08:43PM
In Configuration.h comment out
#define FIL_RUNOUT_PIN 2      ->       //#define FIL_RUNOUT_PIN 2


In Configuration_adv.h disable
#define G29_RETRY_AND_RECOVER      ->      //#define G29_RETRY_AND_RECOVER
Re: Problem bei kompilieren von Marlin : SKR 2.0 und Creality CR10 V2
June 08, 2021 04:45PM
Nice thumbs up
Thank you very much !!!
Sorry, only registered users may post in this forum.

Click here to login