🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    issue with CORE2 library

    SOFTWARE
    3
    3
    72
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      matt-praterlabs.com
      last edited by

      Hi All,
      My M5Core2 library fails compiling with
      pngle.c:31:10: fatal error: rom/miniz.h: No such file or directory
      31 | #include <rom/miniz.h>
      | ^~~~~~~~~~~~~
      compilation terminated.

      Using 2.3.6 arduino ide and latest library (both with M5Stck and ESP Board jsons). I had blank code with just the library and it failed.
      thanks

      1 Reply Last reply Reply Quote 0
      • N
        nomuza
        last edited by

        I have the (almost) identical problem:

        pngle.c:34:10: fatal error: rom/miniz.h: No such file or directory
        34 | #include <rom/miniz.h>
        | ^~~~~~~~~~~~~
        compilation terminated.

        Arduino IDE 2.3.6 + Paper S3
        testing drawImageData.ino example
        https://github.com/m5stack/M5EPD/blob/main/examples/Basics/DISPLAY_URL_JPG/DISPLAY_URL_JPG.ino

        1 Reply Last reply Reply Quote 0
        • D
          Dan Perren
          last edited by

          I was experiencing the same issue and through trial and error I resolved it for me by removing the version 3.20 M5Stack board, quitting the Arduino IDE and deleting the username/Library/Arduino15 folder. I then restarted the IDE and installed the version 2.1.4 M5Stack board.

          I then uninstalled the M5Stack library version 0.4.6 and reinstalled it. Has worked successfully on two silicon based Macs. (MacBook Pro M1 and MacStudio)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post