Lỗi u8glib.h no such file or directory năm 2024

This is being compiled on a new machine, so I'm not sure if that has something to do with it. I've tried to remove extra instances of U8GLIB to no avail. I have a working firmware version loaded on the board, but I think my measurements are off in terms of build volume on the old firmware, so it needs to be updated. I've been working on this printer for years now off and on and I'm so very close to getting it running, this is driving me mad. I'm a bit of a novice with Marlin so this just eludes me and I don't know where to begin.

Any help would be greatly appreciated.

Edited 1 time(s). Last edit at 11/05/2019 07:47AM by Tempest815.

delete the directory C:\Users\Owner\Documents\Arduino\libraries\U8glib and try again

I updated to 1.1.9 just to see if that would compile, and it did!

But now my graphic controller is heavily artifacted and I'm not sure where the issue is. There were no issues in compiling, no error messages, so now I'm not sure what's what.

Attachments: open | download - 20191105_084014.jpg (350.1 KB)

Aaaaaand now the motion is totally broken. Ignoring endstops, placing endstop 0.00 at the furthest end of travel, etc. Should I just make a new topic, or just keep dumping my sorrows here?

You replaced the brain of your printer with a new brain, but didn't teach it anything about the body it was in...

You need to configure the firmware to match your hardware.

Quote

Dust You replaced the brain of your printer with a new brain, but didn't teach it anything about the body it was in...

You need to configure the firmware to match your hardware.

See, I thought I did. I have all my settings ported over, all should be okay. Also when I send M119 I get every endstop reading TRIGGERED. I can upload the configuration tomorrow, but that still doesn't explain the corrupt graphics controller.

So, basically:

Motion is frozen Corrupt display All endstops reading TRIGGERED

With endstops triggered the printer thinks its at min and max position at the same time.... it cant move when it thinks its trapped between two endstops

Does the endstop change to open when you close the switch? if so you just need to invert the endstop, If the endstops don't change it could be pullups aren't enabled

You need to play with the lcd timings

In configuration.h add these to override the defaults.

define ST7920_DELAY_1 DELAY_NS(0)

define ST7920_DELAY_2 DELAY_NS(0)

define ST7920_DELAY_3 DELAY_NS(63) // these are the default values for a 16mhz processor (ie a mega2560)

which is used in this bit of code

define ST7920_SND_BIT \

WRITE(ST7920_CLK_PIN, LOW); ST7920_DELAY_1; \ WRITE(ST7920_DAT_PIN, val & 0x80); ST7920_DELAY_2; \ WRITE(ST7920_CLK_PIN, HIGH); ST7920_DELAY_3; \ val <<= 1

which means for each bit that is sent set the clock pin low and wait delay_1 set the data pin and wait delay_2 set the clock pin high and wait delay_3

Other have found that setting

define ST7920_DELAY_3 DELAY_NS(125) works for them.. but it depends on how slow your lcd is...

Edited 3 time(s). Last edit at 11/05/2019 07:18PM by Dust.

Got it back to running motion properly and screen is back to normal, many thanks!

However there's one final problem; the extruder seems to be under extruding or not feeding fast enough, any insight into how to fix that?

Interestingly, compiling it from my Raspi3 with Arduino IDE returns a flood of build warnings (as opposed to the virtually silent verbosity of my windows box), but it actually seems to succeed:

Ugh I can't paste this in pastebin because of a 512k limit. I'll just include the top and bottom warnings (its 2.5mb of text for the whole thing)

In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:43:0: warning: "TIMER2" redefined
 
# define TIMER2  5
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:210:0: note: this is the location of the previous definition
 
# define TIMER2  6
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:44:0: warning: "TIMER2A" redefined
 
# define TIMER2A 6
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:211:0: note: this is the location of the previous definition
 
# define TIMER2A 7
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:45:0: warning: "TIMER2B" redefined
 
# define TIMER2B 7
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:212:0: note: this is the location of the previous definition
 
# define TIMER2B 8
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:47:0: warning: "TIMER3A" redefined
 
# define TIMER3A 8
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:214:0: note: this is the location of the previous definition
 
# define TIMER3A 9
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:48:0: warning: "TIMER3B" redefined
 
# define TIMER3B 9
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:215:0: note: this is the location of the previous definition
 
# define TIMER3B 10
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:49:0: warning: "TIMER3C" redefined
 
# define TIMER3C 10
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:216:0: note: this is the location of the previous definition
 
# define TIMER3C 11
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:50:0: warning: "TIMER4A" redefined
 
# define TIMER4A 11
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:217:0: note: this is the location of the previous definition
 
# define TIMER4A 12
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:51:0: warning: "TIMER4B" redefined
 
# define TIMER4B 12
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:218:0: note: this is the location of the previous definition
 
# define TIMER4B 13
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:52:0: warning: "TIMER4C" redefined
 
# define TIMER4C 13
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:219:0: note: this is the location of the previous definition
 
# define TIMER4C 14
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:53:0: warning: "TIMER5A" redefined
 
# define TIMER5A 14
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:221:0: note: this is the location of the previous definition
 
