flashing ramps

Hi peeps… I trying to flash my ramp with the b16 32 8mm but just get this error a…been trying for weeks but still errors with
Arduino: 1.6.10 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from sketch\ConfigurationStore.cpp:65:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\Marlin_main.cpp:47:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

sketch\Marlin_main.cpp:2715: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’

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Plz someone help …i so close

Use an older version of arduino. You can download a classic version or older. They have moved the libraries for some reason and it is causing all these issues.

Thank will try that