-
Notifications
You must be signed in to change notification settings - Fork 4
Dependencies
-
FMOD Ex >= 4.44.xx - Free for non-comercial
- Considering an opensource replacement - Issue #16
- TagLib >= 1.8 - LGLP or MPL
- FLTK >= 1.3.2 - LGLP
- SQLite >= 3.8.x - Public Domain
- libpng - libpng License
- zlib - zlib License
- Libcurl - MIT/X derivate License
- libXpm - MIT/X derivate License
- libXtst - MIT/X derivate License
- libXft - MIT/X derivate License
- libXinerama - MIT/X derivate License
It's assumed you already have gcc/g++ and autotools properly installed.
-
Arch Linux
pacman -S fmodex taglib fltk sqlite libpng zlib curl libxpm libxtst libxft libxinerama
-
Fedora
yum install taglib-devel fltk-devel libsqlite3x-devel libpng-devel zlib libcurl-devel \ libXpm-devel libXtst-devel libXft-devel libXinerama-devel gettext-devel
FMOD has to be manually installed, check instructions below.
-
Ubuntu
apt-get install libtag1-dev libfltk1.3-dev libsqlite3-dev libpng12-dev zlib1g-dev \ libcurl4-openssl-dev libxpm-dev libxtst-dev libxft-dev libxinerama-dev
FMOD has to be manually installed, check instructions below.
For Windows, MSYS2 is the platform used for development.
MSVC and other environments are not supported.
-
Download and install MSYS2
-
Then install the dependencies:
pacman -S make gettext automake autoconf libtool mingw-w64-i686-gcc mingw-w64-i686-fltk \ mingw-w64-i686-sqlite3 mingw-w64-i686-taglib
-
You can install curl(mingw-w64-i686-curl) using pacman, but it's built with lots of options, so it's bloated for kissplayer. Here are the steps to compile it as light as possible and static:
curl https://curl.haxx.se/download/curl-7.42.1.tar.gz -o curl.tar.gz tar xf curl.tar.gz cd curl-7.42.1 ./configure --prefix=/mingw32 --disable-shared --disable-ftp --disable-file --disable-ldap \ --disable-ldaps --disable-rtsp --disable-dict --disable-telnet --disable-tftp \ --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher \ --disable-manual --without-ssl --without-libssh2 --without-librtmp \ --without-libidn --without-nghttp2 make && make install
FMOD has to be manually installed, check instructions below.
Even though MSYS2 supports a 64-bit toolchain, FMOD is 32-bit only for GCC.
-
As FMOD is not opensource, thus not present in some repositories, download the programmers' API.
-
On Windows, you can run the installer or just extract its content with 7zip.
-
Browse to "api" folder.
-
Linux:
mkdir /usr/local/include/fmodex mv inc/* /usr/local/include/fmodex mv lib/*.a /usr/local/lib
-
Windows(MSYS2 shell):
mv inc/* /c/<msys-root>/mingw32/include mv lib/*.a /c/<msys-root>/mingw32/lib mv fmodex.dll fmodexL.dll /c/msys64/mingw32/bin