MK4duo e LIN_ADVANCE non si compila September 10, 2017 11:11AM |
Registered: 7 years ago Posts: 5 |
Arduino:1.8.4 (Mac OS X), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" Opzioni di compilazione cambiate, ricompilo tutto In file included from sketch/src/../base.h:81:0, from sketch/src/MK_Main.cpp:31: sketch/src/MK_Main.cpp: In function 'bool pin_is_protected(uint8_t)': sketch/src/../src/pins.h:419:24: warning: narrowing conversion of '173' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing] } ^ sketch/src/MK_Main.cpp:423:50: note: in expansion of macro 'SENSITIVE_PINS' static const int8_t sensitive_pins[] PROGMEM = SENSITIVE_PINS; ^ sketch/src/../src/pins.h:419:24: warning: narrowing conversion of '174' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing] } ^ sketch/src/MK_Main.cpp:423:50: note: in expansion of macro 'SENSITIVE_PINS' static const int8_t sensitive_pins[] PROGMEM = SENSITIVE_PINS; ^ sketch/src/../src/pins.h:419:24: warning: narrowing conversion of '159' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing] } ^ sketch/src/MK_Main.cpp:423:50: note: in expansion of macro 'SENSITIVE_PINS' static const int8_t sensitive_pins[] PROGMEM = SENSITIVE_PINS; ^ sketch/src/../src/pins.h:419:24: warning: narrowing conversion of '159' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing] } ^ sketch/src/MK_Main.cpp:423:50: note: in expansion of macro 'SENSITIVE_PINS' static const int8_t sensitive_pins[] PROGMEM = SENSITIVE_PINS; ^ sketch/src/MK_Main.cpp: In function 'void gcode_M900()': sketch/src/MK_Main.cpp:8135:28: error: 'class Planner' has no member named 'extruder_advance_k' if (newK >= 0) planner.extruder_advance_k = newK; ^ sketch/src/MK_Main.cpp:8145:28: error: 'class Planner' has no member named 'advance_ed_ratio' if (newR >= 0) planner.advance_ed_ratio = newR; ^ In file included from sketch/src/../src/HAL/HAL.h:42:0, from sketch/src/../base.h:85, from sketch/src/MK_Main.cpp:31: sketch/src/MK_Main.cpp:8147:44: error: 'class Planner' has no member named 'extruder_advance_k' SERIAL_SMV(ECHO, "Advance K=", planner.extruder_advance_k); ^ sketch/src/../src/HAL/HAL_AVR/communication.h:68:75: note: in definition of macro 'SERIAL_MV' #define SERIAL_MV(msg, val, ...) (serial_print_pair(PSTR(msg), val, ## __VA_ARGS__)) ^ sketch/src/MK_Main.cpp:8147:5: note: in expansion of macro 'SERIAL_SMV' SERIAL_SMV(ECHO, "Advance K=", planner.extruder_advance_k); ^ sketch/src/MK_Main.cpp:8149:17: error: 'class Planner' has no member named 'advance_ed_ratio' if (planner.advance_ed_ratio) SERIAL_VAL(planner.advance_ed_ratio); ^ In file included from sketch/src/../src/HAL/HAL.h:42:0, from sketch/src/../base.h:85, from sketc h/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp:8149:54: error: 'class Planner' has no member named 'advance_ed_ratio'
if (planner.advance_ed_ratio) SERIAL_VAL(planner.advance_ed_ratio);
^
sketch/src/../src/HAL/HAL_AVR/communication.h:61:59: note: in definition of macro 'SERIAL_VAL'
#define SERIAL_VAL(val, ...) (serial_print(val, ## __VA_ARGS__))
^
exit status 1
Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.
Re: MK4duo e LIN_ADVANCE non si compila September 10, 2017 12:35PM |
Registered: 7 years ago Posts: 62 |
Re: MK4duo e LIN_ADVANCE non si compila September 10, 2017 01:10PM |
Registered: 7 years ago Posts: 5 |
Re: MK4duo e LIN_ADVANCE non si compila September 10, 2017 05:10PM |
Registered: 10 years ago Posts: 6,409 |
Re: MK4duo e LIN_ADVANCE non si compila September 10, 2017 06:09PM |
Registered: 7 years ago Posts: 5 |
"/var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp.o" /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp: In function 'void gcode_M900()': /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:8135:28: error: 'class Planner' has no member named 'extruder_advance_k' if (newK >= 0) planner.extruder_advance_k = newK; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:8145:28: error: 'class Planner' has no member named 'advance_ed_ratio' if (newR >= 0) planner.advance_ed_ratio = newR; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/../src/HAL/HAL.h:42:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/../base.h:85, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:31: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:8147:44: error: 'class Planner' has no member named 'extruder_advance_k' SERIAL_SMV(ECHO, "Advance K=", planner.extruder_advance_k); ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/../src/HAL/HAL_AVR/communication.h:68:75: note: in definition of macro 'SERIAL_MV' #define SERIAL_MV(msg, val, ...) (serial_print_pair(PSTR(msg), val, ## __VA_ARGS__)) ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:8147:5: note: in expansion of macro 'SERIAL_SMV' SERIAL_SMV(ECHO, "Advance K=", planner.extruder_advance_k); ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:8149:17: error: 'class Planner' has no member named 'advance_ed_ratio' if (planner.advance_ed_ratio) SERIAL_VAL(planner.advance_ed_ratio); ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/../src/HAL/HAL.h:42:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/../base.h:85, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:31: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/MK_Main.cpp:8149:54: error: 'class Planner' has no member named 'advance_ed_ratio' if (planner.advance_ed_ratio) SERIAL_VAL(planner.advance_ed_ratio); ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_769529/sketch/src/../src/HAL/HAL_AVR/communication.h:61:59: note: in definition of macro 'SERIAL_VAL' #define SERIAL_VAL(val, ...) (serial_print(val, ## __VA_ARGS__)) ^ exit status 1 Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.
In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../src/planner/planner.h: In member function 'void Mechanics::_set_position_mm(const float&, const float&, const float&, const float&)': /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:51:13: error: within this context planner.position_float[X_AXIS] = a; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:52:13: error: within this context planner.position_float[Y_AXIS] = b; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:53:13: error: within this context planner.position_float[Z_AXIS] = c; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:54:13: error: within this context planner.position_float[E_AXIS] = e; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../src/planner/planner.h: In member function 'void Mechanics::set_position_mm(AxisEnum, const float&)': /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_38604/sketch/src/mechanics/mechanics.cpp:73:13: error: within this context planner.position_float[axis] = v; ^ exit status 1 Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.
In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../src/planner/planner.h: In member function 'void Mechanics::_set_position_mm(const float&, const float&, const float&, const float&)': /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:51:13: error: within this context planner.position_float[X_AXIS] = a; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:52:13: error: within this context planner.position_float[Y_AXIS] = b; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:53:13: error: within this context planner.position_float[Z_AXIS] = c; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:54:13: error: within this context planner.position_float[E_AXIS] = e; ^ In file included from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../base.h:111:0, from /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:29: /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../src/planner/planner.h: In member function 'void Mechanics::set_position_mm(AxisEnum, const float&)': /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/../../src/planner/planner.h:189:20: error: 'float Planner::position_float [4]' is private static float position_float[NUM_AXIS]; ^ /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T/arduino_build_789726/sketch/src/mechanics/mechanics.cpp:73:13: error: within this context planner.position_float[axis] = v; ^ exit status 1 Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.
Re: MK4duo e LIN_ADVANCE non si compila September 11, 2017 02:32AM |
Registered: 10 years ago Posts: 6,409 |
Re: MK4duo e LIN_ADVANCE non si compila September 11, 2017 02:43AM |
Registered: 7 years ago Posts: 62 |
Re: MK4duo e LIN_ADVANCE non si compila September 11, 2017 02:52AM |
Registered: 7 years ago Posts: 62 |
Re: MK4duo e LIN_ADVANCE non si compila September 11, 2017 03:58AM |
Registered: 7 years ago Posts: 62 |
Re: MK4duo e LIN_ADVANCE non si compila September 11, 2017 05:10AM |
Registered: 7 years ago Posts: 5 |
Re: MK4duo e LIN_ADVANCE non si compila September 11, 2017 08:40AM |
Registered: 7 years ago Posts: 5 |
/var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T//ccTS92y9.ltrans2.ltrans.o: In function `EEPROM::Factory_Settings()': ccTS92y9.ltrans2.o.text+0x256): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0x25a): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0x25e): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0x262): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0x28e): undefined reference to `retract_recover_feedrate' ccTS92y9.ltrans2.o.text+0x292): undefined reference to `retract_recover_feedrate' ccTS92y9.ltrans2.o.text+0x296): undefined reference to `retract_recover_feedrate' ccTS92y9.ltrans2.o.text+0x29a): undefined reference to `retract_recover_feedrate' /var/folders/4l/59hg5m0n1hg1t5drcv2y_93h0000gn/T//ccTS92y9.ltrans2.ltrans.o: In function `EEPROM:rint_Settings(bool)': ccTS92y9.ltrans2.o.text+0xbf2): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0xbf6): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0xbfa): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0xbfe): undefined reference to `retract_feedrate' ccTS92y9.ltrans2.o.text+0xce6): undefined reference to `retract_recover_feedrate' ccTS92y9.ltrans2.o.text+0xcea): undefined reference to `retract_recover_feedrate' ccTS92y9.ltrans2.o.text+0xcee): undefined reference to `retract_recover_feedrate' ccTS92y9.ltrans2.o.text+0xcf2): undefined reference to `retract_recover_feedrate' collect2: error: ld returned 1 exit status exit status 1 Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.versione arduino :1.8.4