<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Repetier 0.91v6 fails to compile on Arduino IDE</title>
        <description> Hey guys...
Trying to compile the firmware for my due and install it so i can start testing the electronics pieces and make sure everything is working.

So...
I run through the configurator and build a custom firmware on Repetier&#039;s web page download the custom firmware, open it in IDE and then i get this beautiful string of nonsense :
QuoteArduino: 1.5.5-r2 (Windows 7), Board: &quot;Arduino Due (Programming Port)&quot;

In file included from /Repetier.h:258,
                 from Commands.cpp:22:
/HAL.h: In static member function &#039;static void HAL::hwSetup()&#039;:
HAL.h:216: error: &#039;TWI_CLOCK_FREQ&#039; was not declared in this scope
/HAL.h: In static member function &#039;static void HAL::eprBurnValue(unsigned int, int, eeval_t)&#039;:
HAL.h:358: error: &#039;EEPROM_SERIAL_ADDR&#039; was not declared in this scope
HAL.h:363: error: &#039;EEPROM_PAGE_SIZE&#039; was not declared in this scope
HAL.h:366: error: &#039;EEPROM_PAGE_WRITE_TIME&#039; was not declared in this scope
HAL.h:374: error: &#039;EEPROM_PAGE_WRITE_TIME&#039; was not declared in this scope
/HAL.h: In static member function &#039;static eeval_t HAL::eprGetValue(unsigned int, int)&#039;:
HAL.h:385: error: &#039;EEPROM_SERIAL_ADDR&#039; was not declared in this scope
/HAL.h: In static member function &#039;static void HAL::spiBegin()&#039;:
HAL.h:466: error: &#039;SDSS&#039; was not declared in this scope
/HAL.h: In static member function &#039;static void HAL::spiInit(uint8_t)&#039;:
HAL.h:475: error: &#039;SDSS&#039; was not declared in this scope
/HAL.h: In static member function &#039;static uint8_t HAL::spiReceive()&#039;:
HAL.h:481: error: &#039;SDSS&#039; was not declared in this scope
/HAL.h: In static member function &#039;static void HAL::spiReadBlock(uint8_t*, uint16_t)&#039;:
HAL.h:489: error: &#039;SDSS&#039; was not declared in this scope
/HAL.h: In static member function &#039;static void HAL::spiSend(uint8_t)&#039;:
HAL.h:498: error: &#039;SDSS&#039; was not declared in this scope
/HAL.h: In static member function &#039;static void HAL::spiSend(const uint8_t*, size_t)&#039;:
HAL.h:507: error: &#039;SDSS&#039; was not declared in this scope
/HAL.h: In static member function &#039;static void HAL::spiSendBlock(uint8_t, const uint8_t*)&#039;:
HAL.h:519: error: &#039;SDSS&#039; was not declared in this scope
In file included from /Repetier.h:350,
                 from Commands.cpp:22:
/Extruder.h: In static member function &#039;static void Extruder::step()&#039;:
Extruder.h:107: error: &#039;ORIG_E0_STEP_PIN&#039; was not declared in this scope
/Extruder.h: In static member function &#039;static void Extruder::unstep()&#039;:
Extruder.h:156: error: &#039;ORIG_E0_STEP_PIN&#039; was not declared in this scope
/Extruder.h: In static member function &#039;static void Extruder::setDirection(uint8_t)&#039;:
Extruder.h:203: error: &#039;ORIG_E0_DIR_PIN&#039; was not declared in this scope
Extruder.h:205: error: &#039;ORIG_E0_DIR_PIN&#039; was not declared in this scope
/Extruder.h: In static member function &#039;static void Extruder::enable()&#039;:
Extruder.h:272: error: &#039;ORIG_E0_ENABLE_PIN&#039; was not declared in this scope
In file included from /Repetier.h:379,
                 from Commands.cpp:22:
