Open BliggyBlop opened 3 years ago
Try running Docker from cmd instead of WSL and use %cd%
instead of $(pwd)
.
I received the same error as stated above, so I replaced $(pwd)
with %cd%
, but now I'm getting:
/usr/bin/env: 'python3\r': No such file or directory Makefile:208: *** Failed to extract assets. Stop.
Edit: Just to clarify, I am on Windows 10 as well and running Docker from cmd.
In some Python script somewhere there's a CRLF line ending after #!/usr/bin/env python3
. That needs to be converted to LF line endings. I got no clue why this keeps happening because I think it's been fixed like 50 times already.
I've gone through and changed every python script to use LF line endings. It begins extracting assets now, but then throws another error:
Makefile.split:152: build/us_ps2/level_rules.mk: No such file or directory mips64r5900el-ps2-elf-cpp -P -DVERSION_US -I . -o build/us_ps2/level_rules.mk levels/level_rules.mk make: mips64r5900el-ps2-elf-cpp: Command not found Makefile.split:151: recipe for target 'build/us_ps2/level_rules.mk' failed make: *** [build/us_ps2/level_rules.mk] Error 127
Edit: Moving level_rules.mk
to the specified folder manually and recompiling leads to this error:
make: mips64r5900el-ps2-elf-gcc: Command not found make: mips64r5900el-ps2-elf-gcc: Command not found make: mips64r5900el-ps2-elf-gcc: Command not found make: mips64r5900el-ps2-elf-gcc: Command not found Makefile:836: recipe for target 'build/us_ps2/src/engine/surface_collision.o' failed make: [build/us_ps2/src/engine/surface_collision.o] Error 127 make: Waiting for unfinished jobs.... Makefile:836: recipe for target 'build/us_ps2/src/engine/behavior_script.o' failed make: [build/us_ps2/src/engine/behavior_script.o] Error 127 Makefile:836: recipe for target 'build/us_ps2/src/engine/level_script.o' failed make: [build/us_ps2/src/engine/level_script.o] Error 127 Makefile:836: recipe for target 'build/us_ps2/src/engine/graph_node_manager.o' failed make: *** [build/us_ps2/src/engine/graph_node_manager.o] Error 127
Don't move it manually. If you're using the Docker script, it won't work until #57 is merged. Otherwise it seems like you don't have the correct compilers in PATH
.
After building my Docker image, I pasted the compiling command into the terminal. I am on Windows 10. After running the command, it gives me an error, stating:
docker: Error response from daemon: create $(pwd): "$(pwd)" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.
Is there anything else I need to do? Thanks!