Skip to content

Build on macOS

Giacomo Lacava edited this page Nov 20, 2020 · 7 revisions

Note: you must use the macos_build branch at the moment.

Aqemu requires DBus. See separate install instructions for that.

To compile Aqemu from source on macOS, using homebrew, execute the following in a terminal:

brew install qt5 meson ninja libvncserver dbus   # configure and launch dbus before proceeding 

export PATH="/usr/local/opt/qt/bin:/usr/local/opt/jpeg-turbo/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/qt/lib -L/usr/local/opt/jpeg-turbo/lib -L/usr/local/Cellar/libvncserver/0.9.13/lib"
export CPPFLAGS="-I/usr/local/opt/qt/include -I/usr/local/opt/jpeg-turbo/include -I/usr/local/Cellar/libvncserver/0.9.13/include"
export PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig:/usr/local/opt/jpeg-turbo/lib/pkgconfig:$PKG_CONFIG_PATH"

cmake -DDEBUG=on .
make
# now run
./aqemu

See Run on macOS for instructions on how to run an actual vm

Clone this wiki locally