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

    ADUINO compile error core2

    Modules
    2
    4
    505
    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.
    • V
      VK3AWA_1
      last edited by

      Hi all,

      When I try and compile my Core 2 in Arduino IDE I get this error #include <rom/miniz.h> error.

      How can I rectify?

      Thanks DARYL - Paradise Beach Australia

      kurikoK 1 Reply Last reply Reply Quote 0
      • kurikoK
        kuriko @VK3AWA_1
        last edited by

        @VK3AWA_1
        have you tried compile example programs? are you able to post your codes?

        Good morning, and welcome to the Black Mesa Transit System.

        V 1 Reply Last reply Reply Quote 0
        • V
          VK3AWA_1 @kuriko
          last edited by

          @kuriko
          Thanks for the reply. Yes I have since discovered that the M5Core2 examples cause the errors but the M5Unified examples work OK.

          CHEERS DARYL

          kurikoK 1 Reply Last reply Reply Quote 1
          • kurikoK
            kuriko @VK3AWA_1
            last edited by

            @VK3AWA_1

            1. If you are using Windows 10, upgrade your Windows system to the latest version.
            2. Use other operating systems to compile (such as Linux distributions).
            3. First, make sure that "rom\miniz.h" exists in Arduino's ESP32 board manager files. Then try to manually change all paths containing #include <rom/miniz.h> to absolute paths. For example, #include "C:\Users\admin\Documents\Arduino\libraries\esp32-xxx\xxxxxx\rom\miniz.h"

            Good morning, and welcome to the Black Mesa Transit System.

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