-
Notifications
You must be signed in to change notification settings - Fork 951
Cinder for Linux | Ubuntu 15.X on x86_64
Cinder for Linux requires CMake 3.1 or later. You can use the binary package or do a build from the source. Make sure cmake
is in $PATH
and accessible from the command line.
For Ubuntu 15.10 or later, just install cmake
from the Ubuntu repository:
sudo apt-get install cmake
For Ubuntu 15.04, you can find the downloads for CMake here.
If you need to build CMake, see [Building CMake](Building CMake).
You can use either Clang or GCC to build Cinder as well as Cinder based applications. Clang compiles faster and uses less memory than GCC.
For Ubuntu 15.10 or later, just install cmake
from the Ubunut repository:
sudo apt-get install cmake
For Ubuntu 15.04 can download the binaries for Clang from here. For x86_64
, download Clang for x86_64 Ubuntu 14.04. Any version from 3.6.2 on should work.
Ubuntu 15.04 ships with GCC 4.9 while Ubuntu 15.10 ships with GCC 5.2.
sudo apt-get install libxcursor-dev \
libxrandr-dev \
libxinerama-dev \
libxi-dev \
libgl1-mesa-dev \
zlib1g-dev \
libfontconfig1-dev \
libmpg123-dev \
libsndfile1 \
libsndfile1-dev \
libpulse-dev \
libasound2-dev \
libcurl4-gnutls-dev \
libgstreamer1.0-dev \
libgstreamer-plugins-bad1.0-dev \
libgstreamer-plugins-base1.0-dev \
gstreamer1.0-libav \
gstreamer1.0-alsa \
gstreamer1.0-pulseaudio \
gstreamer1.0-plugins-bad
- Boost submodule for Cinder is installed.
- Library dependencies are installed.
- CMake 3.1 (or later) is installed and
cmake
is accessible from the command line.
Starting in the Cinder directory:
cd linux
./build
Starting in the Cinder directory:
cd samples/BasicApp/linux
./build
Starting from samples/BasicApp/linux
:
./Debug/ogl/BasicApp