AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
254 stars 62 forks source link

Build Errors on MacOS (+workaround) #175

Open andylithia opened 1 month ago

andylithia commented 1 month ago

I was unable to build the latest version and rev.22 out-of-the-box on my M1 Macbook, OS Version 14.5. This seems to be related to the differences between the recent versions of Clang versus GCC (MacOS aliases Clang to GCC by default).

Reproducing Procedures:

git clone https://github.com/AZO234/NP2kai
cd NP2kai
git checkout rev.22
cd sdl2
make -f Makefile21.mac -j

Error Message: Pastebin

Workaround:

brew install gcc@12
CC=gcc-12 make -f Makefile21.mac -j