fgsfdsfgs / sm64-port

PS2, PS3, OG Xbox and DOS ports of sm64-port.
https://discord.gg/7bcNTPK
242 stars 38 forks source link

Unable to build PS2 version on linux mint #60

Open sounddrill31 opened 2 years ago

sounddrill31 commented 2 years ago

I've tried building PS2 version on linux, but I couldn't.

I did copy paste commands, understanding what they did, Checked out "ps2" branch of the repository (git clone https://github.com/fgsfdsfgs/sm64-port.git -b ps2 --recursive), Copied baserom.us.z64 (checked hashes – they did match) into root directory of repository; Executed make (tried make -j4 too). Got following output: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:152: build/us_ps2/level_rules.mk: No such file or directory make: *** [Makefile.split:151: build/us_ps2/level_rules.mk] Error 127

furtarball commented 2 years ago

Right now, you can work around this by compiling ps2dev yourself. Make sure your distro has glibc >=2.34 (libc6 in Ubuntu). Install all dependencies: sudo apt install cmake patch flex bison gettext libgsl-dev libgmp-dev libmpfr-dev libmpc-dev zlib1g-dev and follow the instructions.

sounddrill31 commented 2 years ago

sudo apt install cmake patch flex bison gettext libgsl-dev libgmp-dev libmpfr-dev libmpc-dev zlib1g-dev

will try it out, thanks!