Page 1 of 1

Error when building: 'rom/miniz.h: No such file or directory'

Posted: Thu Jul 10, 2025 6:43 pm
by mertbezzeg
When trying to build the image with python rg_tool.py build-fw, I get the following error:

fatal error: rom/miniz.h: No such file or directory
511 | #include <rom/miniz.h>
| ^~~~~~~~~~~~~
compilation terminated.
Reproducing the error:

ESP-IDF v5.4.2 on Mac OS X 15.0.1 - once I start ESP IDF in the terminal, navigate to the project folder downloaded from GitHub and run python rg_tool.py build-fw or python3 rg_tool.py build-fw

Expected behavior: successful compilation, instead of the error

The project: https://github.com/ducalex/retro-go.git

Any idea what could have gone wrong?

Re: Error when building: 'rom/miniz.h: No such file or directory'

Posted: Sat Jul 12, 2025 8:05 am
by MicroController
Try #include <miniz.h>.