Same issue here, with the M5Stack Core 1. Just installed all the packages / libraries following the M5Stack instructions.
#include <M5Stack.h>
void setup() {
// put your setup code here, to run once:
M5.begin();
M5.lcd.print("Hello World!");
}
void loop() {
// put your main code here, to run repeatedly:
}
Output:
c:\Arduino\libraries\M5Stack\src\utility\pngle.c:31:10: fatal error: rom/miniz.h: No such file or directory
31 | #include <rom/miniz.h>
| ^~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1