I am adding an LCD Graphic Controller to my 3D printer running a Ramps 1.4 board on an Arduino Mega 2560, so I need to add the U8glib library but I'm getting the error in error1.txt
You can post your errors in the post, not as attachments or links. For error2, I think we need to see your sketch as well as the modified version of libraries. I'm not familiar with Ramps, but I suspect that there are multiple files; if so, zip your sketch directory and attach it.
error1.txt
In file included from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/U8glib-HAL.h:47:0,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\HAL\AVR\u8g_com_HAL_AVR_sw_spi.cpp:65:
C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/clib/u8g.h:115:25: internal compiler error: in type_hash_canon, at tree.c:7158
typedef uint8_t PROGMEM u8g_pgm_uint8_t;
^~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
In file included from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/U8glib-HAL.h:47:0,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\dogm\u8g_fontutf8.h:11,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\lcdprint.h:53,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\marlinui.h:85,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\feature\stepper_driver_safety.cpp:23:
C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/clib/u8g.h:115:25: internal compiler error: in type_hash_canon, at tree.c:7158
typedef uint8_t PROGMEM u8g_pgm_uint8_t;
^~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
In file included from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/U8glib-HAL.h:47:0,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\dogm\u8g_fontutf8.h:11,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\lcdprint.h:53,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\marlinui.h:85,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\gcode\calibrate\G28.cpp:48:
C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/clib/u8g.h:115:25: internal compiler error: in type_hash_canon, at tree.c:7158
typedef uint8_t PROGMEM u8g_pgm_uint8_t;
^~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
In file included from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/U8glib-HAL.h:47:0,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\dogm\u8g_fontutf8.h:11,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\lcdprint.h:53,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\marlinui.h:85,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\gcode\queue.cpp:32:
C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/clib/u8g.h:115:25: internal compiler error: in type_hash_canon, at tree.c:7158
typedef uint8_t PROGMEM u8g_pgm_uint8_t;
^~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
In file included from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/U8glib-HAL.h:47:0,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\dogm\u8g_fontutf8.h:11,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\lcdprint.h:53,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\marlinui.h:85,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\MarlinCore.cpp:61:
C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/clib/u8g.h:115:25: internal compiler error: in type_hash_canon, at tree.c:7158
typedef uint8_t PROGMEM u8g_pgm_uint8_t;
^~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
In file included from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/U8glib-HAL.h:47:0,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\dogm\u8g_fontutf8.h:11,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\lcdprint.h:53,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\lcd\marlinui.h:85,
from C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x\Marlin\src\gcode\control\M17_M18_M84.cpp:25:
C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Arduino\libraries\U8glib-HAL\src/clib/u8g.h:115:25: internal compiler error: in type_hash_canon, at tree.c:7158
typedef uint8_t PROGMEM u8g_pgm_uint8_t;
^~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
exit status 1
Error compiling for board Arduino Mega or Mega 2560.
You don't have to compile to post a sketch. I think that it's this directory that you need to zip: C:\Users\Caleb\OneDrive - Texas A&M University\Documents\Marlin-2.0.x
Not familiar with Marlin so can't help you further.
I have moved your topic to a more suitable location on the forum.
Hi @calebdollar. I apologize for the inconvenience. This automatic restriction is intended to prevent abuse of the forum by bots. However, it can sometimes have a harmful effect on people, such as yourself, who only intend to use the forum responsibly.
Fortunately, the requirements for moving to the next "trust level" with the forum software are very minimal. You will find that each trust level imposes less restrictions. Since you have already gone from trust level 0 to trust level 1, you will see an improvement.
You can learn about the Discourse forum software's "trust level" system here:
They were flags made by the forum's automated spam detection system, triggered due to multiple links to the same domain by a new user.
The spam detection system does sometimes have some unfortunate false positives, and this is why every action it takes is reviewed by a human moderators. So even though there might be a temporary inconvenience, everything will be set right eventually. Fortunately, we have a very active and dedicated group of moderators, so the situation is usually resolved very quickly.
I have already restored the posts that were put on queue by the spam detection system.