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

    Problems with M5GFX Library

    Arduino
    1
    1
    179
    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.
    • 0
      007jimmey
      last edited by

      Hi,
      I been trying to get a M5-Stack 6-DoF IMU Pro Mini Unit (BMI270, BMM150, BMP280) to work for a project however I been having problem with getting the library to work.
      When I tried to run the example code from GitHub; Example code. I got this error even though I installed all the library's needed. I also re-installed/ updated Arduino IDE.
      Any other way I could do this would be welcome.

      In file included from C:\Users\28355\OneDrive - 28355\Documents\Arduino\libraries\M5GFX\src/M5GFX.h:19:0,
                       from C:\Users\28355\OneDrive - 28355\Documents\Arduino\libraries\M5Unified\src/M5Unified.hpp:19,
                       from C:\Users\28355\OneDrive – 28355\Documents\Arduino\libraries\M5Unified\src/M5Unified.h:5,
                       from C:\Users\28355\AppData\Local\Temp\.arduinoIDE-unsaved2025226-37800-1pdxwpq.agmb\sketch_mar26a\sketch_mar26a.ino:23:
      C:\Users\28355\OneDrive - 28355\Documents\Arduino\libraries\M5GFX\src/lgfx/v1/platforms/device.hpp:94:10: fatal error: arduino_default/Bus_SPI.hpp: No such file or directory
       #include "arduino_default/Bus_SPI.hpp"
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      exit status 1
      
      Compilation error: exit status 1
      
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post