Running GUI on Mac with GTK 4

I’ve installed GTK 4 to run the GUI but I’m not really sure how to run it. Could I get some help?

You could use the docker, but there might be glitches like with mips-mars.

Another possibility would be to build the GUI.
Go into the gui folder and execute make.
If there were no errors, go up to the project root and execute ./gui.sh.

I tried it but I get this error:
Screenshot 2022-05-28 at 23.21.56

You have to first compile the GUI for MacOS.
To do so, go into the gui folder and there execute `make.

Like this?
Screenshot 2022-05-28 at 23.25.42

Try deleting the file called gui in the gui folder and run make clean first in the gui folder. Afterward, try make again.

I get this error:
Screenshot 2022-05-28 at 23.31.51

It seems that macOS handles dynamically loaded libraries differently.
I have not yet developed with or for macOS. Therefore, I do not know how to do it correctly.
Maybe some macOS user here knows how to solve the issue.

To use the GUI on macOS, modify the gui/start.sh script to add this after the first line:

...
mkdir -p bin
cp -f ../bin/libwordle.so bin/libwordle.so  
...

This will make sure the binary can find the dynamic library.

I just tried it and I get the same error:
Screenshot 2022-05-29 at 11.21.35