-
Notifications
You must be signed in to change notification settings - Fork 1
Compiling
morphinejh edited this page Aug 26, 2022
·
9 revisions
If you have compiled DosboxECE previously, the only additional library you will need is:
-
libieee1284-dev
Simply navigate to the root folder of the source code and type
bash autogen.sh
./confige
make -j4
sudo make install
If you run into any errors, you are most likely missing a library.
If this is your first time compiling DosboxECE-OPL here are some general steps that will most likely need to be taken. All of these steps reference Debian linux, explicitly Ubuntu and Raspberry Pi OS where noted.
sudo apt install
the following tools if you don't have them installed:
binutils
gcc
g++
make
cmake
autoconf
cmake
libtools
libc-dev
libglib2.0-dev
Compile or install sudo apt install
the following libraries and their dependencies.
-
libsdl1.2debian-dev
- This is usually pre-installed on Raspbeery PI OS
libsdl-net1.2-dev
-
libfluidsynth3, libfluidsynth-dev
- This is usually pre-installed on Raspbeery PI OS
- Usually very old in the distro's, I would compile from source.
libieee1284-3-dev
-
libasound-dev
orlibasound2-dev
- This is usually pre-installed on Raspbeery PI OS
-
libpulse-dev
- This is usually pre-installed on Raspbeery PI OS
-
libmt32emu
- Most likely needs to be compiled from source. Now statically build in releases.
- For static builds use
cmake -DBUILD_SHARED_LIBS=OFF
-
Optional
qt5-default
- This is only needed for the GUI for Munt MT-32 emulator. It is not strictly required.
- New Debian builds don't have this package. Alternative package set is
qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
The last library you need is probably not available as a package and will need to be compiled.
- Grab the latest release of Munt MT-32 Emulators
- extract the files and navigate to
/munt-libmt32emu_X_X_X/mt32emu
directory - Type the following sequentially once your in the
mt32emu
folder.mkdir build
cd build
cmake ..
make -j4
sudo make install
sudo ldconfig
- Make sure to obtain the Roland ROM files for
libmt32emu.so
to work.
Now simply follow the compile instructions for DosboxECE-OPL above.