hi i have just fitted the 3d touch to my i3 pro b with gt2560 board, i found the firmware on this site but when i try and compile it i get this error
'error'
^
using typedef-name 'fpos_t' after 'struct'
here is the full error report
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Marlin.h:23:0,
from sketch\BlinkM.cpp:5:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#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
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
In file included from sketch\Marlin.h:23:0,
from sketch\ConfigurationStore.cpp:1:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#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
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
In file included from sketch\Marlin.h:23:0,
from sketch\MarlinSerial.cpp:23:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#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
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
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
#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
#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\Marlin_main.cpp:2667:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:8,
from sketch\Marlin_main.cpp:44:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\Marlin_main.cpp:30:
c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
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");
^
exit status 1
using typedef-name 'fpos_t' after 'struct'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
3d touch i3 pro b firmware compiling error
Re: 3d touch i3 pro b firmware compiling error
You should upload the firmware via Arduino 1.0.1
-Keep your mind and try to test it.
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!
Re: 3d touch i3 pro b firmware compiling error
I tried uploading to 1.0 and I still have an error as well.
Re: 3d touch i3 pro b firmware compiling error
"fpos_t" error seems because the latest Arduino version have more strict definition of the firmware
-Keep your mind and try to test it.
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!