<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error building latest m5dial code on vscode]]></title><description><![CDATA[<p dir="auto">While trying to upload the m5dial fw into my m5dial I get the following error. What am I missing here? How can I fix this in order to continue the upload?</p>
<p dir="auto">'Compiling .pio\build\m5dial\lib285\LittleFS\LittleFS.cpp.o<br />
.pio/libdeps/m5dial/M5GFX/src/lgfx/v1/platforms/esp32/Panel_EPD.cpp: In static member function 'static void lgfx::v1::Panel_EPD::task_update(lgfx::v1::Panel_EPD*)':<br />
.pio/libdeps/m5dial/M5GFX/src/lgfx/v1/platforms/esp32/Panel_EPD.cpp:1003:27: error: no match for 'operator!=' (operand types are 'const lgfx::v1::Panel_EPD::update_data_t' and 'lgfx::v1::Panel_EPD::update_data_t')<br />
if (prev_data != new_data) { break; }<br />
<s><s><s><s><s>^</s></s></s></s></s><br />
In file included from .pio/libdeps/m5dial/M5GFX/src/lgfx/v1/panel/../Panel.hpp:24,<br />
from .pio/libdeps/m5dial/M5GFX/src/lgfx/v1/panel/Panel_Device.hpp:20,<br />
from .pio/libdeps/m5dial/M5GFX/src/lgfx/v1/panel/Panel_HasBuffer.hpp:20,<br />
from .pio/libdeps/m5dial/M5GFX/src/lgfx/v1/platforms/esp32/Panel_EPD.hpp:28,<br />
from .pio/libdeps/m5dial/M5GFX/src/lgfx/v1/platforms/esp32/Panel_EPD.cpp:19:<br />
.pio/libdeps/m5dial/M5GFX/src/lgfx/v1/panel/../misc/colortype.hpp:700:20: note: candidate: 'bool lgfx::v1::operator!=(const lgfx::v1::raw_color_t&amp;, const lgfx::v1::raw_color_t&amp;)'<br />
LGFX_INLINE bool operator!=(const raw_color_t&amp; lhs, const raw_color_t&amp; rhs) { return <em>reinterpret_cast&lt;const uint32_t</em>&gt;(&amp;lhs) != <em>reinterpret_cast&lt;const uint32_t</em>&gt;(&amp;rhs); }<br />
^~~~~~~~<br />
.pio/libdeps/m5dial/M5GFX/src/lgfx/v1/panel/../misc/colortype.hpp:700:20: note:   no known conversion for argument 1 from 'const lgfx::v1::Panel_EPD::update_data_t' to 'const lgfx::v1::raw_color_t&amp;'<br />
Compiling .pio\build\m5dial\FrameworkArduino\Esp.cpp.o<br />
*** [.pio\build\m5dial\lib145\M5GFX\lgfx\v1\platforms\esp32\Panel_EPD.cpp.o] Error 1<br />
====================================================================================== [FAILED] Took 12.79 seconds ======================================================================================</p>
<p dir="auto">Environment    Status    Duration</p>
<hr />
<h1>m5dial         FAILED    00:00:12.788</h1>
<p dir="auto">===================== 1 failed, 0 succeeded in 00:00:12.788 =================================================================================</p>
<ul>
<li>The terminal process "C:\Users\gscorrea.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload', '--environment', 'm5dial'" terminated with exit code: 1.</li>
<li>Terminal will be reused by tasks, press any key to close it.'</li>
</ul>
]]></description><link>https://community.m5stack.com/topic/7826/error-building-latest-m5dial-code-on-vscode</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 00:11:58 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7826.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Sep 2025 18:27:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error building latest m5dial code on vscode on Sun, 21 Sep 2025 07:19:05 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/349199">@gscorrea</a></p>
<p dir="auto">using the latest library versions, e.g. M5GFX 0.2.13 and M5Unified 0.2.8 I can build M5Dial firmware with no error.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/29976</link><guid isPermaLink="true">https://community.m5stack.com/post/29976</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 21 Sep 2025 07:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to Error building latest m5dial code on vscode on Sat, 20 Sep 2025 07:30:58 GMT]]></title><description><![CDATA[<p dir="auto">The error is happening because the code is trying to compare two update_data_t objects, but there's no defined way to compare them (no operator!=).<br />
To fix it, you need to either:</p>
<p dir="auto">Define a comparison function (operator!=) for update_data_t so it knows how to compare the two objects.</p>
<p dir="auto">Or, manually compare the relevant fields of prev_data and new_data.</p>
]]></description><link>https://community.m5stack.com/post/29972</link><guid isPermaLink="true">https://community.m5stack.com/post/29972</guid><dc:creator><![CDATA[henryCharm]]></dc:creator><pubDate>Sat, 20 Sep 2025 07:30:58 GMT</pubDate></item></channel></rss>