Closed orangeworx closed 3 years ago
i successfully compiled the example provided on the config repo. after that i used your configs posted and also successfully compiled. default_envs = chitu_f103
then I'm at a loss... I've not changed anything on my system aside from flushing the BF files with the ones from the archive I downloaded yesterday... what else could it be? and what about the errors?
i had no errors, a few warnings but nothing that prevents compile.
does my error log indicate anything specific? I still can't compile... created a new folder with fresh everything and still.... same errors
Executing task: platformio run <
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/CHITU_F103.html
PLATFORM: ST STM32 (12.0.0) > CHITU STM32F103Z (64k RAM. 512k Flash)
HARDWARE: STM32F103ZET6 72MHz, 59.12KB RAM, 469.03KB Flash
DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink)
PACKAGES:
Environment Status Duration
chitu_f103 SUCCESS 00:00:38.452 =================================================================================== 1 succeeded in 00:00:38.452 ===================================================================================
Terminal will be reused by tasks, press any key to close it. Marlin-bugfix-2.0.x-X5SA.zip
This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/CHITU_F103.html
PLATFORM: ST STM32 (12.0.0) > CHITU STM32F103Z (64k RAM. 512k Flash)
HARDWARE: STM32F103ZET6 72MHz, 59.12KB RAM, 469.03KB Flash
DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink)
PACKAGES:
In file included from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:52:0: Marlin\src\lcd\dogm../ultralcd.h:223:0: note: this is the location of the previous definition
In file included from Marlin\src\lcd\dogm../menu/menu.h:24:0, from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:293: c:\marlin-bf2\marlin\src\lcd\marlinui.h:79:0: warning: "LCD_UPDATE_INTERVAL" redefined
In file included from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:52:0: Marlin\src\lcd\dogm../ultralcd.h:77:0: note: this is the location of the previous definition
Compiling .pio\build\chitu_f103\src\src\lcd\menu\menu_media.cpp.o
Compiling .pio\build\chitu_f103\src\src\lcd\menu\menu_mixer.cpp.o
In file included from Marlin\src\lcd\dogm../menu/menu.h:24:0,
from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:293:
c:\marlin-bf2\marlin\src\lcd\marlinui.h:67:8: error: multiple definition of 'enum LCDViewAction'
enum LCDViewAction : uint8_t {
^~~~~
In file included from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:52:0:
Marlin\src\lcd\dogm../ultralcd.h:65:8: note: previous definition here
enum LCDViewAction : uint8_t {
^~~~~
In file included from Marlin\src\lcd\dogm../menu/menu.h:24:0,
from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:293:
c:\marlin-bf2\marlin\src\lcd\marlinui.h:86:134: error: default argument given for parameter 5 of 'void _wrap_string(uint8_t&, uint8_t&, const char, read_byte_cb_t, bool)' [-fpermissive]
void _wrap_string(uint8_t &col, uint8_t &row, const char const string, read_byte_cb_t cb_read_byte, const bool wordwrap=false);
^
In file included from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:52:0:
Marlin\src\lcd\dogm../ultralcd.h:83:10: note: previous specification in 'void _wrap_string(uint8_t&, uint8_t&, const char, read_byte_cb_t, bool)' here
void _wrap_string(uint8_t &col, uint8_t &row, const char const string, read_byte_cb_t cb_read_byte, const bool wordwrap=false);
^~~~
In file included from Marlin\src\lcd\dogm../menu/menu.h:24:0,
from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:293:
c:\marlin-bf2\marlin\src\lcd\marlinui.h: In function 'void wrap_string_P(uint8_t&, uint8_t&, const char, bool)':
c:\marlin-bf2\marlin\src\lcd\marlinui.h:87:19: error: redefinition of 'void wrap_string_P(uint8_t&, uint8_t&, const char, bool)'
inline void wrap_string_P(uint8_t &col, uint8_t &row, PGM_P const pstr, const bool wordwrap=false) { _wrap_string(col, row, pstr, read_byte_rom, wordwrap); }
^~~~~
In file included from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:52:0:
Marlin\src\lcd\dogm../ultralcd.h:84:17: note: 'void wrap_string_P(uint8_t&, uint8_t&, const char, bool)' previously defined here
inline void wrap_string_P(uint8_t &col, uint8_t &row, PGM_P const pstr, const bool wordwrap=false) { _wrap_string(col, row, pstr, read_byte_rom, wordwrap); }
^~~~~
In file included from Marlin\src\lcd\dogm../menu/menu.h:24:0,
from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:293:
c:\marlin-bf2\marlin\src\lcd\marlinui.h: In function 'void wrap_string(uint8_t&, uint8_t&, const char, bool)':
c:\marlin-bf2\marlin\src\lcd\marlinui.h:88:19: error: redefinition of 'void wrap_string(uint8_t&, uint8_t&, const char, bool)'
inline void wrap_string(uint8_t &col, uint8_t &row, const char const string, const bool wordwrap=false) { _wrap_string(col, row, string, read_byte_ram, wordwrap); }
^~~
In file included from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:52:0:
Marlin\src\lcd\dogm../ultralcd.h:85:17: note: 'void wrap_string(uint8_t&, uint8_t&, const char, bool)' previously defined here
inline void wrap_string(uint8_t &col, uint8_t &row, const char const string, const bool wordwrap=false) { _wrap_string(col, row, string, read_byte_ram, wordwrap); }
^~~
In file included from Marlin\src\lcd\dogm../menu/menu.h:24:0,
from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:293:
c:\marlin-bf2\marlin\src\lcd\marlinui.h: At global scope:
c:\marlin-bf2\marlin\src\lcd\marlinui.h:99:8: error: multiple definition of 'enum MarlinFont'
enum MarlinFont : uint8_t {
^~~~~~
In file included from Marlin\src\lcd\dogm\ultralcd_DOGM.cpp:52:0:
Marlin\src\lcd\dogm../ultralcd.h:235:8: note: previous definition here
enum MarlinFont : uint8_t {
^~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pio\build\chitu_f103\src\src\lcd\dogm\ultralcd_DOGM.cpp.o] Error 1
====================================================================================================== [FAILED] Took 20.56 seconds ======================================================================================================
Environment Status Duration
chitu_f103 FAILED 00:00:20.564 ================================================================================================= 1 failed, 0 succeeded in 00:00:20.564 =================================================================================================
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.
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Both default and X5SA (modded for pro) configurations fail compilation bugfix 2.0.x downloaded yesterday, examples for 2.0.x downloaded yesterday.
Bug Timeline
yesterday
Expected behavior
successful compilation
Actual behavior
failure
Steps to Reproduce
download marlin 2.0.x bug fix load folder in VSCode, run default build > failure, clean and reattempt > failure download examples and mod the config for X5SA-Pro by following directions load folder in VSCode, run build for Chitu_v6 > failure, clean and reattempt > failure
Version of Marlin Firmware
bugfix-2.0.x (Mar 21 2021 19:56:35)
Printer model
TronXY X5SA-Pro
Electronics
Stock v6 board
Add-ons
N/A
Your Slicer
Cura
Host Software
OctoPrint
Here are the files. Config
Error Log
These errors only started when the marlin files were updated and are pretty much out of the box considering I haven't done anything other than following the guide (which worked previously, previous build is running ok and printing atm)
thanks!