<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Im about to throw it, not compiling all of a sudden.</title>
        <description> I have a Kossel mini, I set up the LCD and all went well everything worked SD support all good.
I went to bed, woke up this morning and went to change the delta radius settings and all of a sudden, the bloody thing does not like the LCD.
I was uploading and making changes to printer settings not LCD.
This is the error I get, it compiles ok if I remove   #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
Someone please tell me I&#039;m not crazy....
Regards Pete

Arduino: 1.6.5 (Windows 8.1), Board: &quot;Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)&quot;

In file included from ultralcd.cpp:77:0:
dogm_lcd_implementation.h: In function &#039;void lcd_implementation_status_screen()&#039;:
dogm_lcd_implementation.h:405: error: &#039;current_position&#039; was not declared in this scope
   lcd_print(ftostr4sign(current_position[X_AXIS]));
                         ^
ultralcd.cpp: In function &#039;void line_to_current(AxisEnum)&#039;:
ultralcd.cpp:467: error: &#039;current_position&#039; was not declared in this scope
     calculate_delta(current_position);
                     ^
ultralcd.cpp: In function &#039;void _lcd_move(const char*, AxisEnum, float, float)&#039;:
ultralcd.cpp:1198: error: &#039;current_position&#039; was not declared in this scope
     current_position[axis] += float((int32_t)encoderPosition) * move_menu_scale;
     ^
ultralcd.cpp:1205: error: &#039;current_position&#039; was not declared in this scope
   if (lcdDrawUpdate) lcd_implementation_drawedit(name, ftostr31(current_position[axis]));
                                                                 ^
ultralcd.cpp: In function &#039;void lcd_move_x()&#039;:
ultralcd.cpp:1211: error: &#039;current_position&#039; was not declared in this scope
   static void lcd_move_x() { int clip = delta_clip(current_position[Y_AXIS]); _lcd_move(PSTR(MSG_MOVE_X), X_AXIS, max(sw_endstop_min[X_AXIS], -clip), min(sw_endstop_max[X_AXIS], clip)); }
                                                    ^
ultralcd.cpp: In function &#039;void lcd_move_y()&#039;:
ultralcd.cpp:1212: error: &#039;current_position&#039; was not declared in this scope
   static void lcd_move_y() { int clip = delta_clip(current_position[X_AXIS]); _lcd_move(PSTR(MSG_MOVE_Y), Y_AXIS, max(sw_endstop_min[Y_AXIS], -clip), min(sw_endstop_max[Y_AXIS], clip)); }
                                                    ^
ultralcd.cpp: In function &#039;void lcd_move_e()&#039;:
ultralcd.cpp:1229: error: &#039;current_position&#039; was not declared in this scope
     current_position[E_AXIS] += float((int32_t)encoderPosition) * move_menu_scale;
     ^
ultralcd.cpp:1250: error: &#039;current_position&#039; was not declared in this scope
     lcd_implementation_drawedit(pos_label, ftostr31(current_position[E_AXIS]));
                                                     ^
&#039;current_position&#039; was not declared in this scope

  This report would have more information with
  &quot;Show verbose output during compilation&quot;
  enabled in File &amp;gt; Preferences.</description>
        <link>https://reprap.org/forum/read.php?415,673567,673567#msg-673567</link>
        <lastBuildDate>Tue, 13 Oct 2026 06:33:03 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?415,673567,673773#msg-673773</guid>
            <title>Re: Im about to throw it, not compiling all of a sudden.</title>
            <link>https://reprap.org/forum/read.php?415,673567,673773#msg-673773</link>
            <description><![CDATA[ I would do a diff on my current code and compare it all against the code base I was working off of.   That way I could see every change I made and it probably would not take too long to find that missing semi-colon or what ever it is that is causing problems.]]></description>
            <dc:creator>Roxy</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sun, 12 Jun 2016 17:04:06 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,673567,673567#msg-673567</guid>
            <title>Im about to throw it, not compiling all of a sudden.</title>
            <link>https://reprap.org/forum/read.php?415,673567,673567#msg-673567</link>
            <description><![CDATA[ I have a Kossel mini, I set up the LCD and all went well everything worked SD support all good.<br />
I went to bed, woke up this morning and went to change the delta radius settings and all of a sudden, the bloody thing does not like the LCD.<br />
I was uploading and making changes to printer settings not LCD.<br />
This is the error I get, it compiles ok if I remove   #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER<br />
Someone please tell me I'm not crazy....<br />
Regards Pete<br />
<br />
Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"<br />
<br />
In file included from ultralcd.cpp:77:0:<br />
dogm_lcd_implementation.h: In function 'void lcd_implementation_status_screen()':<br />
dogm_lcd_implementation.h:405: error: 'current_position' was not declared in this scope<br />
   lcd_print(ftostr4sign(current_position[X_AXIS]));<br />
                         ^<br />
ultralcd.cpp: In function 'void line_to_current(AxisEnum)':<br />
ultralcd.cpp:467: error: 'current_position' was not declared in this scope<br />
     calculate_delta(current_position);<br />
                     ^<br />
ultralcd.cpp: In function 'void _lcd_move(const char*, AxisEnum, float, float)':<br />
ultralcd.cpp:1198: error: 'current_position' was not declared in this scope<br />
     current_position[axis] += float((int32_t)encoderPosition) * move_menu_scale;<br />
     ^<br />
ultralcd.cpp:1205: error: 'current_position' was not declared in this scope<br />
   if (lcdDrawUpdate) lcd_implementation_drawedit(name, ftostr31(current_position[axis]));<br />
                                                                 ^<br />
ultralcd.cpp: In function 'void lcd_move_x()':<br />
ultralcd.cpp:1211: error: 'current_position' was not declared in this scope<br />
   static void lcd_move_x() { int clip = delta_clip(current_position[Y_AXIS]); _lcd_move(PSTR(MSG_MOVE_X), X_AXIS, max(sw_endstop_min[X_AXIS], -clip), min(sw_endstop_max[X_AXIS], clip)); }<br />
                                                    ^<br />
ultralcd.cpp: In function 'void lcd_move_y()':<br />
ultralcd.cpp:1212: error: 'current_position' was not declared in this scope<br />
   static void lcd_move_y() { int clip = delta_clip(current_position[X_AXIS]); _lcd_move(PSTR(MSG_MOVE_Y), Y_AXIS, max(sw_endstop_min[Y_AXIS], -clip), min(sw_endstop_max[Y_AXIS], clip)); }<br />
                                                    ^<br />
ultralcd.cpp: In function 'void lcd_move_e()':<br />
ultralcd.cpp:1229: error: 'current_position' was not declared in this scope<br />
     current_position[E_AXIS] += float((int32_t)encoderPosition) * move_menu_scale;<br />
     ^<br />
ultralcd.cpp:1250: error: 'current_position' was not declared in this scope<br />
     lcd_implementation_drawedit(pos_label, ftostr31(current_position[E_AXIS]));<br />
                                                     ^<br />
'current_position' was not declared in this scope<br />
<br />
  This report would have more information with<br />
  "Show verbose output during compilation"<br />
  enabled in File &gt; Preferences.]]></description>
            <dc:creator>Pete75</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 11 Jun 2016 21:33:16 -0400</pubDate>
        </item>
    </channel>
</rss>
