<?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[Trying to compile Core example from M5Stack github]]></title><description><![CDATA[<p dir="auto">I am trying to compile the Core Basic example from M5Stack github examples:<br />
<a href="https://github.com/m5stack/M5Stack/blob/master/examples/Basics/Button/Button.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/blob/master/examples/Basics/Button/Button.ino</a></p>
<p dir="auto">I keep getting this error"</p>
<pre><code>Arduino/libraries/M5Stack/src/utility/pngle.c:31:10: fatal error: rom/miniz.h: No such file or directory
   31 | #include &lt;rom/miniz.h&gt;
      |          ^~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
</code></pre>
<p dir="auto">Because of this I recently erased my entire Arduino IDE down to the Arduino15 folder and only reinstalled the latest:<br />
Arduino IDE ver2.3.6 and<br />
esp32 boards 3.2.0 and<br />
M5Stack boards 3.2.1<br />
libraries:<br />
M5Stack latest ver 0.4.6 and all other required dependancies.</p>
<p dir="auto">If...(and this is NOT the answer)...I revert to the old M5Stack boards 2.1.4, it compiles correctly. (and this is NOT the answer).<br />
I keep my Arduino IDE environment up-to-date, but I have to be carful to not allow the M5Stack boards to update to current.<br />
This is most tedious.<br />
What can I do to permanently resolve this, going forward...without downgrading to an old M5Stack boards def like 2.1.4.<br />
(This effects Core2, btw)<br />
?How to install rom/miniz and compile OK?<br />
Cheers, Terry<br />
(<a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> do you have any ideas?)</p>
]]></description><link>https://community.m5stack.com/topic/7643/trying-to-compile-core-example-from-m5stack-github</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 23:15:21 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7643.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Jun 2025 00:39:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trying to compile Core example from M5Stack github on Thu, 02 Oct 2025 18:09:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/342793">@wavydavy</a><br />
Yes, that resolved the issue, I am now using the<br />
"M5Stack by M5Stack official 3.2.2 installed " board def.<br />
The entire problem was that my pre-existing code AND the M5Stack Github examples by M5Stack use<br />
#include &lt;M5Stack.h&gt;<br />
instead of M5Unified.<br />
Thanks for your help.<br />
Also:<br />
No one at M5Stack picked up on this, except you, not even the online M5Stack AI chat helper.</p>
<p dir="auto">Note: The examples in the newer web based API work fine, just not the old M5Stack official Github.<br />
Cheers, Terry</p>
]]></description><link>https://community.m5stack.com/post/30028</link><guid isPermaLink="true">https://community.m5stack.com/post/30028</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Thu, 02 Oct 2025 18:09:01 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to compile Core example from M5Stack github on Tue, 23 Sep 2025 01:11:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/342793">@wavydavy</a> I'll try that!</p>
]]></description><link>https://community.m5stack.com/post/29985</link><guid isPermaLink="true">https://community.m5stack.com/post/29985</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Tue, 23 Sep 2025 01:11:41 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to compile Core example from M5Stack github on Mon, 22 Sep 2025 08:43:28 GMT]]></title><description><![CDATA[<p dir="auto">You can try replacing the following line in the Sketch:</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">With:</p>
<p dir="auto">#include &lt;M5Unified.h&gt;</p>
<p dir="auto">That should resolve the compilation error.</p>
]]></description><link>https://community.m5stack.com/post/29983</link><guid isPermaLink="true">https://community.m5stack.com/post/29983</guid><dc:creator><![CDATA[wavydavy]]></dc:creator><pubDate>Mon, 22 Sep 2025 08:43:28 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to compile Core example from M5Stack github on Sat, 20 Sep 2025 15:21:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7508">@teastain</a><br />
Arduino/libraries/M5Stack/src/utility/pngle.c:31:10: fatal error: rom/miniz.h: No such file or directory<br />
31 | #include &lt;rom/miniz.h&gt;</p>
<p dir="auto">Change in pngle.c into include &lt;miniz.h&gt; maybe?<br />
Regards</p>
]]></description><link>https://community.m5stack.com/post/29969</link><guid isPermaLink="true">https://community.m5stack.com/post/29969</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Sat, 20 Sep 2025 15:21:44 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to compile Core example from M5Stack github on Sun, 29 Jun 2025 06:43:02 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/7508">@teastain</a></p>
<p dir="auto">I am afraid I cannot help, sorry. I exclusively use Visual Studio Code with PlatformIO / pioarduino (which so far doesn't have this issue).</p>
<p dir="auto">Note: Visual Studio Code / PlatformIO doesn't use M5Stack boards and setting up new Cores (M5Stack and others) can sometimes be quite difficult as well.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/29357</link><guid isPermaLink="true">https://community.m5stack.com/post/29357</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 29 Jun 2025 06:43:02 GMT</pubDate></item></channel></rss>