/Printer.h: In static member function &#039;static void Printer::disableXStepper()&#039;:
Printer.h:197: error: &#039;ORIG_X_ENABLE_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::disableYStepper()&#039;:
Printer.h:207: error: &#039;ORIG_Y_ENABLE_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::disableZStepper()&#039;:
Printer.h:217: error: &#039;ORIG_Z_ENABLE_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::enableXStepper()&#039;:
Printer.h:227: error: &#039;ORIG_X_ENABLE_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::enableYStepper()&#039;:
Printer.h:237: error: &#039;ORIG_Y_ENABLE_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::enableZStepper()&#039;:
Printer.h:247: error: &#039;ORIG_Z_ENABLE_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::setXDirection(bool)&#039;:
Printer.h:257: error: &#039;ORIG_X_DIR_PIN&#039; was not declared in this scope
Printer.h:264: error: &#039;ORIG_X_DIR_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::setYDirection(bool)&#039;:
Printer.h:274: error: &#039;ORIG_Y_DIR_PIN&#039; was not declared in this scope
Printer.h:281: error: &#039;ORIG_Y_DIR_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::setZDirection(bool)&#039;:
Printer.h:291: error: &#039;ORIG_Z_DIR_PIN&#039; was not declared in this scope
Printer.h:298: error: &#039;ORIG_Z_DIR_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static bool Printer::isXMinEndstopHit()&#039;:
Printer.h:370: error: &#039;ORIG_X_MIN_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static bool Printer::isYMinEndstopHit()&#039;:
Printer.h:378: error: &#039;ORIG_Y_MIN_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static bool Printer::isZMinEndstopHit()&#039;:
Printer.h:386: error: &#039;ORIG_Z_MIN_PIN&#039; was not declared in this scope
/Printer.h: In static member function &#039;static void Printer::endXYZSteps()&#039;:
Printer.h:506: error: &#039;ORIG_X_STEP_PIN&#039; was not declared in this scope
Printer.h:507: error: &#039;ORIG_Y_STEP_PIN&#039; was not declared in this scope
Printer.h:508: error: &#039;ORIG_Z_STEP_PIN&#039; was not declared in this scope
In file included from /Repetier.h:380,
                 from Commands.cpp:22:
/motion.h: In member function &#039;bool PrintLine::startXStep()&#039;:
motion.h:501: error: &#039;ORIG_X_STEP_PIN&#039; was not declared in this scope
/motion.h: In member function &#039;bool PrintLine::startYStep()&#039;:
motion.h:541: error: &#039;ORIG_Y_STEP_PIN&#039; was not declared in this scope
/motion.h: In member function &#039;void PrintLine::startZStep()&#039;:
motion.h:577: error: &#039;ORIG_Z_STEP_PIN&#039; was not declared in this scope
Commands.cpp: At global scope:
Commands.cpp:24: error: &#039;ORIG_X_STEP_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_X_DIR_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_X_ENABLE_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_X_MIN_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_X_MAX_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Y_STEP_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Y_DIR_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Y_ENABLE_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Y_MIN_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Y_MAX_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Z_STEP_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Z_DIR_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Z_ENABLE_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Z_MIN_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_Z_MAX_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;LED_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;PS_ON_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;HEATER_0_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;HEATER_1_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;ORIG_FAN_PIN&#039; was not declared in this scope
Commands.cpp:24: error: &#039;E0_PINS&#039; was not declared in this scope
Commands.cpp:24: error: expected &#039;}&#039; before &#039;TEMP_0_PIN&#039;
Commands.cpp:24: error: expected &#039;,&#039; or &#039;;&#039; before &#039;TEMP_0_PIN&#039;
Commands.cpp:24: error: expected declaration before &#039;}&#039; token

  This report would have more information with
  &quot;Show verbose output during compilation&quot;
  enabled in File &amp;gt; Preferences.

