Marlin Bugfix 2.0 Compilation issue


Firstly, sorry for my bad English.

I build my MPCNC with Dual Steppers (X+Y), Dual Endstops (X+Y) and an Arduino Mega 2560 + Ramps 1.4.

So, I download the new bugfix 2.0 Marlin from here :

I made all configuration in configuration.h and configuration_adv.h (see attached) and Compilation send me these errors. I dont understand and I spend a long time on this issue. Can you help me ?




Configuration-5.h (63.1 KB)

Configuration_adv-5.h (59.8 KB)

Errors.txt (14.5 KB)


The 2.0 firmware is still very much in flux. It’s not a beta test or anything. It’s in development and frequently broken. Even if you got it to compile, there might be major flaws with the code. I think you should wait until it becomes more stable. At some point, it will get merged into 2.0 or the dual endstops should get merged into 1.1.x. When that happens, Ryan will have a preconfigured, building version here with some instructions (hopefully).

I’m sorry you’re having a difficult time. This firmware should get you going until that becomes at least testable:

1 Like

If you really want to try it I have a 1.1 version linked and it has been merged into the new 1.1 bugfix branch. 2.0 only works sometimes with right now. It is under too heavy of development to bother with at the moment.

I have my instructions almost finished I need to add a lot of pictures yet, but when I do I will have an updated firmware if you could wait a day or two.

1 Like

Hi all !

I just apply my parameters to “Marlin-MPCNC_T8_16T_Ramps_LCD_32step_DualEndstop” branch.


When I compile I’ve an error : “avr-gcc: error: CreateProcess: No such file or directory”” u8glib is included to my project, all seems OK and I’m a newbie ? …

Can you help me ?


Great Thanks



Do you have an up to date version of arduino? The 2.0 branch is using the bleeding edge.


Marlin 2.0 is still a bit wonky with the current arduino IDE. Try moving your firmware folder to the root of a separate drive, even a flash drive if you have to. it is something to do with how long the file tree is on the temp compiler folder. If not try the arduino beta. I checked the exact file just before closing up last night ( when I just updated it) it works fine for me but I am not sure if any arduino tweaks are leftover in my build.

1 Like

Hi, Thanks for your fast answer.

@Jeffeb3 : I’m using the Arduino 1.8.5 (Windows Store (dont’t know why there is not the same release number)

@Ryan : I try to move “marlin” path to the root of “d:” and I obtain the next error message :

Archiving built core (caching) in: C:\Users\Yann\AppData\Local\Temp\arduino_cache_656766\core\core_arduino_avr_mega_cpu_atmega2560_a94ab6aaf61dfb93b4a8079c694a14c2.a
avr-gcc: error: CreateProcess: No such file or directory

exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560






Last news,

I’ve changed the TMP and TEMP environnement variable to D:\TMP, compilation seems OK.

As you said Ryan it’s a problem with TMP Path too long.

Great Thanks



I hope this arduino thing gets sorted out soon, glad you stuck with it.

Is there a guide to building with platform io ide? Maybe it would be better to push dual endstops users to that until this gets sorted?

I wish, I can not get to work. I will have to try an old laptop or something but I am pretty sure the Arduino Beta works fine.