using windows. uploaded ardruino 1.8.10.when i go to upload marlin im receiving compiling error.i have installed newest u8glib. not sure why isn’t compiling any help would be great thanks.
Arduino: 1.8.10 (Windows 7), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”
C:\Users\mike\AppData\Local\Temp\cczUzaQv.ltrans0.ltrans.o: In function `main’:
C:\Users\mike\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino/main.cpp:43: undefined reference to `setup’
C:\Users\mike\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino/main.cpp:46: undefined reference to `loop’
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Mega or Mega 2560.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
thanks for helping. I followed your directions on the mpcnc website. i went in and downloaded marlin ramps t8 16t lcd 32 step dual endstops. i then went into file selected marlin ,next i opened marlin.ino which took me into ardruino with marlin open. i tried to upload and compile it and thats when i recieved the error code. I have tried already to unistall marlin and reinstall and still get same error code.
i tried it again and i now have the marlin and also access to configuration_adv.h in ardruino . i didn’t have the configuration part before. ran again and error code came back as :
Arduino: 1.8.10 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”
c:\users\mike\appdata\local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2\bin…/lib/gcc/avr/5.4.0/…/…/…/…/avr/bin/ar.exe: unable to rename ‘core\core.a’; reason: File exists
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
i installed full version.i"ll have to play around with it some more.thanks again for your help.if i cannot get it do you sell boards already flashed with firmware.
Do you have any other computer to try with?
Windows 7 is pretty old and has not been actively supported for a very long time. We are currently stretching arduino’s abilities so much that Marlin has officially stopped even supporting it so you are kinda in a double not supported area here.
hey ryan, i found a solution to the problem. I had to extract the marlin file to my documents. once i did that it uploaded no problem. Im trying to connect the reprap smart controller lcd screen 2004 to marlin and i uncommented that part in marlin.i put in u8glib into file and i uploaded it successfully . i also tried to moving cables different ways but no success. i have backlight on but no program display. do you have any suggestions. i heard that this lcd has many issues. If i cant get to work , do you recommend one that is better.thanks