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

mertbezzeg
Posts: 1
Joined: Thu Jul 10, 2025 5:16 pm

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

Postby mertbezzeg » 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?

MicroController
Posts: 2705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

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

Postby MicroController » Sat Jul 12, 2025 8:05 am

Try #include <miniz.h>.

Who is online

Users browsing this forum: ChatGPT-User, PerplexityBot, PetalBot and 2 guests