Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12089

Help with compiling errors

$
0
0
I would love to get some help solving my compiling errors listed below:

Geeetech Prusa i3 GT2560 board
Most of these errors were out of the box.

Thanks in advance




In file included from sketch/Marlin.h:23:0,
from sketch/BlinkM.cpp:5:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/ConfigurationStore.cpp:1:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/thermistortables.h:4,
from sketch/Configuration.h:792,
from /Users/peterbouhalis/Documents/Marlin-PI3_Pro_B 2/Marlin/Marlin.ino:33:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/MarlinSerial.cpp:23:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/Marlin_main.cpp:30:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
sketch/Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':
sketch/Marlin_main.cpp:998:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
planeNormal.debug("planeNormal");
^
In file included from sketch/Marlin.h:23:0,
from sketch/Sd2Card.cpp:20:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/SdBaseFile.cpp:21:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/SdFatUtil.cpp:20:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/SdFile.cpp:20:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/SdVolume.cpp:20:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/thermistortables.h:4,
from sketch/Configuration.h:792,
from sketch/Servo.cpp:44:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/cardreader.cpp:1:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/thermistortables.h:4,
from sketch/Configuration.h:792,
from sketch/digipot_mcp4451.cpp:1:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/motion_control.cpp:22:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/planner.cpp:54:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/thermistortables.h:4,
from sketch/Configuration.h:792,
from sketch/qr_solve.h:1,
from sketch/qr_solve.cpp:1:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/stepper.cpp:24:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/temperature.cpp:32:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
sketch/temperature.cpp:565:50: warning: extra tokens at end of #ifdef directive [enabled by default]
#ifdef THERMAL_RUNAWAY_PROTECTION_BED_PERIOD && THERMAL_RUNAWAY_PROTECTION_BED_PERIOD > 0
^
In file included from sketch/Marlin.h:23:0,
from sketch/temperature.h:24,
from sketch/ultralcd.cpp:1:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
sketch/ultralcd.cpp: In function 'void _lcd_babystep(int, const char*)':
sketch/ultralcd.cpp:409:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if (lcdDrawUpdate) lcd_implementation_drawedit(msg, "");
^
In file included from sketch/Marlin.h:23:0,
from sketch/vector_3.cpp:20:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch/Marlin.h:23:0,
from sketch/watchdog.cpp:1:
sketch/pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]
#define X_MAX_PIN -1
^
sketch/pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch/pins.h:2957:0: warning: "Y_MAX_PIN" redefined [enabled by default]
#define Y_MAX_PIN -1
^
sketch/pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch/pins.h:2958:0: warning: "Z_MAX_PIN" redefined [enabled by default]
#define Z_MAX_PIN -1
^
sketch/pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32

Viewing all articles
Browse latest Browse all 12089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>