<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MK4duo V4_4_0 e UBL - errori in compilazione</title>
        <description> Ciao Alberto, 
oggi ho provato ad aggiornare dalla 4.3.5 e ho avuto un po&#039; di problemi dovuti ai tanti cambiamenti.
Tutti risolti, ma questo no.
Come si può fare?
Grazie!



In file included from sketch/MK4duo.h:165:0,
                 from /tmp/arduino_modified_sketch_784851/MK4duo_4.4.0.ino:352:
sketch/src/feature/bedlevel/bedlevel.h: In member function &#039;xy_pos_t mesh_index_pair::meshpos()&#039;:
sketch/src/feature/bedlevel/bedlevel.h:60:16: error: &#039;ubl&#039; was not declared in this scope
       return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) };

                ^~~
sketch/src/feature/bedlevel/bedlevel.h:60:77: error: could not convert &#039;{, }&#039; from &#039;&#039; to &#039;xy_pos_t {aka XYval}&#039;
       return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) };

                                                                             ^             
</description>
        <link>https://reprap.org/forum/read.php?361,862180,862180#msg-862180</link>
        <lastBuildDate>Thu, 21 May 2026 06:54:34 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?361,862180,862214#msg-862214</guid>
            <title>Re: MK4duo V4_4_0 e UBL - errori in compilazione</title>
            <link>https://reprap.org/forum/read.php?361,862180,862214#msg-862214</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>MagoKimbra</strong><br />
Dovrebbe essere apposto, ho fatto svariate prove e compila sempre... </div></blockquote>
<br />
Già fatto?? Ho apportato le modifiche agli 8 file del commit e ho abilitato AUTO_BED_LEVELING_BILINEAR, compila perfettamente (vedi più in basso)<br />
UBL invece ancora no:<br />
<pre class="bbcode">
Arduino:1.8.11 (Linux), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch/MK4duo.h:165:0,
                 from /tmp/arduino_modified_sketch_839008/MK4duo_4.4.0.ino:352:
sketch/src/feature/bedlevel/bedlevel.h: In member function 'xy_pos_t mesh_index_pair::meshpos()':
sketch/src/feature/bedlevel/bedlevel.h:60:16: error: 'ubl' was not declared in this scope
       return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) };

                ^~~
sketch/src/feature/bedlevel/bedlevel.h:60:77: error: could not convert '{, }' from '' to 'xy_pos_t {aka XYval}'
       return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) };

                                                                             ^</pre>
<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>MagoKimbra</strong><br />
... Ma sul mega non centra, tu hai il mega??</div></blockquote>
<br />
Si, ho la Mega, ma io ho un segreto hahaha  ...Non ho l'LCD! (:P)<br />
Preferisco comandare la macchina usando un touch screen "simil" Nextion che mi son programmato mettendoci i comandi che più utilizzo e ci voglio aggiungere il "jogging" che è una bella comodità.<br />
E' vero che non ho attivate molte cose... ma questo è il verdetto del compilatore:<br />
<br />
<pre class="bbcode">
Lo sketch usa 123932 byte (48%) dello spazio disponibile per i programmi. Il massimo è 253952 byte.
Le variabili globali usano 5022 byte (61%) di memoria dinamica, lasciando altri 3170 byte liberi per le variabili locali. Il massimo è 8192 byte.</pre>
<br />
Tra l'altro ho notato che hai abilitato la seconda seriale (grande!), così la provo, dato che ora è collegato alla seriale 0, quindi in parallelo a quella dell'usb.<br />
Ho aggiunto un bottone nel touch che abilita/disabilita la seriale collegata alla Mega, per non interferire col flusso proveniente dall'USB quando il cavo è collegato, ma non mi piace granchè come cosa.]]></description>
            <dc:creator>Fabius72</dc:creator>
            <category>GCODE, Software e Firmware</category>
            <pubDate>Sat, 09 Nov 2019 16:36:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?361,862180,862207#msg-862207</guid>
            <title>Re: MK4duo V4_4_0 e UBL - errori in compilazione</title>
            <link>https://reprap.org/forum/read.php?361,862180,862207#msg-862207</link>
            <description><![CDATA[ Dovrebbe essere apposto, ho fatto svariate prove e compila sempre... Ma sul mega non centra, tu hai il mega??]]></description>
            <dc:creator>MagoKimbra</dc:creator>
            <category>GCODE, Software e Firmware</category>
            <pubDate>Sat, 09 Nov 2019 11:47:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?361,862180,862206#msg-862206</guid>
            <title>Re: MK4duo V4_4_0 e UBL - errori in compilazione</title>
            <link>https://reprap.org/forum/read.php?361,862180,862206#msg-862206</link>
            <description><![CDATA[ Non volevo metterti fretta, solo segnalartelo. Sto facendo modifiche alla macchina e ok, quando finirò userò MBL, in attesa, grazie!]]></description>
            <dc:creator>Fabius72</dc:creator>
            <category>GCODE, Software e Firmware</category>
            <pubDate>Sat, 09 Nov 2019 10:28:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?361,862180,862202#msg-862202</guid>
            <title>Re: MK4duo V4_4_0 e UBL - errori in compilazione</title>
            <link>https://reprap.org/forum/read.php?361,862180,862202#msg-862202</link>
            <description><![CDATA[ Miii subito con ABL sei partito?!?! In questa versione ci sono Molti,  troppi cambiamenti e ancora molte funzioni speciali le devo rivedere, per ora abl normale e MBL li ho provati, ma UBL no. Nella delta non si può usare perché ho il Nextion e ha tante funzioni che usano il display normale, nella wanaho non entra...<br />
Appena posso ci do un occhio. Ma per ora non usarlo se vuoi mettere questa versione altrimenti la 4.3.9...]]></description>
            <dc:creator>MagoKimbra</dc:creator>
            <category>GCODE, Software e Firmware</category>
            <pubDate>Sat, 09 Nov 2019 07:17:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?361,862180,862180#msg-862180</guid>
            <title>MK4duo V4_4_0 e UBL - errori in compilazione</title>
            <link>https://reprap.org/forum/read.php?361,862180,862180#msg-862180</link>
            <description><![CDATA[ Ciao Alberto, <br />
oggi ho provato ad aggiornare dalla 4.3.5 e ho avuto un po' di problemi dovuti ai tanti cambiamenti.<br />
Tutti risolti, ma questo no.<br />
Come si può fare?<br />
Grazie!<br />
<br />
<pre class="bbcode">

In file included from sketch/MK4duo.h:165:0,
                 from /tmp/arduino_modified_sketch_784851/MK4duo_4.4.0.ino:352:
sketch/src/feature/bedlevel/bedlevel.h: In member function 'xy_pos_t mesh_index_pair::meshpos()':
sketch/src/feature/bedlevel/bedlevel.h:60:16: error: 'ubl' was not declared in this scope
       return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) };

                ^~~
sketch/src/feature/bedlevel/bedlevel.h:60:77: error: could not convert '{, }' from '' to 'xy_pos_t {aka XYval}'
       return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) };

                                                                             ^             
</pre>]]></description>
            <dc:creator>Fabius72</dc:creator>
            <category>GCODE, Software e Firmware</category>
            <pubDate>Fri, 08 Nov 2019 19:59:21 -0500</pubDate>
        </item>
    </channel>
</rss>
