Im making 3d printer (prusa i3) and using Marlin firmware
But im facing compiling issue
Im using windows 10 and id selected the board mega 2560 and selected the port COM1 and before ı tried COM6 mega also, and the controller as ATmega2560 but still error compiling mega 2560
C:\Users\ventoak\Downloads\3d yazıcı\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin\Marlin.ino:44:101: fatal error: U8glib.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
There are multiple download links on that page. But your folder name:
Lubaba:
C:\Users\ventoak\Downloads\3d yazıcı\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin\Marlin.ino
[/quote]
tells me you aren't using any of them. Try again. You're not making it very easy for me to help you.
id tried too much marlins im refinding its link but all just ı know its from wiki
how can i send u a winrar folder? if its possible ill send u directly my marlin from my pc to u
Lubaba:
i just want to know what problems might be when they wrıte
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
It means just what it says, there was an error compiling. What was the error?
Lubaba:
C:\Users\ventoak\Downloads\3d yazıcı\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin\Marlin.ino:44:101: fatal error: U8glib.h: No such file or directory
[/quote]
You already know this. Now chill out I'm working on helping you right now.
didnt work i was not able to add library from sketch the .rar was not appearing from there then id copied the folder u8glip.h and u8glip.cpp (there was only these) to marlin folder where is the whole libraries but didnt work also
probably i think because thats the 1.5.x folder and im using 1.6.8 and in folder of 1.x.x there is no u8glip folder
Have you installed the U8Glib library? If you have Marlin configured (in configuration.h) for one of the LCD control panels it will want the U8Glib library. Check GitHub - olikraus/U8glib_Arduino: U8glib library for Arduino for further information.
You're not supposed to copy it from sketch. Use Windows Explorer.
Lubaba:
the .rar was not appearing from there
Where did I say anything about .rar? I didn't.
Lubaba:
id copied the folder u8glip.h and u8glip.cpp
Those aren't folders, those are files.
Lubaba:
to marlin folder where is the whole libraries but didnt work also
probably i think because thats the 1.5.x folder and im using 1.6.8
No, it didn't work because the include syntax is wrong for using those files in the sketch folder. You would need to change the include(s) to:
#include "U8glib.h"
As I said before, that's an old version of Marlin but you seem set on using it so whatever.
DaveAhrendt:
Have you installed the U8Glib library? If you have Marlin configured (in configuration.h) for one of the LCD control panels it will want the U8Glib library. Check GitHub - olikraus/U8glib_Arduino: U8glib library for Arduino for further information.
Marlin includes the U8glib library(which I have instructed OP how to install). The reason for this is they want to make sure that the version of the library they tested is used instead of a different version that may not be compatible.
yes u didnt said but when i was trying to add a library there was a section which is add .zip
anyway i installed the library for u8glib and also for u8g2 the above issue has gone but similar issue had occured again
In file included from C:\Users\ventoak\Downloads\3d yazıcı\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin\Marlin.ino:34:0:
sketch\U8glib.h:42:25: fatal error: utility/u8g.h: No such file or directory
#include "utility/u8g.h"
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
i did the same steps i did for u8glib but didnt work this time i include it and install it and also coppy the file to marlins folder but ddnt work
id installed u8g2
copied ''#include "utility/u8g.h"'' to marlin widnow
copied the file from ArduinoAddons/Arduino_1.5.x/Hardware/Marlin/avr/libraries/u8glib/utility