Running Arduino IDE 1.5.5R2 and Custom Repetier 0.91 V6 
( Tried even a older version and the master firmware and still getting the same issue )</description>
        <link>https://reprap.org/forum/read.php?267,321521,321521#msg-321521</link>
        <lastBuildDate>Thu, 05 Mar 2026 11:54:40 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?267,321521,325071#msg-325071</guid>
            <title>Re: Repetier 0.91v6 fails to compile on Arduino IDE</title>
            <link>https://reprap.org/forum/read.php?267,321521,325071#msg-325071</link>
            <description><![CDATA[ Nvm it seems the issue is with the adruino 1.0.5., forwarded to 1.5.6 beta and now i see other errors quite resembling the OP.]]></description>
            <dc:creator>NoobMan</dc:creator>
            <category>Repetier</category>
            <pubDate>Fri, 14 Mar 2014 20:12:03 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?267,321521,324937#msg-324937</guid>
            <title>Re: Repetier 0.91v6 fails to compile on Arduino IDE</title>
            <link>https://reprap.org/forum/read.php?267,321521,324937#msg-324937</link>
            <description><![CDATA[ I am getting also errors upon compiling with Arduino 1.0.5 (under arch linux). The 0.83 complies at first go with defaults, so basically i tried to get an 0.91 equivalent defaults by just getting to config page and hitting all next to have defaults and download the firmware as such. Perhaps i should of set something explicit. <br />
<br />
<pre class="bbcode">
ui.cpp: In member function 'bool::showEntry() const':
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     f = HAL::readFlashByte((const prog_char*)&amp;filter);
                                   ^
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:120:29: error: expected primary-expression before 'const'
     f = HAL::readFlashByte((const prog_char*)&amp;filter);
                             ^
ui.cpp:120:29: error: expected ')' before 'const'
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     f2 = HAL::readFlashByte((const prog_char*)&amp;nofilter);
                                    ^
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:123:30: error: expected primary-expression before 'const'
     f2 = HAL::readFlashByte((const prog_char*)&amp;nofilter);
                              ^
ui.cpp:123:30: error: expected ')' before 'const'</pre>
<br />
Interestingly i did not set anything to ui nor lcd. The motherboard by default is defined to be 33 (mega), so goes to those pins to follow. <br />
Also I am under the impression that settings page does not differentiate between ramps 1.2 and 1.3 for instance, seems to define ramps_1_3 either way.]]></description>
            <dc:creator>NoobMan</dc:creator>
            <category>Repetier</category>
            <pubDate>Fri, 14 Mar 2014 14:54:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?267,321521,322173#msg-322173</guid>
            <title>Re: Repetier 0.91v6 fails to compile on Arduino IDE</title>
            <link>https://reprap.org/forum/read.php?267,321521,322173#msg-322173</link>
            <description><![CDATA[ Everything you are missing is in the pins.h of the due branch. But you need to select a board from that as well. I guess you have never selected a due port or what MOTHERBOARD value do yiu have in Configuration.h?]]></description>
            <dc:creator>repetier</dc:creator>
            <category>Repetier</category>
            <pubDate>Sun, 09 Mar 2014 08:41:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?267,321521,321521#msg-321521</guid>
            <title>Repetier 0.91v6 fails to compile on Arduino IDE</title>
            <link>https://reprap.org/forum/read.php?267,321521,321521#msg-321521</link>
            <description><![CDATA[ Hey guys...<br />
Trying to compile the firmware for my due and install it so i can start testing the electronics pieces and make sure everything is working.<br />
<br />
So...<br />
I run through the configurator and build a custom firmware on Repetier's web page download the custom firmware, open it in IDE and then i get this beautiful string of nonsense :<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Arduino: 1.5.5-r2 (Windows 7), Board: "Arduino Due (Programming Port)"<br />
<br />
In file included from /Repetier.h:258,<br />
                 from Commands.cpp:22:<br />
/HAL.h: In static member function 'static void HAL::hwSetup()':<br />
HAL.h:216: error: 'TWI_CLOCK_FREQ' was not declared in this scope<br />
/HAL.h: In static member function 'static void HAL::eprBurnValue(unsigned int, int, eeval_t)':<br />
HAL.h:358: error: 'EEPROM_SERIAL_ADDR' was not declared in this scope<br />
HAL.h:363: error: 'EEPROM_PAGE_SIZE' was not declared in this scope<br />
HAL.h:366: error: 'EEPROM_PAGE_WRITE_TIME' was not declared in this scope<br />
HAL.h:374: error: 'EEPROM_PAGE_WRITE_TIME' was not declared in this scope<br />
/HAL.h: In static member function 'static eeval_t HAL::eprGetValue(unsigned int, int)':<br />
HAL.h:385: error: 'EEPROM_SERIAL_ADDR' was not declared in this scope<br />
/HAL.h: In static member function 'static void HAL::spiBegin()':<br />
HAL.h:466: error: 'SDSS' was not declared in this scope<br />
/HAL.h: In static member function 'static void HAL::spiInit(uint8_t)':<br />
HAL.h:475: error: 'SDSS' was not declared in this scope<br />
/HAL.h: In static member function 'static uint8_t HAL::spiReceive()':<br />
HAL.h:481: error: 'SDSS' was not declared in this scope<br />
/HAL.h: In static member function 'static void HAL::spiReadBlock(uint8_t*, uint16_t)':<br />
HAL.h:489: error: 'SDSS' was not declared in this scope<br />
/HAL.h: In static member function 'static void HAL::spiSend(uint8_t)':<br />
HAL.h:498: error: 'SDSS' was not declared in this scope<br />
/HAL.h: In static member function 'static void HAL::spiSend(const uint8_t*, size_t)':<br />
HAL.h:507: error: 'SDSS' was not declared in this scope<br />
/HAL.h: In static member function 'static void HAL::spiSendBlock(uint8_t, const uint8_t*)':<br />
HAL.h:519: error: 'SDSS' was not declared in this scope<br />
In file included from /Repetier.h:350,<br />
                 from Commands.cpp:22:<br />
/Extruder.h: In static member function 'static void Extruder::step()':<br />
Extruder.h:107: error: 'ORIG_E0_STEP_PIN' was not declared in this scope<br />
/Extruder.h: In static member function 'static void Extruder::unstep()':<br />
Extruder.h:156: error: 'ORIG_E0_STEP_PIN' was not declared in this scope<br />
/Extruder.h: In static member function 'static void Extruder::setDirection(uint8_t)':<br />
Extruder.h:203: error: 'ORIG_E0_DIR_PIN' was not declared in this scope<br />
Extruder.h:205: error: 'ORIG_E0_DIR_PIN' was not declared in this scope<br />
/Extruder.h: In static member function 'static void Extruder::enable()':<br />
Extruder.h:272: error: 'ORIG_E0_ENABLE_PIN' was not declared in this scope<br />
In file included from /Repetier.h:379,<br />
                 from Commands.cpp:22:<br />
/Printer.h: In static member function 'static void Printer::disableXStepper()':<br />
Printer.h:197: error: 'ORIG_X_ENABLE_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::disableYStepper()':<br />
Printer.h:207: error: 'ORIG_Y_ENABLE_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::disableZStepper()':<br />
Printer.h:217: error: 'ORIG_Z_ENABLE_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::enableXStepper()':<br />
Printer.h:227: error: 'ORIG_X_ENABLE_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::enableYStepper()':<br />
Printer.h:237: error: 'ORIG_Y_ENABLE_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::enableZStepper()':<br />
Printer.h:247: error: 'ORIG_Z_ENABLE_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::setXDirection(bool)':<br />
Printer.h:257: error: 'ORIG_X_DIR_PIN' was not declared in this scope<br />
Printer.h:264: error: 'ORIG_X_DIR_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::setYDirection(bool)':<br />
Printer.h:274: error: 'ORIG_Y_DIR_PIN' was not declared in this scope<br />
Printer.h:281: error: 'ORIG_Y_DIR_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::setZDirection(bool)':<br />
Printer.h:291: error: 'ORIG_Z_DIR_PIN' was not declared in this scope<br />
Printer.h:298: error: 'ORIG_Z_DIR_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static bool Printer::isXMinEndstopHit()':<br />
Printer.h:370: error: 'ORIG_X_MIN_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static bool Printer::isYMinEndstopHit()':<br />
Printer.h:378: error: 'ORIG_Y_MIN_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static bool Printer::isZMinEndstopHit()':<br />
Printer.h:386: error: 'ORIG_Z_MIN_PIN' was not declared in this scope<br />
/Printer.h: In static member function 'static void Printer::endXYZSteps()':<br />
Printer.h:506: error: 'ORIG_X_STEP_PIN' was not declared in this scope<br />
Printer.h:507: error: 'ORIG_Y_STEP_PIN' was not declared in this scope<br />
Printer.h:508: error: 'ORIG_Z_STEP_PIN' was not declared in this scope<br />
In file included from /Repetier.h:380,<br />
                 from Commands.cpp:22:<br />
/motion.h: In member function 'bool PrintLine::startXStep()':<br />
motion.h:501: error: 'ORIG_X_STEP_PIN' was not declared in this scope<br />
/motion.h: In member function 'bool PrintLine::startYStep()':<br />
motion.h:541: error: 'ORIG_Y_STEP_PIN' was not declared in this scope<br />
/motion.h: In member function 'void PrintLine::startZStep()':<br />
motion.h:577: error: 'ORIG_Z_STEP_PIN' was not declared in this scope<br />
Commands.cpp: At global scope:<br />
Commands.cpp:24: error: 'ORIG_X_STEP_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_X_DIR_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_X_ENABLE_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_X_MIN_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_X_MAX_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Y_STEP_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Y_DIR_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Y_ENABLE_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Y_MIN_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Y_MAX_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Z_STEP_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Z_DIR_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Z_ENABLE_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Z_MIN_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_Z_MAX_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'LED_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'PS_ON_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'HEATER_0_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'HEATER_1_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'ORIG_FAN_PIN' was not declared in this scope<br />
Commands.cpp:24: error: 'E0_PINS' was not declared in this scope<br />
Commands.cpp:24: error: expected '}' before 'TEMP_0_PIN'<br />
Commands.cpp:24: error: expected ',' or ';' before 'TEMP_0_PIN'<br />
Commands.cpp:24: error: expected declaration before '}' token<br />
<br />
  This report would have more information with<br />
  "Show verbose output during compilation"<br />
  enabled in File &gt; Preferences.</div></blockquote>
<br />
Running Arduino IDE 1.5.5R2 and Custom Repetier 0.91 V6 <br />
( Tried even a older version and the master firmware and still getting the same issue )]]></description>
            <dc:creator>_Adrian_</dc:creator>
            <category>Repetier</category>
            <pubDate>Fri, 07 Mar 2014 19:04:05 -0500</pubDate>
        </item>
    </channel>
</rss>
