2.3 KiB
2.3 KiB
Quick Start
Autotools-based
-
Grab a
libopenmpt-VERSION.autotools.tar.gz
tarball. -
Get dependencies:
- gcc >= 7.1 or clang >= 5
- pkg-config >= 0.24
- zlib
- libogg, libvorbis, libvorbisfile
- libmpg123 >= 1.14.0
- doxygen >= 1.8
- libpulse, libpulse-simple (required only by openmpt123)
- portaudio-v19 (required only by openmpt123)
- libFLAC (required only by openmpt123)
- libsndfile (required only by openmpt123)
-
Optional:
- libSDL2 >= 2.0.4 (required only by openmpt123)
-
Run:
./configure make make check sudo make install
Windows
- Get dependencies:
- Microsoft Visual Studio >= 2017
- Optionally get dependencies:
- Winamp SDK
- XMPlay SDK
- Checkout
https://source.openmpt.org/svn/openmpt/trunk/OpenMPT/
. - Open
build\vs2017\openmpt123.sln
orbuild\vs2017\libopenmpt.sln
orbuild\vs2017\xmp-openmpt.sln
orbuild\vs2017\in_openmpt.sln
in Microsoft Visual Studio 2017. - Select appropriate configuration and build. Binaries are generated in
bin\
- Drag a module onto
openmpt123.exe
or copy the player plugin DLLs (in_openmpt.dll
orxmp-openmpt.dll
) into the respective player directory.
Unix-like
-
Get dependencies:
- GNU make
- gcc >= 7.1 or clang >= 5
- pkg-config
- zlib
- libogg, libvorbis, libvorbisfile
- libmpg123 >= 1.14.0
- libpulse, libpulse-simple (required only by openmpt123)
- portaudio-v19 (required only by openmpt123)
- libFLAC (required only by openmpt123)
- libsndfile (required only by openmpt123)
-
Optional:
- libSDL2 >= 2.0.4 (required only by openmpt123)
- doxygen >= 1.8
- help2man
-
Run:
svn checkout https://source.openmpt.org/svn/openmpt/trunk/OpenMPT/ openmpt-trunk cd openmpt-trunk make clean make make doc make check sudo make install # installs into /usr/local by default sudo make install-doc # installs into /usr/local by default sudo ldconfig # required on some systems (i.e. Linux) openmpt123 $SOMEMODULE