# define TIMER5A 16
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:54:0: warning: "TIMER5B" redefined
 
# define TIMER5B 15
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:222:0: note: this is the location of the previous definition
 
# define TIMER5B 17
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/Marlin.ino.cpp:1:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:55:0: warning: "TIMER5C" redefined
 
# define TIMER5C 16
 ^
In file included from sketch/Marlin.ino.cpp:1:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:223:0: note: this is the location of the previous definition
 
# define TIMER5C 18
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/src/inc/../HAL/HAL_AVR/HAL_AVR.h:38,
                 from sketch/src/inc/../HAL/HAL.h:35,
                 from sketch/src/inc/MarlinConfig.h:34,
                 from sketch/src/Marlin.h:29,
                 from sketch/src/Marlin.cpp:31:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:43:0: warning: "TIMER2" redefined
 
# define TIMER2  5
 ^
In file included from sketch/src/inc/../HAL/HAL_AVR/HAL_AVR.h:38:0,
                 from sketch/src/inc/../HAL/HAL.h:35,
                 from sketch/src/inc/MarlinConfig.h:34,
                 from sketch/src/Marlin.h:29,
                 from sketch/src/Marlin.cpp:31:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:210:0: note: this is the location of the previous definition
 
# define TIMER2  6
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/src/inc/../HAL/HAL_AVR/HAL_AVR.h:38,
                 from sketch/src/inc/../HAL/HAL.h:35,
                 from sketch/src/inc/MarlinConfig.h:34,
                 from sketch/src/Marlin.h:29,
                 from sketch/src/Marlin.cpp:31:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:44:0: warning: "TIMER2A" redefined
 
# define TIMER2A 6
 ^
In file included from sketch/src/inc/../HAL/HAL_AVR/HAL_AVR.h:38:0,
                 from sketch/src/inc/../HAL/HAL.h:35,
                 from sketch/src/inc/MarlinConfig.h:34,
                 from sketch/src/Marlin.h:29,
                 from sketch/src/Marlin.cpp:31:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:211:0: note: this is the location of the previous definition
 
# define TIMER2A 7
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from sketch/src/inc/../HAL/HAL_AVR/HAL_AVR.h:38,
                 from sketch/src/inc/../HAL/HAL.h:35,
                 from sketch/src/inc/MarlinConfig.h:34,
                 from sketch/src/Marlin.h:29,
                 from sketch/src/Marlin.cpp:31:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:45:0: warning: "TIMER2B" redefined
 
# define TIMER2B 7
 ^
In file included from sketch/src/inc/../HAL/HAL_AVR/HAL_AVR.h:38:0,
                 from sketch/src/inc/../HAL/HAL.h:35,
                 from sketch/src/inc/MarlinConfig.h:34,
                 from sketch/src/Marlin.h:29,
                 from sketch/src/Marlin.cpp:31:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:212:0: note: this is the location of the previous definition
 
# define TIMER2B 8

...

In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:211:0: note: this is the location of the previous definition
 
# define TIMER2A 7
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:45:0: warning: "TIMER2B" redefined
 
# define TIMER2B 7
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:212:0: note: this is the location of the previous definition
 
# define TIMER2B 8
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:47:0: warning: "TIMER3A" redefined
 
# define TIMER3A 8
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:214:0: note: this is the location of the previous definition
 
# define TIMER3A 9
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:48:0: warning: "TIMER3B" redefined
 
# define TIMER3B 9
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:215:0: note: this is the location of the previous definition
 
# define TIMER3B 10
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:49:0: warning: "TIMER3C" redefined
 
# define TIMER3C 10
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:216:0: note: this is the location of the previous definition
 
# define TIMER3C 11
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:50:0: warning: "TIMER4A" redefined
 
# define TIMER4A 11
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:217:0: note: this is the location of the previous definition
 
# define TIMER4A 12
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:51:0: warning: "TIMER4B" redefined
 
# define TIMER4B 12
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:218:0: note: this is the location of the previous definition
 
# define TIMER4B 13
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:52:0: warning: "TIMER4C" redefined
 
# define TIMER4C 13
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:219:0: note: this is the location of the previous definition
 
# define TIMER4C 14
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:53:0: warning: "TIMER5A" redefined
 
# define TIMER5A 14
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:221:0: note: this is the location of the previous definition
 
# define TIMER5A 16
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:54:0: warning: "TIMER5B" redefined
 
# define TIMER5B 15
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:222:0: note: this is the location of the previous definition
 
# define TIMER5B 17
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
                 from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:
/home/pi/src/arduino-1.8.5/hardware/anet/avr/variants/sanguino/pins_arduino.h:55:0: warning: "TIMER5C" redefined
 
# define TIMER5C 16
 ^
In file included from /home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/main.cpp:20:0:
/home/pi/src/arduino-1.8.5/hardware/arduino/avr/cores/arduino/Arduino.h:223:0: note: this is the location of the previous definition
 
# define TIMER5C 18
 ^
Sketch uses 111638 bytes (85%) of program storage space. Maximum is 130048 bytes.
Global variables use 4305 bytes of dynamic memory