Problemi compilazione firmware
Inviato: 21/09/2016, 9:33
Salve a tutti,
Dopo aver concluso il montaggio della 3DRAG/DUAL e del controller a display grafico, ho scaricato il firmware "Marlin_LCD_Grafico_2EXT175-1" e tramite l'IDE di Arduino (versione 1.6.11) ho cercato di effettuare lo scarico dello stesso sulla scheda della stampante.
Purtroppo il risultato รจ stato che durante la compilazione, l'ide mi ha risposto con un errore che qui sotto riporto:
Sto compilando lo sketch...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\BlinkM.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\BlinkM.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\ConfigurationStore.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\ConfigurationStore.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin.ino.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin.ino.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\MarlinSerial.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\MarlinSerial.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp.o"
In file included from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\SdFile.h:27:0,
from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\cardreader.h:8,
from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp:50:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin.h:10:0,
from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp:30:
c:\program files\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
Uso la libreria U8glib nella cartella: C:\Users\utente\Documents\Arduino\libraries\U8glib (legacy)
exit status 1
using typedef-name 'fpos_t' after 'struct'
Mi porteste ora aiutare a risolvere detto inconveniente?
Grazie anticipatamente
Dopo aver concluso il montaggio della 3DRAG/DUAL e del controller a display grafico, ho scaricato il firmware "Marlin_LCD_Grafico_2EXT175-1" e tramite l'IDE di Arduino (versione 1.6.11) ho cercato di effettuare lo scarico dello stesso sulla scheda della stampante.
Purtroppo il risultato รจ stato che durante la compilazione, l'ide mi ha risposto con un errore che qui sotto riporto:
Sto compilando lo sketch...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\BlinkM.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\BlinkM.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\ConfigurationStore.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\ConfigurationStore.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin.ino.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin.ino.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\MarlinSerial.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\MarlinSerial.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\utente\Documents\Arduino\libraries\U8glib" "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp" -o "C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp.o"
In file included from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\SdFile.h:27:0,
from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\cardreader.h:8,
from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp:50:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin.h:10:0,
from C:\Users\utente\AppData\Local\Temp\buildc3dcc5adcc9a92dcafe77f2b258230e1.tmp\sketch\Marlin_main.cpp:30:
c:\program files\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
Uso la libreria U8glib nella cartella: C:\Users\utente\Documents\Arduino\libraries\U8glib (legacy)
exit status 1
using typedef-name 'fpos_t' after 'struct'
Mi porteste ora aiutare a risolvere detto inconveniente?
Grazie anticipatamente