Updated building (markdown)

casey langen 2018-01-30 22:47:13 -08:00
parent b69cc014e9
commit 989cb0551b

@ -5,14 +5,14 @@ this document describes to how compile musikcube on all supported platforms
- grab the [Visual Studio 2017 Community Edition](https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx) and install the 32-bit c++ compiler.
- clone the musikcube sources: `git clone https://github.com/clangen/musikcube.git --recursive`
- install the [32 bit version of boost 1.65](https://sourceforge.net/projects/boost/files/boost-binaries/1.65.0/boost_1_65_0-msvc-14.1-32.exe/download). ensure it shares the same parent directory with musikcube. e.g: `c:\src\musikcube` and `c:\src\boost_1_65_0` -- the project's solution will reference it via relative path.
- install the [32 bit version of boost 1.66](https://sourceforge.net/projects/boost/files/boost-binaries/1.66.0/boost_1_66_0-msvc-14.1-32.exe/download). ensure it shares the same parent directory with musikcube. e.g: `c:\src\musikcube` and `c:\src\boost_1_66_0` -- the project's solution will reference it via relative path.
- open `musikcube.sln` and build/run.
## mac
you'll need [homebrew](http://brew.sh/) to install the required dependencies.
- `brew install cmake boost libogg libvorbis flac faad2 libmicrohttpd lame`
- `brew install cmake boost libogg libvorbis flac faad2 libmicrohttpd lame libev`
- `git clone https://github.com/clangen/musikcube.git --recursive`
- `cd musikcube`
- `cmake .`
@ -22,21 +22,20 @@ you'll need [homebrew](http://brew.sh/) to install the required dependencies.
## linux and bsd
- install the following libraries and their development packages: `cmake boost libogg vorbis flac faad2 ncurses zlib asound pulse libcurl libmicrohttpd libmp3lame`
- install the following libraries and their development packages: `cmake boost libogg vorbis flac faad2 ncurses zlib asound pulse libcurl libmicrohttpd libmp3lame libev4`
- **ubuntu**
- **zesty**: `sudo apt-get install build-essential clang cmake libboost-thread1.61-dev libboost-system1.61-dev libboost-filesystem1.61-dev libboost-date-time1.61-dev libboost-atomic1.61-dev libboost-chrono1.61-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev`
- **artful**: `sudo apt-get install build-essential clang cmake libboost-thread1.63-dev libboost-system1.63-dev libboost-filesystem1.63-dev libboost-date-time1.63-dev libboost-atomic1.63-dev libboost-chrono1.63-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev`
- **zesty**: `sudo apt-get install build-essential clang cmake libboost-thread1.61-dev libboost-system1.61-dev libboost-filesystem1.61-dev libboost-date-time1.61-dev libboost-atomic1.61-dev libboost-chrono1.61-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev libev-dev`
- **artful**: `sudo apt-get install build-essential clang cmake libboost-thread1.63-dev libboost-system1.63-dev libboost-filesystem1.63-dev libboost-date-time1.63-dev libboost-atomic1.63-dev libboost-chrono1.63-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev libev-dev`
- **opensuse**:
- enable the _packman_ repo to get access to some packages missing from the official repository: `zypper ar -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman`
- `sudo zypper install libfaad-devel libcurl-devel libmicrohttpd-devel boost_1_64-devel cmake ncurses5-devel libogg-devel libvorbis-devel flac-devel liblame3-devel pulseaudio libpulse-devel alsa-devel zlib-devel`
- **fedora**: `sudo dnf install gcc-c++ cmake boost-devel libogg-devel libvorbis-devel flac-devel faad2-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel libmicrohttpd-devel lame-devel`
- **arch**: `sudo pacman -S faad2 libogg libvorbis flac libmicrohttpd lame cmake ncurses boost pulseaudio libpulse alsa-lib curl`
- **freebsd**: `pkg install boost-all curl libvorbis libogg flac libmicrohttpd faad2 alsa-lib cmake sndio`
- `sudo zypper install libfaad-devel libcurl-devel libmicrohttpd-devel boost_1_64-devel cmake ncurses5-devel libogg-devel libvorbis-devel flac-devel liblame3-devel pulseaudio libpulse-devel alsa-devel zlib-devel libev-devel`
- **fedora**: `sudo dnf install gcc-c++ cmake boost-devel libogg-devel libvorbis-devel flac-devel faad2-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel libmicrohttpd-devel lame-devel libev-devel`
- **arch**: `sudo pacman -S faad2 libogg libvorbis flac libmicrohttpd lame cmake ncurses boost pulseaudio libpulse alsa-lib curl libev`
- **freebsd**: `pkg install boost-all curl libvorbis libogg flac libmicrohttpd faad2 alsa-lib cmake sndio libev`
- `git clone https://github.com/clangen/musikcube.git --recursive`
- `cd musikcube`
- `cmake .`
- `make`
- `cmake .` (yes, run it again after 'make'. TODO: fix this.)
- `sudo make install`
- `musikcube`