-
Notifications
You must be signed in to change notification settings - Fork 0
Building SocketDwarf on Linux
This Tutorial is currently under development. It is written using Ubuntu 13.04 - Raring Ringtail and tested with Ubuntu 12.04 - Precise Pangolin. Other Ubuntu Versions and Linux distributions are yet untested but should work.
You need the following packages from the Ubuntu Repository: git, cmake, libboost-all-dev, libcppunit-dev
apt-get install build-essential git cmake libboost-all-dev libcppunit-dev
apt-get install scons
wget "http://sourceforge.net/projects/jsoncpp/files/jsoncpp/0.6.0-rc2/jsoncpp-src-0.6.0-rc2.tar.gz /download" -O jsoncpp-src-0.6.0-rc2.tar.gz
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/lib/libjson.so
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.
-
You need to place the OculusSDK folder on the same level as your SocketDwarf folder.
-
After building libOVR you have to move the resulting Libraries to a folder...
- Let cmake generate the makefiles
- run command
make
- find build results in
build/bin
folder
- Create Eclipse Workspace with cmake
cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ./
- Import the resulting Project as
Existing Code as Makefile Project
- Build it and find the results in the
build/bin
folder