-
Notifications
You must be signed in to change notification settings - Fork 7
Linux build
The following packages are needed. In Ubuntu 12.10 or Mint 14, most of them are available directly through the package manager. Sometimes, the graphics drivers are not the latest. Make sure the proprietary drivers are enabled from NVIDIA or ATI/AMD. For example, use packages fglrx for AMD, or nvidia-current-updates and nvidia-current-settings-updates for NVIDIA.
- g++
- OpenGL (don't remember the package name, freeglut will bring most of them)
- tinyxml (libtinyxml-dev)
- Alut (libalut-dev)
- libvorbis, libogg (libvorbis-dev)
- glew 1.6.0+ (libglew-dev) (dowloaded separately) http://sourceforge.net/projects/glew/files/glew/1.6.0/
- glfw 2.7.1+ (libglfw-dev) (dowloaded separately) http://www.glfw.org/download.html
- libassimp-dev 3.0 (with previous version of Ubuntu, this is not included)
- FreeType6 (libfreetype6-dev), used by libRocket.
- libudev-dev (needed by Oculus Rift)
- libxinerama-dev (needed by Oculus Rift)
- cmake
Clone libRocket from https://github.com/larspensjo/libRocket.git.
It is a forked version, verified to work with Ephenation.
cd Build; cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
sudo make install
I had to do a sudo ldconfig
also, to make sure the dynamically linked files were found.
Go back to ephenation-client/Source, and then do "make" to build (using Makefile). There is also a predefined project for Code::Blocks.
One some linux variants, you don't get the latest OpenGL driver from the vendor.
Doing sudo apt-get install fglrx
can help this for AMD.