Skip to content

Building SocketDwarf on Linux

semidark edited this page Oct 23, 2013 · 21 revisions

Ubuntu 13.04

Required dependencies

Dependencies provided by default Repository

You need the following packages from the Ubuntu Repository: git, cmake, libboost-all-dev, libcppunit-dev

apt-get install git, cmake, libboost-all-dev, libcppunit-dev

jsoncpp

apt-get install scon
wget "http://sourceforge.net/projects/jsoncpp/files/jsoncpp/0.6.0-rc2/jsoncpp-src-0.6.0-rc2.tar.gz/download"
tar -xvzf jsoncpp-src-0.6.0-rc2.tar.gz
cd jsoncpp-src-0.6.0-rc2
scons platform=linux-gcc

Jsoncpp doesn't seem to install itself, so you'll have to manually copy the library and header files wherever you want them when you're building applications that use the library.

sudo cp -r include/json /usr/local/include/
sudo cp libs/linux-gcc-*/libjson_linux-gcc-*_libmt.so /usr/local/lib/libjson.so

libOVR (Oculus SDK)

The latest version of the Oculus SDK is available at http://developer.oculusvr.com. Please see the Oculus SDK Overview in the OculusSDK/Doc/ directory for more information.

Building it with Eclipse CDT

  1. Create Eclipse Workspace with cmake cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ./

  2. Import the resulting Project as Existing Code as Makefile Project

Clone this wiki locally