Please note: the forum is closed.
No new user registrations are accepted. For more info, please click here.
No new user registrations are accepted. For more info, please click here.
Problems compiling source code
Tobscin
Posts: 3Member
Hello,
i have a problem with compiling the source code.
I had problems with the 2.0D and waited for a new version. Now i tried it again with the 2.0G and have problems too.
Maybe someone can help me, my printer isn't used for over one year
Greetings
i have a problem with compiling the source code.
I had problems with the 2.0D and waited for a new version. Now i tried it again with the 2.0G and have problems too.
Maybe someone can help me, my printer isn't used for over one year
Greetings
Compiling .pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\eeprom_flash.cpp.o
In file included from Marlin\src\HAL\STM32F1\../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\HAL.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\HAL.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\HAL.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
In file included from Marlin\src\HAL\STM32F1\../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\SPI.cpp:43:
Marlin\src\HAL\STM32F1\../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\SPI.cpp:43:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\SPI.cpp:43:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
In file included from Marlin\src\HAL\STM32F1\../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\MarlinSerial.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\MarlinSerial.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
In file included from Marlin\src\HAL\STM32F1\../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\HAL_SPI.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\HAL_SPI.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\MarlinSerial.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
In file included from Marlin\src\HAL\STM32F1\dogm\../../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\dogm\../../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp:21:
Marlin\src\HAL\STM32F1\dogm\../../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
In file included from Marlin\src\HAL\STM32F1\dogm\../../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\dogm\../../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp:21:
Marlin\src\HAL\STM32F1\dogm\../../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
In file included from Marlin\src\HAL\STM32F1\../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\Servo.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
In file included from Marlin\src\HAL\STM32F1\../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\eeprom_bl24cxx.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\HAL.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\eeprom_bl24cxx.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\Servo.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\HAL_SPI.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
In file included from Marlin\src\HAL\STM32F1\dogm\../../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp:21:
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\eeprom_bl24cxx.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\SPI.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\Servo.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
In file included from Marlin\src\HAL\STM32F1\../../inc/../pins/pins.h:551:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:34,
from Marlin\src\HAL\STM32F1\eeprom_flash.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/../pins/stm32f1/pins_JGAURORA_A5S_A1.h:127:0: warning: "TFT_DRIVER" redefined
#define TFT_DRIVER ILI9488
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\MarlinSerial.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:39:0,
from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
from Marlin\src\HAL\STM32F1\eeprom_flash.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration.h:2402:0: note: this is the location of the previous definition
#define TFT_DRIVER AUTO
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\HAL_SPI.cpp.o] Error 1
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:49:0,
from Marlin\src\HAL\STM32F1\eeprom_flash.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3168:6: error: #error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_X_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3171:6: error: #error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_CALIBRATION must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3174:6: error: #error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_X_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:3177:6: error: #error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
#error "XPT2046_Y_OFFSET must be defined with TOUCH_SCREEN."
^~~~~
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\eeprom_bl24cxx.cpp.o] Error 1
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\Servo.cpp.o] Error 1
*** [.pio\build\jgaurora_a5s_a1\src\src\HAL\STM32F1\eeprom_flash.cpp.o] Error 1
Comments
Howdy, Stranger!
RegisterIt looks like you've been lurking for a while.
If you register, we will remember what you have read and notify you about new comments. You will also be able to participate in discussions.
So if you'd like to get involved, register for an account, it'll only take you a minute!