SpartanJ / SOIL2

SOIL2 is a tiny C library used primarily for uploading textures into OpenGL.
MIT No Attribution
370 stars 75 forks source link

Mac OS Catalina can't compile this with premake4 #27

Closed SpartanJ closed 4 years ago

SpartanJ commented 4 years ago

Original report by Anonymous.


After I updated the OS, it keeps saying

#!-bash: ./premake4: Bad CPU type in executable

I tried premake5 too, but I guess this library is for premake4. It doesn't work.

SpartanJ commented 4 years ago

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


Let’s use this issue, you said your are getting this error:isappeared code block was "-bash: ./premake4: Bad CPU type in executable"

This means that you have 32bit premake4 binary installed and Catalina dropped 32bit binaries support, you just need to install premake4 64bit. I don't know if there's a premake4/5 64bit prebuilt for Catalina, otherwise just build it for the moment.