Install the dependencies.
Build it:
qmake6 mapmap.pro
make
Install basic development tools for Qt 6 projects:
sudo apt-get install -y \
qt6-tools-dev \
qt6-multimedia-dev \
qt6-base-dev \
libqt6opengl6-dev \
libqt6openglwidgets6 \
libasound2-dev
libasound2-dev lets MapMap receive MIDI devices, through ALSA. The MIDI
library itself, RtMidi, is in third_party/rtmidi/ and is built with MapMap.
Install these optional packages to enable the MCP server (control by an AI assistant). The Qt HttpServer module needs Qt WebSockets, which Ubuntu does not install with it:
sudo apt-get install -y \
qt6-httpserver-dev \
qt6-websockets-dev
If MapMap was already built without them, rebuild from scratch (qmake6 mapmap.pro && make clean && make): qmake6 should print "MCP server enabled".
Start MapMap with an MCP port, eg. ./mapmap -m 8765.
Install this optional package to receive game controllers, through SDL 2 (zlib license), on Ubuntu and on the Raspberry Pi:
sudo apt-get install -y libsdl2-dev
qmake6 should print "game controllers enabled". ./mapmap --list-gamepads
writes the controllers it sees and each button pressed, without opening a
window.
Install extra packages if you want to build the documentation:
sudo apt-get install -y \
doxygen \
graphviz \
rst2pdf \
markdown
Install basic development tools for Qt 6 projects:
sudo pacman -S qt6-tools qt6-multimedia qt6-base alsa-lib
Install tools and dependencies:
./scripts/sh_install_deps_macos.sh
It installs SDL 2 too, which receives the game controllers. Homebrew gives SDL 2 for the processor of the Mac only: a build for both processors (Apple Silicon and Intel) is made without game controllers.
Build:
./scripts/sh_build_macos.sh
If the appearance of the window of the OSC port number in the preferences seem corrupted, you might want to reset MapMap's preferences:
./MapMap.app/Contents/MacOS/MapMap --reset-settings
- Download and install Qt6 MinGW incl. QtCreator
- Build and run MapMap project within QtCreator (Ctrl-R)
- Build a Qt static environment
- Build MapMap using QtCreator (qmake, build release)
- Run MapMap.exe
- Open Qt terminal via a Start Menu and run the following command:
windeployqt --release --no-system-d3d-compiler <path-to-app-binary> - Replace all the
*.qmfiles that exists inreleased-binary/translations folder by the ones fromsource-code/translations folder - Download and install Inno Setup to create an installation wizard setup
You might need to update the files:
lupdate mapmap.pro
Then, do this:
lrelease mapmap.pro