Closed amp-92 closed 3 years ago
We do not support macOS. Neither me or shiiion are in a position to develop for Mac, or to test and build any binaries for it. This file was written specifically for Linux X11 only. We're open to a pull request adding support for MacOs if you or any developer is interested, however as far as I'm concerned, this isn't a bug since it was never meant to work for Mac in the first place.
If you have any further questions, join our discord and see our developer channel.
When compiling on macOS (on both Mojave and Big Sur) CMake runs without any issues but make always fails when building XInput2Mouse.cpp.o with the following error:
I have XQuartz installed so X11 headers are present (I have found them in /opt/X11, via a symlink in /usr/X11 which points /opt/X11, in /usr/local/Cellar, symlinked from /usr/local/include and within the XCode app itself) and I have XCode and command line tools installed. I have tried running this on different volumes, reinstalling XQuartz, XCode and command line tools and then re-downloading the project and running CMake again, and explicitly telling the compiler to look in /opt/X11/include for the right headers using the following command before running make:
export CXXFLAGS=-I/opt/X11/include
If there's anything else you need me to try please let me know.