Desuuuu / Marlin

Optimized firmware for RepRap 3D printers based on the Arduino platform. Modified with a new DWIN T5UID1 touchscreen implementation.
GNU General Public License v3.0
31 stars 10 forks source link

No such file or directory[BUG] (short description) #10

Closed akash1769 closed 3 years ago

akash1769 commented 3 years ago

For the CR10S Pro config when doing a verify I get this message:

avr-gcc: error: CreateProcess: No such file or directory

exit status 1

Error compiling for board Arduino Mega or Mega 2560.

the entry before it was quite verbose... didn't wanna muck up this message by putting it in. How would you like to have me present it?

Desuuuu commented 3 years ago

This is most likely an issue with Arduino IDE and long file paths.

I highly suggest compiling using PlatformIO (in VSCode for example).

akash1769 commented 3 years ago

Thank you for that suggestion. I may not be at the level most people are using platformio. After a half hour of trial an error I managed to get the extension running in visual studio but not sure how to get past the tutorial on setting up a project. I duplicated what the tutorial suggested but not sure how to apply that to compiling Marlin.

Docs.platformio.org under cloud&Desktop IDE > VSCode

akash1769 commented 3 years ago

Also I was successful in the past using Arduino IDE with the first version u created. What's different now in the current config? Haven't u been doing this all along in Marlin 2?

akash1769 commented 3 years ago

Re-Found the tutorial in Marlin for doing this. Had no idea the commitment I was signing up for 😆

Still curious why not Arduino IDE though.

Desuuuu commented 3 years ago

AFAIK, there wasn't any recent change in my code that could cause this. This is probably an issue upstream, which you are experiencing now because Marlin was updated to version 2.0.7.2.

Anyway, I don't see much of a reason to use Arduino IDE with Marlin over VSCode.

VSCode is much more powerful and pleasant to use and you shouldn't experience bugs like this one with it.