Error when building: 'rom/miniz.h: No such file or directory'
Posted: Thu Jul 10, 2025 6:43 pm
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?
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?