Custom Firmware Follow up: "Error compiling for board Arduino/Genuino Mega or Mega 2560."

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024
  • This quick video shows how to install the u8glib graphical library, that is required by the marlin firmware, in order to successfully compile the custom firmware.
    [NEW] For more support, tips and tricks, join the community at jgauroraforum.com

Комментарии • 119

  • @informacionigualitarialega2375

    El mejor video que he visto 🎉🎉🎉🎉 me ayudó mucho gracias 🎉🎉🎉

  • @dradeelarif1469
    @dradeelarif1469 3 года назад +1

    Many thanks, solved my issue.

  • @bulldogamherst
    @bulldogamherst 5 лет назад

    Thank you very much. fixed in 10 seconds after watching your video.

  • @johnm.gerard1718
    @johnm.gerard1718 3 года назад

    I will check my computer now, thank you.

  • @ariffiram1332
    @ariffiram1332 6 лет назад

    Tnks sir thanks alot because of this my fyp project was stop due to this one error and now i will be carry on thnk you sir g

  • @GREGELZZ
    @GREGELZZ 3 года назад

    Thanks alot mate fixed the issue

  • @TUFFJAMM
    @TUFFJAMM 6 лет назад +1

    I have no idea when it comes to editing code and this video helped me immensely! Thanks a million!

  • @elfpimp1
    @elfpimp1 6 лет назад

    This totally helped me, thank you!

  • @jimfishify
    @jimfishify 4 года назад +1

    You need to link this video to all the new Hemera how-to guides!

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  4 года назад +1

      Glad it was useful for you! Hopefully those responsible will be able to link where appropriate :)

  • @mehrozali2886
    @mehrozali2886 6 лет назад

    hurrrrah This is working..Thanks!!!

  • @snehapatil7846
    @snehapatil7846 5 лет назад

    Thank you for this video... It helped...

  • @heeder777
    @heeder777 5 лет назад

    Solved. If your having problems similar try disabling virus protection. After many hours of failing this worked once I did that. Hope it helps someone.

  • @JBC_cat
    @JBC_cat 6 лет назад

    Yay! It worked. Thanks a ton. x]

  • @grubnoreply7383
    @grubnoreply7383 4 года назад

    Thanks this helped

  • @vesd_ofns5545
    @vesd_ofns5545 6 лет назад

    Thanks, that was useful hint....

  • @tungchuitang8501
    @tungchuitang8501 5 лет назад

    thanks for your help

  • @Horst021
    @Horst021 4 года назад

    Thank you 1 000 Times....!

  • @cobausk
    @cobausk 4 года назад

    obrigado , congratulaçao

  • @redneckgamer5974
    @redneckgamer5974 6 лет назад

    Omg thank you so much

  • @CarlosGutierrez-uf8nf
    @CarlosGutierrez-uf8nf 4 года назад

    MASTER

  • @DanLo
    @DanLo 5 лет назад

    Thank you so much :D

  • @gastotal
    @gastotal 6 лет назад +1

    I could not install. When the arduino is uploading, the following error message appears: avrdude: stk500v2_command (): unknown status 0x01
    avrdude: stk500v2_disable (): failed to leave programming mode

  • @lopplpol
    @lopplpol 6 лет назад +2

    This file is not in my Arduino libary,where do I find it?

  • @dukeman5691
    @dukeman5691 6 лет назад

    Hi Samuel. I got a Kossel delta printer yesterday. I'm struggling to get the Arduino IDE to compile the sketch. I did install the u8glib but still it gives me an error. PLEASE HELP!! Here is the error:
    Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\James\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10801 -build-path C:\Users\James\AppData\Local\Temp\arduino_build_767485 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\James\Documents\3D Printer Files\Kossel Delta Printer Files\drive-download-20180718T154444Z-001\Firmware for KOSSEL_Updated 20170712\Anycubic kossel_20170712\Anycubic_kossel\Anycubic_kossel\Anycubic_kossel.ino
    GetFileAttributesEx C:\Users\James\Documents\3D Printer Files\Kossel Delta Printer Files\drive-download-20180718T154444Z-001\Firmware for KOSSEL_Updated 20170712\Anycubic kossel_20170712\Anycubic_kossel\Anycubic_kossel\example_configurations\RepRapWorld\Megatronics\Configuration.h: The system cannot find the path specified.
    Error compiling for board Arduino/Genuino Mega or Mega 2560.
    Thank you in advance!
    JP

  • @samljones
    @samljones 6 лет назад

    Thank you!!!

  • @LuisRamirez-rn4li
    @LuisRamirez-rn4li 5 лет назад

    Thank you, I have one single question, what can we do if we were unable to find the library on the library management?

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      You'll need to find the specific library you need online, and then download, extract and copy that library folder into the ~/Documents/Arduino/libraries/ folder manually.

  • @KAFA2020
    @KAFA2020 6 лет назад

    Dear sir , Here My RUMBA board is working fine. But If I upload a new , then it is not uploading. It shows the following errors;
    " readlink C:\Users\mubar\OneDrive\Desktop\Marlin-1.1.x\Marlin-1.1.x\Marlin\Marlin.ino: The system cannot find the file specified.
    Error compiling for board Arduino/Genuino Mega or Mega 2560."
    Please Sir, help me

    • @KAFA2020
      @KAFA2020 6 лет назад +1

      Dear sir could I get your email? I could send you all the pictures.

    • @KAFA2020
      @KAFA2020 6 лет назад

      Md Hossain
      14 mins
      Dear respected members of the group, I have just 2 days remain to submit my final year project which is multi-color 3D printer. I have learn a lot from the group. I am almost finishing level. But from today, I am facing a new problem. I need to change some features in Control board which is RUMBA. But now, it is not uploading new firmware.
      I do not know where the problem. It works with my previously uploaded marlin firmware, but I need to modify some features. But it is not loading...... It shows the following errors:""" readlink C:\Users\mubar\OneDrive\Desktop\Marlin-1.1.x\Marlin-1.1.x\Marlin\Marlin.ino: The system cannot find the file specified.
      Error compiling for board Arduino/Genuino Mega or Mega 2560.""

  • @Parth_188
    @Parth_188 6 лет назад

    Which library we have to download for arduino uno

    • @Parth_188
      @Parth_188 6 лет назад

      Samuel Pinches it tells me that unable to compile arduino genuino
      And tools kit ctags is missing it says like this I want help plz tell me😐

    • @Parth_188
      @Parth_188 6 лет назад

      Samuel Pinches actually i n arduino 1.6.0 it works should I upload with that

    • @Parth_188
      @Parth_188 6 лет назад

      Samuel Pinches my old software version is 1.6.0 on it it compile but it doesn't compile arduino 1.8.5

  • @Horst021
    @Horst021 4 года назад

    Maybe you can help me:
    My "mistake" is:
    panic: Failed to find GetFileInformationByHandleEx procedure in kernel32.dll: The specified procedure was not found.

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  4 года назад +1

      That's an arduino IDE bug - try reinstall arduino or try reinstall an older version of it.

    • @Horst021
      @Horst021 4 года назад

      @@SamPinchesMakerShop
      Many thanks. I will try that!
      Greetings from Germany
      Horst

  • @shelbyweatherbee1879
    @shelbyweatherbee1879 6 лет назад

    Im getting this error message, would it help in resolving the issue if I "Show verbose output during compilation" or is this sufficient?
    Arduino: 1.8.7 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    Marlin:31:26: error: MarlinConfig.h: No such file or directory
    compilation terminated.
    exit status 1
    MarlinConfig.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  6 лет назад

      Make sure you unzip the ZIP file contents to a new folder somewhere like documents, before opening and trying to install.

    • @shelbyweatherbee1879
      @shelbyweatherbee1879 6 лет назад

      dude you rock! i have 2 of these machines, so seeing the difference in real time between them.
      the heat beds still dont seem to activate on either but hopefully JGAurora will be responding via email soon to troubleshoot.
      thanks again for replying so fast man :)

  • @whiskeybanger
    @whiskeybanger 5 лет назад

    Hey Sam, I have followed all your videos and am getting this error:
    Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    Sketch uses 147670 bytes (58%) of program storage space. Maximum is 253952 bytes.
    Global variables use 5133 bytes (62%) of dynamic memory, leaving 3059 bytes for local variables. Maximum is 8192 bytes.
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer
    An error occurred while uploading the sketch
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    i unplugged the LCD panel like instructed.. Would this be effecting the upload? Thanks for any help you can provide..

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      Hi Joe, that error is a communication error, and can happen for a number of reasons. If you can't connect to the printer any more (Arduino serial monitor, pronterface, Cura, repeatier etc.) then it may be bricked, and require the boot loader to be reloaded. This is only likely to happen if the LCD is left plugged in when flashing, so since you unplugged it I think that is unlikely. If you want more detailed assistance, please post on the JGAurora forum (jgauroraforum.com) and I'll try to help walk through where to from here. If the printer is still working fine otherwise (all axis move), then it is not bricked, just a driver/cable/communication problem.

  • @Ellery-USA
    @Ellery-USA 4 года назад

    Lately with the latest Arduino IDE 1.8.10 and even the 1.8.9 I am running into a Permission Denied on U8glib.h even though it is already installed. No matter what permissions I open it up for and Run as Administrator it errors out. I even disabled all my firewall and antivirus software. Have you seen any of that with Windows 10?

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  4 года назад

      I'm sorry, I have not seen that before. Maybe post on the Arduino forums, or create a new PC user account, or try to reinstall Arduino again?

    • @Ellery-USA
      @Ellery-USA 4 года назад

      @@SamPinchesMakerShop Thanks Already added a thread int he Arduino Forums: forum.arduino.cc/index.php?topic=652762.0

    • @Ellery-USA
      @Ellery-USA 4 года назад

      Found it was the IOBit Ransomware Protector that was still running in the background even after disabling services.
      Now it at least compiles and tries to upload but now get.
      avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x61
      An error occurred while uploading the sketch

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  4 года назад

      @@Ellery-USA Did you unplug the LCD screen? If so, restart the computer and re-plug the arduino. If not, then it's a more complex process...

    • @Ellery-USA
      @Ellery-USA 4 года назад

      @@SamPinchesMakerShop No I didn't unplug the LCD from the Sanguino board. I even made sure the external power was on. I guess the only way I know how I can update the firmware is via a USB ISP cable till my Arduino Uno comes so I can re-flash the bootloader.
      Thanks for replying!

  • @ShagorJahid
    @ShagorJahid 4 года назад

    what you searched? uaglib?

  • @ScottLahteine
    @ScottLahteine 6 лет назад +1

    I notice in the configuration in your custom firmware that it's configured for a graphical LCD, but of course their touch screen doesn't need the code that handles the graphical display. I assume the A5 controller just sends G-code over USB to the board, and not any raw encoder signals. So, does the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER option actually need to be enabled for the firmware to work? If so, how come? And what about the SPEAKER? Is that a piezo on the board, or on the controller?
    The reason I ask is that I want to make sure all settings are correct before merging github.com/MarlinFirmware/Marlin/pull/9282

    • @ScottLahteine
      @ScottLahteine 6 лет назад

      Good to know, thanks! I think we should distribute the firmware configured for the stock A5, but we can add a note about connecting the RRDFGSD in a README.

    • @ScottLahteine
      @ScottLahteine 6 лет назад

      We'll just crib from your website. :-D

    • @TeomanDeniz
      @TeomanDeniz 5 лет назад

      ​@@ScottLahteine bad news, it is a year ago.

    • @ScottLahteine
      @ScottLahteine 5 лет назад +1

      @@TeomanDeniz Thanks for the reminder! We now work directly with Samuel in the Marlin Discord channel.

  • @BBFPV
    @BBFPV 5 лет назад

    Thx. But plz hit win+alt+R to record.
    I also need this for original firmware!?

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      You don't need this for installing the factory firmware, this is only if you're having issues compiling the community firmware. The factory firmware is always supplied as a pre-compiled .bin file. Also, I'm not sure what win+alt+R does? I'm on windows 10. I'm sorry the quality is so poor... I thought I had uploaded in 720p at least, but apparently not. I'll be more careful next time, as my internet is a lot faster now.

  • @heeder777
    @heeder777 5 лет назад

    I get a core/core could not write files already exists. Back to the keyboard.

  • @alexyongkc269
    @alexyongkc269 6 лет назад

    D:\Arduino\hardware\tools\avr/bin/avr-gcc-ar: Cannot find plugin 'liblto_plugin-0.dll' , how about this?

  • @pradheepanagarajan7154
    @pradheepanagarajan7154 6 лет назад +1

    what is that something uhg...... and what next ????

  • @lopplpol
    @lopplpol 6 лет назад

    Is this spelled right? g8ulib

  • @kylianengelbos3275
    @kylianengelbos3275 5 лет назад

    why doesn't this work for me ?

  • @aymanshoity1200
    @aymanshoity1200 5 лет назад

    error is showing like exit status 1.how to fix it ?can u plz help me??

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      If you watch my video, you will see that if you scroll in the black area you will see the full error message.

  • @AlbertoMartinez765
    @AlbertoMartinez765 4 года назад

    Similar Error can't find the file it wants though here the Error Mssg...Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    In file included from sketch\src\lcd\dogm\ultralcd_DOGM.cpp:46:0:
    sketch\src\lcd\dogm\dogm_Bootscreen.h:35:12: fatal error: ../../../_Bootscreen.h: No such file or directory
    #include "../../../_Bootscreen.h"
    ^~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    exit status 1
    Error compiling for board Arduino Mega or Mega 2560.

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  4 года назад

      I'm sorry this looks like a completely different problem. I suggest reinstalling Arduino, and copy the Marlin folder to your C drive. If it is in too many layers of folders that can also cause problems.

  • @vetrivelt8308
    @vetrivelt8308 6 лет назад

    Thank you sir, but fonts reverse type scrollig, i mean mirror view. wyh sir

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  6 лет назад

      I'm sorry, I don't understand anything you just said. Please try and explain again. If you're using a right-to-left language you may need to change a locale or localisation setting on your computer.

  • @aymanshoity1200
    @aymanshoity1200 5 лет назад

    showing something like this
    Build options changed, rebuilding all
    In file included from sketch\sketch_dec10a.ino.cpp:1:0:
    C:\Users\Lenovo\Documents\Arduino\sketch_dec10a\sketch_dec10a.ino: In function 'void setup()':
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:44:16: error: expected unqualified-id before numeric constant
    #define OUTPUT 0x1

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      There you go - you have found out that there is an error in your setup function. Hopefully, you can check your code and diagnose what is causing the problem, and go from there to fix it.

    • @aymanshoity1200
      @aymanshoity1200 5 лет назад

      yeah,thanks

  • @janithaprabodha1855
    @janithaprabodha1855 6 лет назад

    ela

  • @catherinegillam1131
    @catherinegillam1131 4 года назад

    NOT ALL HEROES WEAR CAPES

  • @alanasher7889
    @alanasher7889 6 лет назад

    I did everything in the first video and in this follow up video, and received this error message:
    Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    Marlin:2: error: expected constructor, destructor, or type conversion before numeric constant
    * Marlin 3D Printer Firmware
    ^
    Marlin:14: error: 'without' does not name a type
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    ^
    In file included from sketch\MarlinConfig.h:26:0,
    from C:\Users\Alan\Desktop\JGAurora A5 Custom Main Marlin Firmware 1.1.8C\JGAurora A5 - Custom Marlin Firmware 1.1.8C\Marlin\Marlin.ino:31:
    fastio.h:137: error: 'WaveGenMode' does not name a type
    } WaveGenMode;
    ^
    exit status 1
    expected constructor, destructor, or type conversion before numeric constant
    What can I do to fix it?

    • @heeder777
      @heeder777 5 лет назад

      Try disabling virus protection.

  • @lastchance045
    @lastchance045 4 года назад

    My problem came with a sketch with a HC-SR04 & a LCD
    It was solved by loading a New Ping.h & not the u8glib .
    I noted the comment by John Lee who stated that "you said ughlib" and your response that you are not dyslexic. Most likely you are not dyslexic but with your accent it makes it hard to hear if you say h or 8.
    You could save a lot of time by simply writing your suggestions in the comments. eg click sketch,include library, manage library, download u8glib (or ping.h)

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  4 года назад

      This video was created to address a specific 3D printer firmware installation issue, so naturally for other projects it would be likely that a different library dependency is required. When I created this video, I did not anticipate how the keywords in the title would make this a highly suggested video when troubleshooting many other Arduino projects. Your comment is fair -- please understand, this was a quick-and-dirty video simply meant as errata to my previous video, and I never expected it to get 70k views... the correct spelling of *u8glib* has been in the description of the video from day one. Would have been better if I had uploaded in higher than 480p 😆 too... best regards, Sam.

    • @lastchance045
      @lastchance045 4 года назад

      @@SamPinchesMakerShop fair comment but - I was refering to the pronounciation of 8 and the letter h. It seems that UK and friends have a different way of pronouncing both than some other countries including US. (eg "I ate you enry iggins") Combined with fuzzy (at best) video mistakes are made. On the positive side, there was thankfully no distracting music. I prefer written code in the comments. thanks for your interest

  • @Jay-dm1ni
    @Jay-dm1ni 5 лет назад

    im getting this error no matter what i change or what board i use grr

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      Jay did you scroll up in the black area to see the actual error?

    • @Jay-dm1ni
      @Jay-dm1ni 5 лет назад

      Thank you sir, part time tinkering i forget things as such @@SamPinchesMakerShop

  • @yariskhafiyan7136
    @yariskhafiyan7136 5 лет назад

    It's not working

  • @bentebrunsvelt319
    @bentebrunsvelt319 6 лет назад

    I like sound to soft

  • @edwarzavala805
    @edwarzavala805 3 года назад

    lo que esta escrito es {{u8glib}

  • @nithyaroyal6268
    @nithyaroyal6268 Год назад

    I am not getting ittt

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  Год назад

      Which part? What is the problem you're trying to solve? This video is specifically for 3D printer firmware troubleshooting, but if you give more information, someone may be able to help you.

  • @pradheepanagarajan7154
    @pradheepanagarajan7154 6 лет назад

    No I didn't get it when I typed ughlib

  • @shaileshthakur2237
    @shaileshthakur2237 5 лет назад

    Still showing same error plz help sir

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      You need to READ the error in the black region. What is the error you are getting?

    • @shaileshthakur2237
      @shaileshthakur2237 5 лет назад

      Error compiling for board arduino unp

    • @shaileshthakur2237
      @shaileshthakur2237 5 лет назад

      Uno

    • @SamPinchesMakerShop
      @SamPinchesMakerShop  5 лет назад

      @@shaileshthakur2237 That's like me asking you what is wrong with your car, and you saying: "Error starting up volkswagon" . I need the full error message. Watch the video. Did you see how I scrolled up in the black region? I need the full error. If you read it, you might figure it out too...

    • @shaileshthakur2237
      @shaileshthakur2237 5 лет назад

      Ok

  • @saqibjaved1900
    @saqibjaved1900 4 года назад

    kindly help me about this one ---> avr/pgmspace.h

  • @wilsongonzalez2358
    @wilsongonzalez2358 4 года назад

    NO ME SIRVIIO

  • @mihairadoi7316
    @mihairadoi7316 5 лет назад

    scuze

  • @hactahirdagl3061
    @hactahirdagl3061 4 года назад

    Noooooooo

  • @gastotal
    @gastotal 6 лет назад

    I could not install. When the arduino is uploading, the following error message appears: avrdude: stk500v2_command (): unknown status 0x01
    avrdude: stk500v2_disable (): failed to leave programming mode

    • @gastotal
      @gastotal 6 лет назад

      Yes, I disconnected.

    • @gastotal
      @gastotal 6 лет назад

      I got it. I was at the COM4 door, not the 3 .... Phew!