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
El mejor video que he visto 🎉🎉🎉🎉 me ayudó mucho gracias 🎉🎉🎉
Many thanks, solved my issue.
Thank you very much. fixed in 10 seconds after watching your video.
I will check my computer now, thank you.
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
Thanks alot mate fixed the issue
I have no idea when it comes to editing code and this video helped me immensely! Thanks a million!
InstaBlaster...
This totally helped me, thank you!
You need to link this video to all the new Hemera how-to guides!
Glad it was useful for you! Hopefully those responsible will be able to link where appropriate :)
hurrrrah This is working..Thanks!!!
Thank you for this video... It helped...
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.
Yay! It worked. Thanks a ton. x]
Thanks this helped
Thanks, that was useful hint....
thanks for your help
Thank you 1 000 Times....!
obrigado , congratulaçao
Omg thank you so much
MASTER
Thank you so much :D
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
This file is not in my Arduino libary,where do I find it?
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
Thank you!!!
Thank you, I have one single question, what can we do if we were unable to find the library on the library management?
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.
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
Dear sir could I get your email? I could send you all the pictures.
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.""
Which library we have to download for arduino uno
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😐
Samuel Pinches actually i n arduino 1.6.0 it works should I upload with that
Samuel Pinches my old software version is 1.6.0 on it it compile but it doesn't compile arduino 1.8.5
Maybe you can help me:
My "mistake" is:
panic: Failed to find GetFileInformationByHandleEx procedure in kernel32.dll: The specified procedure was not found.
That's an arduino IDE bug - try reinstall arduino or try reinstall an older version of it.
@@SamPinchesMakerShop
Many thanks. I will try that!
Greetings from Germany
Horst
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.
Make sure you unzip the ZIP file contents to a new folder somewhere like documents, before opening and trying to install.
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 :)
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..
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.
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?
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?
@@SamPinchesMakerShop Thanks Already added a thread int he Arduino Forums: forum.arduino.cc/index.php?topic=652762.0
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
@@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...
@@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!
what you searched? uaglib?
Jahidur Rahman u8glib
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
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.
We'll just crib from your website. :-D
@@ScottLahteine bad news, it is a year ago.
@@TeomanDeniz Thanks for the reminder! We now work directly with Samuel in the Marlin Discord channel.
Thx. But plz hit win+alt+R to record.
I also need this for original firmware!?
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.
I get a core/core could not write files already exists. Back to the keyboard.
D:\Arduino\hardware\tools\avr/bin/avr-gcc-ar: Cannot find plugin 'liblto_plugin-0.dll' , how about this?
i done this like for 3 times, but it still not working TT
ok
thanks a lot it worked
what is that something uhg...... and what next ????
Nagarajan Pradeepa u8glib?
Is this spelled right? g8ulib
why doesn't this work for me ?
error is showing like exit status 1.how to fix it ?can u plz help me??
If you watch my video, you will see that if you scroll in the black area you will see the full error message.
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.
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.
Thank you sir, but fonts reverse type scrollig, i mean mirror view. wyh sir
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.
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
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.
yeah,thanks
ela
NOT ALL HEROES WEAR CAPES
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?
Try disabling virus protection.
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)
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.
@@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
im getting this error no matter what i change or what board i use grr
Jay did you scroll up in the black area to see the actual error?
Thank you sir, part time tinkering i forget things as such @@SamPinchesMakerShop
It's not working
I like sound to soft
lo que esta escrito es {{u8glib}
I am not getting ittt
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.
No I didn't get it when I typed ughlib
please read carefully... u8glib not ughlib....
@@SamPinchesMakerShop you said "ughlib" in the video
John Lee Im not dyslexic .... I promise!
Still showing same error plz help sir
You need to READ the error in the black region. What is the error you are getting?
Error compiling for board arduino unp
Uno
@@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...
Ok
kindly help me about this one ---> avr/pgmspace.h
Saqib Javed please post on arduino forum.
@@SamPinchesMakerShop ok, thank you.
NO ME SIRVIIO
scuze
Noooooooo
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
Yes, I disconnected.
I got it. I was at the COM4 door, not the 3 .... Phew!