Skip to content

Docker build fails due to missing globals.dat #9

Description

@smidge6502

I tried to build the game using these Docker commands in the README:

docker build . -t n64brew2025
docker run -v ./:/n64brew2025 -it --rm n64brew2025 make

And it failed with this error:

python3 tools/mesh_export/globals.py build/assets/scripts/globals src/player/inventory_mapping.c assets/scripts/globals.script
Traceback (most recent call last):
  File "/n64brew2025/tools/mesh_export/globals.py", line 95, in <module>
    with open(args.output + '.dat', 'wb') as file:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'build/assets/scripts/globals.dat'
make: *** [Makefile:140: src/player/inventory_mapping.c] Error 1

I'm using Docker Desktop and WSL2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions