WAY MORE UP-TO-DATE GIST (and includes some setup stuff that I forgot to document): https://gist.github.com/sarimarton/471e9ff8046cc746f6ecb8340f942647
Current Development for Building Libre-version of CrossOver: https://github.com/GabLeRoux/macos-crossover-cloud-build.
For Latest Discussions: https://github.com/GabLeRoux/macos-crossover-cloud-build/issues.
This version of gist is outdated since it was written while I was compiling CrossOver v19. and seems to be there are some breaking changes in v19.1+ and 20. Also, I think I missed some required libraries/stub files that was required in build (that I previously installed beforehand). Oops.
Please use the gist linked above for more information.
If you need compiled binary, @GabLeRoux did a fabulous job on building CD for Libre version of CrossOver using GitHub Actions at this repo.
This document will be stay here for archival purpose. Thanks for the updates! :D.
If you have some money, try supporting wine development by supporting Crossover. (I did it)
They claim that they support the WineHQ project, and they seems to support the upstream WineGitRepoSearch
To install, you need following dependencies to be installed on your Mac machine.
- Xcode developer tools (Command Line)
- cmake
- gcc or clang to compile c codes.
- bison >= 3.0 (can be upgraded via homebrew)
- xquartz
- flex
- mingw-w64
- pkgconfig
(If more dependencies are found, the list will be updated)
Go to CodeWeavers CrossOver FOSS version Source and download the source.
This guide is strictly for Compiling on Mac.
use command tar -xz whatever_the_filename_is.tar.gz
to untar it.
Go to llvm directory and create build
directory with command mkdir build
.
cd build
to go there and run cmake ../
to configure build directory.
When cmake
is done, you can run make
to compile.
This will take a long time... Take your time and have a break.
(Build Time: 1h 25m 45s on 2018 Macbook Pro with intel Core i9 Processor)
now cd bin
and add binaries to PATH via export PATH="$(pwd):$PATH"
.
Go to clang directory and create build
directory with command mkdir build
. (PATH setup from llvm required!!)
cd build
to go there and run cmake ../
to configure build directory.
When cmake
is done, you can run make
to compile.
This will take some time... Take your time and have a break.
(Build Time: 34m 36s on 2018 Macbook Pro with intel Core i9 Processor)
now cd bin
and add binaries to PATH via export PATH="$(pwd):$PATH"
.
The custom build of wine by codeweavers have special flag called --enable-win32on64
.
Use that to when you setup with ./configure
.
Use command CC="clang" CXX="clang++" ./configure --enable-win32on64
Then compile with make
CC="clang" CXX="clang++" MACOSX_DEPLOYMENT_TARGET=10.14 ./configure --enable-win32on64 -disable-winedbg --without-x --without-vulkan --disable-mscms
ends in:
configure: QuickTime 64-bit development files not found, video decoding won't be supported.
configure: libinotify 64-bit development files not found (or too old), filesystem change notifications won't be supported.
configure: libsane 64-bit development files not found, scanners won't be supported.
configure: libv4l2 64-bit development files not found.
configure: libgphoto2 64-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 64-bit development files not found, digital cameras won't be auto-detected.
configure: liblcms2 64-bit development files not found, Color Management won't be supported.
configure: libpulse 64-bit development files not found or too old, Pulse won't be supported.
configure: gstreamer-1.0 base plugins 64-bit development files not found, GStreamer won't be supported.
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libudev 64-bit development files not found, plug and play won't be supported.
configure: libSDL2 64-bit development files not found, SDL2 won't be supported.
configure: libFAudio 64-bit development files not found, XAudio2 won't be supported.
configure: libcapi20 64-bit development files not found, ISDN won't be supported.
configure: libgsm 64-bit development files not found, gsm 06.10 codec won't be supported.
configure: libtiff 64-bit development files not found, TIFF won't be supported.
configure: vkd3d 64-bit development files not found (or too old), Direct3D 12 won't be supported.
configure: WARNING: libgnutls 64-bit development files not found, no schannel support.
configure: WARNING: libjpeg 64-bit development files not found, JPEG won't be supported.
configure: WARNING: libpng 64-bit development files not found, PNG won't be supported.
And I honestly don't know if this is a showstopper in the first place.