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

    issue with CORE2 library

    Scheduled Pinned Locked Moved SOFTWARE
    7 Posts 6 Posters 6.4k Views
    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 Offline
      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 Offline
        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 Offline
          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)

          teastainT 1 Reply Last reply Reply Quote 1
          • teastainT Offline
            teastain @Dan Perren
            last edited by teastain

            @Dan-Perren Me too!

            After 'letting' Arduino IDE update a bunch of boards and libraries...
            It started to happen.
            fatal error: rom/miniz.h: No such file or directory

            Best fix was revert to M5Stack boards to ver 2.14
            (3.20 was the problem.)
            cheers

            Cheers, Terry!

            100% M5Stack addict with several drawers full of product!

            1 Reply Last reply Reply Quote 1
            • E Offline
              ExpatNoHa
              last edited by

              Reverting to 2.14 worked for me.

              teastainT 1 Reply Last reply Reply Quote 1
              • teastainT Offline
                teastain @ExpatNoHa
                last edited by

                @ExpatNoHa I sent an email to M5Stack Support!

                Cheers, Terry!

                100% M5Stack addict with several drawers full of product!

                1 Reply Last reply Reply Quote 0
                • teastainT teastain referenced this topic on
                • R Offline
                  raeph
                  last edited by

                  The Problem seems to still persist. Had the same issue and solved it this way.
                  Thanks @Dan-Perren and @teastain for the solution!

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post