user14769: I am trying to upload the Marlin Firmware to my 3D printer's Arduino Mega 2560 and I am experiencing a problem. It keeps saying:
qr_solve.cpp:7:18: fatal error: time.h: No such file or directory
 #include <time.h>
                  ^
compilation terminated.
Error compiling.

Please help as I'm lost as how to fix it, because I try to scroll up to see what is highlighted in red and I can't find anything.

user6936: From Gerben's link to the googlegroups's thread, Delta robot 3D printers › compiling jcrocholl's Marlin (Ubuntu), as Francis Mallet points out, at the bottom of the thread, it is necessary to change <time.h> to "Time.h":

I copied the content of the Time library right in the Marlin folder, then changed line 7 of qr_solve.cpp from #include  to #include "Time.h" 
The code compiled and everything seems to be working ok.

So, to iterate, the line in qr_solve.cpp:
#include <time.h>

becomes
#include "Time.h"

Now, Marlin.ino should compile as expected.
Note that the latest version of Marlin, from github.com/MarlinFirmware/Marlin no longer suffers from this issue, but older versions of the software, such as github.com/gpfwestie/kossel_2020_sintron will do, due to line 7, in qr_solve.cpp.

14769: <p>I am trying to upload the Marlin Firmware to my 3D printer's Arduino Mega 2560 and I am experiencing a problem. It keeps saying:</p>

<pre><code>qr_solve.cpp:7:18: fatal error: time.h: No such file or directory
 #include &lt;time.h&gt;
                  ^
compilation terminated.
Error compiling.
</code></pre>

<p>Please help as I'm lost as how to fix it, because I try to scroll up to see what is highlighted in red and I can't find anything.</p>
 6936: <p>From <a href="https://arduino.stackexchange.com/questions/18893/marlin-firmware-troubles#comment35188_18893">Gerben's link</a> to the googlegroups's thread, <a href="http://groups.google.com/forum/#!topic/deltabot/IknX0wamH2M" rel="nofollow noreferrer">Delta robot 3D printers › compiling jcrocholl's Marlin (Ubuntu)</a>, as Francis Mallet points out, at the <a href="https://groups.google.com/d/msg/deltabot/IknX0wamH2M/pIffvuv1CEYJ" rel="nofollow noreferrer">bottom of the thread</a>, it is necessary to change <code>&lt;time.h&gt;</code> to <code>"Time.h"</code>:</p>

<blockquote>
  <p>I copied the content of the Time library right in the Marlin folder, then changed line 7 of qr_solve.cpp from #include  to #include "Time.h" </p>
  
  <p>The code compiled and everything seems to be working ok.</p>
</blockquote>

<p>So, to iterate, the line in <code>qr_solve.cpp</code>:</p>

<pre><code>#include &lt;time.h&gt;
</code></pre>

<p>becomes</p>

<pre><code>#include "Time.h"
</code></pre>

<p>Now, <code>Marlin.ino</code> should compile as expected.</p>

<p>Note that the latest version of Marlin, from <a href="https://github.com/MarlinFirmware/Marlin" rel="nofollow noreferrer">github.com/MarlinFirmware/Marlin</a> no longer suffers from this issue, but older versions of the software, such as <a href="https://github.com/gpfwestie/kossel_2020_sintron" rel="nofollow noreferrer">github.com/gpfwestie/kossel_2020_sintron</a> will do, due to <a href="https://github.com/gpfwestie/kossel_2020_sintron/blob/master/Marlin-deltabot%20for%20Sintron%20Kossel%20mini/Marlin/qr_solve.cpp#L7" rel="nofollow noreferrer">line 7, in <code>qr_solve.cpp</code></a>.</p>
