pret / pokeemerald

Decompilation of Pokémon Emerald

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PNG.h missing on Apple Silicon M1 (Installed everything under Rosetta)

Manurocker95 opened this issue · comments

Well, I installed devkitpro and stuff under rosetta and AGBCC didn't show any issue when compiling but when compiling pokeemerald, it says png.h is missing and I guess other tools. There was other user with the same issue but never got an answer, any idea?

image

Have you installed libpng, per pokeemerald's installation instructions?

Then evidently it's not installed correctly. png.h is a header file belonging to libpng. I haven't tried the installation process on M1 as I don't have access to one, so I can't tell you if there are any additional steps you'd need to take to properly install it in that environment.

Then evidently it's not installed correctly. png.h is a header file belonging to libpng. I haven't tried the installation process on M1 as I don't have access to one, so I can't tell you if there are any additional steps you'd need to take to properly install it in that environment.

I tested installing libpng under rosetta, which you can clearly see it's installed:

image

And natively and it's kinda weird everybody with an M1 have the same exact issue (And that's why I open this issue)

Btw, the file is is there
image

OMFG, there was a discord thread. Reinstalling pnglib under rosetta explicitely over the usr/local instead of regular path worked!!!

image

Until M1 native support ever arrives, the installing solution for M1 should be added to the installing readme. We can close this already!