ducalex / retro-go

Retro emulation for the ODROID-GO and other ESP32 devices
GNU General Public License v2.0
489 stars 114 forks source link

.img Building Showing this error #80

Closed TheTest21 closed 2 months ago

TheTest21 commented 1 year ago

So, im trying to port doom to the m5stickC Plus and while building the .img for the flashing I got this error

sudo python rg_tool.py build-fw launcher prboom-go [sudo] password for thetest21:
fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). IDF_PATH is not defined. Are you running inside esp-idf environment?

I have install esp-idf and requirements and even just building it as it is doesn't work

ducalex commented 1 year ago

You need to be setup the esp-idf environment before building. If you already did, then it's likely that using sudo is your issue (you don't need sudo).

Here's the doc: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#step-4-set-up-the-environment-variables

The git error can be ignored, but if it bothers you then I suggest you git clone https://github.com/ducalex/retro-go.git instead of downloading the zip.

ducalex commented 2 months ago

Hello! It's been over a year so I'm going to assume you've fixed your problem or moved to another project.

Feel free to re-open this issue if you still need help.