Compiling error ramps 1.4 lcd\

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.

That seems like you are missing all the marlin files.

try clicking on my Marlin.ino file and letting it open arduino so it loads all the files it needs. I show picture of this on the firmware page.

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.

is it unzipped, windows will let you open an unzipped folder for some reason.

says . compressed (zipped ) folder

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.

TRy uninstalling, rebooting, and reinstalling arduino. looks like a stuck file or something. Windows 7 is very picky.

error when reloading. says can’t initialize plug-ins directory for ardruino.

wouldn’t load through chrome but did in firefox. I tried blink test. now error code for that where it was fine before.

Arduino: 1.8.11 (Windows 7), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”

c:\program files (x86)\arduino\hardware\tools\avr\bin…/lib/gcc/avr/7.3.0/…/…/…/…/avr/bin/ar.exe: unable to rename ‘core\core.a’; reason: File exists

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.

I don’t have Windows 7 to help you out so these are all guesses.

Did you install the full version or the windows app? The app does not work.

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.

Ryan sells the mini rambo and rambo already flashed.

thanks jeffeb3

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.

i am currently trying to upgrade to windows 10.thanks Ryan

I don’t know if that is the solution, I was just hoping maybe you were able to try a different computer.

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

1 Like

This is a real long shot… but have you tried playing with the display contrast potentiometer on the LCD board?

1 Like

Glad you got compiling.

Did you comment out the one we use (rep rap full discount somthing)?

Are you sure you got a successful compile and upload?

1 Like

You also need to comment out the bootscreen logo. That should have thrown an error so I don’t think you got an upload.

2 Likes