Fist start : Problem with changing the firmware

[b]Hello,

I Juste finish to buitlt my k8400 and i’m trying to changing the firmware because I have only one head.

But when i try to upload in Marlin I have this error.

Someone can Help Me ?
Tanks a lot and sorry fo my english[/b]

In file included from sketch\Marlin.h:23:0,

             from sketch\thermistortables.h:4,

             from sketch\Configuration.h:733,

             from C:\Users\utilisateur\Desktop\Vertex\Softwares 12-01-2017\vertex-m1-v1.4-h1\Marlin\Marlin.pde:33:

sketch\pins.h:401:0: warning: “FAN_PIN” redefined

 #define FAN_PIN            8 

^

sketch\pins.h:396:0: note: this is the location of the previous definition

 #define FAN_PIN            4 // IO pin. Buffer needed

^

sketch\pins.h:419:0: warning: “HEATER_2_PIN” redefined

 #define HEATER_2_PIN       6   //BED

^

sketch\pins.h:414:0: note: this is the location of the previous definition

#define HEATER_2_PIN -1

^

sketch\pins.h:459:0: warning: “BEEPER” redefined

     #define BEEPER -1   // Beeper on AUX-4

^

sketch\pins.h:432:0: note: this is the location of the previous definition

   #define BEEPER 33   // Beeper on AUX-4

^

sketch\pins.h:461:0: warning: “LCD_PINS_RS” redefined

     #define LCD_PINS_RS 27 

^

sketch\pins.h:434:0: note: this is the location of the previous definition

   #define LCD_PINS_RS 16 

^

sketch\pins.h:462:0: warning: “LCD_PINS_ENABLE” redefined

     #define LCD_PINS_ENABLE 29

^

sketch\pins.h:435:0: note: this is the location of the previous definition

   #define LCD_PINS_ENABLE 17

^

sketch\pins.h:463:0: warning: “LCD_PINS_D4” redefined

     #define LCD_PINS_D4 37

^

sketch\pins.h:436:0: note: this is the location of the previous definition

   #define LCD_PINS_D4 23

^

sketch\pins.h:464:0: warning: “LCD_PINS_D5” redefined

     #define LCD_PINS_D5 35 

^

sketch\pins.h:437:0: note: this is the location of the previous definition

   #define LCD_PINS_D5 25 

^

sketch\pins.h:465:0: warning: “LCD_PINS_D6” redefined

     #define LCD_PINS_D6 33

^

sketch\pins.h:438:0: note: this is the location of the previous definition

   #define LCD_PINS_D6 27

^

sketch\pins.h:466:0: warning: “LCD_PINS_D7” redefined

     #define LCD_PINS_D7 31

^

sketch\pins.h:439:0: note: this is the location of the previous definition

   #define LCD_PINS_D7 29

^

sketch\pins.h:469:0: warning: “BTN_EN1” redefined

     #define BTN_EN1 17

^

sketch\pins.h:442:0: note: this is the location of the previous definition

   #define BTN_EN1 37

^

sketch\pins.h:470:0: warning: “BTN_EN2” redefined

     #define BTN_EN2 16

^

sketch\pins.h:443:0: note: this is the location of the previous definition

   #define BTN_EN2 35

^

sketch\pins.h:471:0: warning: “BTN_ENC” redefined

     #define BTN_ENC 23  //the click

^

sketch\pins.h:444:0: note: this is the location of the previous definition

   #define BTN_ENC 31  //the click

^

In file included from sketch\Marlin.h:23:0,

             from sketch\Marlin_main.cpp:30:

sketch\pins.h:401:0: warning: “FAN_PIN” redefined

 #define FAN_PIN            8 

^

sketch\pins.h:396:0: note: this is the location of the previous definition

 #define FAN_PIN            4 // IO pin. Buffer needed

^

sketch\pins.h:419:0: warning: “HEATER_2_PIN” redefined

 #define HEATER_2_PIN       6   //BED

^

sketch\pins.h:414:0: note: this is the location of the previous definition

#define HEATER_2_PIN -1

^

sketch\pins.h:459:0: warning: “BEEPER” redefined

     #define BEEPER -1   // Beeper on AUX-4

^

sketch\pins.h:432:0: note: this is the location of the previous definition

   #define BEEPER 33   // Beeper on AUX-4

^

sketch\pins.h:461:0: warning: “LCD_PINS_RS” redefined

     #define LCD_PINS_RS 27 

^

sketch\pins.h:434:0: note: this is the location of the previous definition

   #define LCD_PINS_RS 16 

^

sketch\pins.h:462:0: warning: “LCD_PINS_ENABLE” redefined

     #define LCD_PINS_ENABLE 29

^

sketch\pins.h:435:0: note: this is the location of the previous definition

   #define LCD_PINS_ENABLE 17

^

sketch\pins.h:463:0: warning: “LCD_PINS_D4” redefined

     #define LCD_PINS_D4 37

^

sketch\pins.h:436:0: note: this is the location of the previous definition

   #define LCD_PINS_D4 23

^

sketch\pins.h:464:0: warning: “LCD_PINS_D5” redefined

     #define LCD_PINS_D5 35 

^

sketch\pins.h:437:0: note: this is the location of the previous definition

   #define LCD_PINS_D5 25 

^

sketch\pins.h:465:0: warning: “LCD_PINS_D6” redefined

     #define LCD_PINS_D6 33

^

sketch\pins.h:438:0: note: this is the location of the previous definition

   #define LCD_PINS_D6 27

^

sketch\pins.h:466:0: warning: “LCD_PINS_D7” redefined

     #define LCD_PINS_D7 31

^

sketch\pins.h:439:0: note: this is the location of the previous definition

   #define LCD_PINS_D7 29

^

sketch\pins.h:469:0: warning: “BTN_EN1” redefined

     #define BTN_EN1 17

^

sketch\pins.h:442:0: note: this is the location of the previous definition

   #define BTN_EN1 37

^

sketch\pins.h:470:0: warning: “BTN_EN2” redefined

     #define BTN_EN2 16

^

sketch\pins.h:443:0: note: this is the location of the previous definition

   #define BTN_EN2 35

^

sketch\pins.h:471:0: warning: “BTN_ENC” redefined

     #define BTN_ENC 23  //the click

^

sketch\pins.h:444:0: note: this is the location of the previous definition

   #define BTN_ENC 31  //the click

^

sketch\Marlin_main.cpp:2119: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;

                             ^

exit status 1
using typedef-name ‘fpos_t’ after ‘struct’

With what version of arduino did you try to compile the firmware?

With the version 1.8.1

As stated in the documentation you need 1.0.6.

You can download it here.
arduino.cc/download_handler … indows.exe

It’s ok !!!

Thanks a lot / Merci beaucoup !