请问使用哪个版本编译的?我用的最新的bugfix-2.1尝试编译报错,看不出来是什么问题。。。
- 正在执行任务: C:\Users\Administrator\.platformio\penv\Scripts\platformio.exe run
- Processing mega2560 (board: megaatmega2560; platform: atmelavr@~4.0.1; framework: arduino)
- ---------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
- In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39:0,
- from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
- from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration.h:280:11: error: missing binary operator before token "("
- #if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration.h:912:13: error: missing binary operator before token "("
- #if EITHER(DELTA_AUTO_CALIBRATION, DELTA_CALIBRATION_MENU)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration.h:956:11: error: missing binary operator before token "("
- #if EITHER(MORGAN_SCARA, MP_SCARA)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration.h:1757:11: error: missing binary operator before token "("
- #if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration.h:1953:11: error: missing binary operator before token "("
- #if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)
- ^
- In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39:0,
- from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
- from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration.h:2997:11: error: missing binary operator before token "("
- #if EITHER(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration.h:3282:11: error: missing binary operator before token "("
- #if EITHER(RGB_LED, RGBW_LED)
- ^
- In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:56:0,
- from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
- from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:307:11: error: missing binary operator before token "(" #if BOTH(ADAPTIVE_FAN_SLOWING, PIDTEMP)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:1084:11: error: missing binary operator before token "("
- #if EITHER(INPUT_SHAPING_X, INPUT_SHAPING_Y)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:1318:11: error: missing binary operator before token "("
- #if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:1375:28: error: missing binary operator before token "("
- #if HAS_BED_PROBE && EITHER(HAS_MARLINUI_MENU, HAS_TFT_LVGL_UI)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:1430:11: error: missing binary operator before token "("
- #if EITHER(HAS_DISPLAY, DWIN_LCD_PROUI)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:1494:26: error: missing binary operator before token "("
- #if HAS_DISPLAY && EITHER(SDSUPPORT, SET_PROGRESS_MANUALLY)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:2143:11: error: missing binary operator before token "("
- #if EITHER(AUTO_BED_LEVELING_3POINT, AUTO_BED_LEVELING_UBL)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:2178:11: error: missing binary operator before token "("
- #if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:2186:9: error: missing binary operator before token "(" #if BOTH(AUTO_BED_LEVELING_UBL, EEPROM_SETTINGS)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:2298:11: error: missing binary operator before token "("
- #if EITHER(ARC_SUPPORT, BEZIER_CURVE_SUPPORT)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:2384:9: error: missing binary operator before token "(" #if BOTH(SDSUPPORT, DIRECT_STEPPING)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:3322:11: error: missing binary operator before token "("
- #if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
- ^
- c:\users\administrator\downloads\marlin-bugfix-2.1.x\marlin\configuration_adv.h:4070:11: error: missing binary operator before token "("
- #if EITHER(WIFISUPPORT, ESP3D_WIFISUPPORT)
- ^
- Error: Failed to parse Marlin features. See previous error messages.
- ===================================================== [FAILED] Took 2.01 seconds =====================================================
- Environment Status Duration
- ------------- -------- ------------
- mega2560 FAILED 00:00:02.013
- ================================================ 1 failed, 0 succeeded in 00:00:02.013 ================================================
- * 终端进程“C:\Users\Administrator\.platformio\penv\Scripts\platformio.exe 'run'”已终止,退出代码: 1。
- * 终端将被任务重用,按任意键关闭。
复制代码 |