I Cannot link X11 xQuartz 2.7.1, no architecture amd64???????
I have a simple program that uses X11. it runs fine in an old xcode on an Intel Mac.
But now I have a mac Mini M1 and xCode cannot find a xquartz amd64 architecture.
I have done a bunch of -L /usr/opt/X11 linker control lines but still no go.
Any ideas? The xQuartz documentation is mum about what architecture it supports!
I think it is finding the right library path as NOW it doesn't complain about not finding the entry points like XCreateWindow, instead it complains about the wrong architecture.
Thanks,
grg
Best Answer
There is a port of Xquartz to Apple Silicon - searching the web does give a few links
One I found https://github.com/XQuartz/XQuartz/issues/14#issuecomment-754400158 is by the person who maintains XQuartz
and from https://forums.macrumors.com/threads/native-x11-support-on-apple-silicon.2274198/