Go Down

Topic: compiling Mega 2560 with 3d printer (Read 2350 times) previous topic - next topic

pert

yes u didnt said but when i was trying to add a library there was a section which is add .zip
That is an easy way to add libraries but unfortunately it won't work in this case because the libraries are not in .zip files.

i did the same steps i did for u8glib but didnt work this time
Please describe those steps.

Lubaba

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


pert

Sounds like you're doing a bunch of random stuff instead of just following my instructions from #10. My suggestion is to redownload Marlin and start over, actually following my instructions this time. If you want to use the same version it's here: https://github.com/MarlinFirmware/Marlin/archive/ffad21bca3200209d364c0c11298c71f5ca070be.zip.

Lubaba

yes id also download 1.6.10 ı forgot to tell u

pert

That won't affect my instructions but does affect you if you're trying to include libraries in subfolders of the sketch folder. See https://github.com/arduino/arduino-builder/pull/148.

Lubaba

sorry i check it but didnt understand
which ones i have to add how and where

pert

  • Download https://github.com/MarlinFirmware/Marlin/archive/ffad21bca3200209d364c0c11298c71f5ca070be.zip
  • Unzip the downloaded file
  • Copy any configuration files C:\Users\ventoak\Downloads\3d yazıcı\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\Marlin to the new copy of Marlin that you downloaded and unzipped
  • Copy Marlin-ffad21bca3200209d364c0c11298c71f5ca070be\ArduinoAddons\Arduino_1.5.x\hardware\marlin\avr\libraries\U8glib to {sketchbook folder}\libraries
  • Restart Arduino IDE
  • Open Marlin.ino from the fresh copy of Marlin that you downloaded and unzipped.
  • Try uploading Marlin to your printer again


You can find your sketchbook folder location at at File > Preferences > Sketchbook location.

Go Up