I repeat again In file included from C:\Users\baksadj\AppData\Local\Temp\arduino_modified_sketch_299404\sketch_aug11a.ino:7:0:
I have not put the sketch, Arduino Software (IDE) is a new installation of all the folders have been previously deleted. I have the same problem with version 1.6.9
I repeat again In file included from C:\Users\baksadj\AppData\Local\Temp\arduino_modified_sketch_299404\sketch_aug11a.ino:7:0:
you can repeat again and again.. that does not answer the question. The compiler is telling you a file is missing - that's the one I point above and it's looking for it in a utility directory.
loconte:
Arduino: 1.8.0 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
...
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This is the default error you get when there's a compilation error. Your actual error (the lines in between) has nothing to do with this thread. Please start a new thread, and we'll try to answer your question over there.
Please read the forum guidelines (first thread in each subforum) before posting, and use code tags (type [code] [/code] or use the </> button).
I get the same message when compiling your code. On the other hand, when I scroll up a bit, I see that there are other messages. You start fixing problems at the top, NOT the bottom.
hello i just got a new 3d printer and i tried uploading the marlin software on it and unfortunately with many errors i have no idea what to do can someone please help this is my first time doing this on such a device
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Sketch uses 152908 bytes (60%) of program storage space. Maximum is 253952 bytes.
Global variables use 6416 bytes (78%) of dynamic memory, leaving 1776 bytes for local variables. Maximum is 8192 bytes.
Low memory available, stability problems may occur.
avrdude: ser_open(): can't set com-state for "\.\COM4"
avrdude: ser_drain(): read error: The handle is invalid.
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer
does not exist or your board is not connected
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
With the Arduino not connected to the PC, start the IDE. Choose Tools + Port. Make a list of the ports that the Mega will not be using.
Close the IDE. Connect the Mega. Start the IDE. Choose Tools + Port. The port that is in the list this time, but was not there the first time, is the one that the Mega is connected to. Choose that port.
If there are no new ports the second time, you have not installed the required Mega drivers.