Friday, May 8, 2015

Notes on Building Hifi with Razer Hydra motion controller in Ubunti Vivid

November 22, 2015 update: It appears that the sixense sdk is automatically downloaded by the current git version therefore there may be no need for the ff. steps to get the hydra working on hifi.

Update source

cd ~/source/hifi/
git pull


Update: May 8 pull of source appears to have resolved crash in interface on startup but it crashes when I log-in to hifi headquarters.

Download and extract Sixense SDK

Download Sixense SDK from http://sixense.com/linuxsdkdownload
Extract the sixenseSDK_linux_OSX.zip file

Install SDK

Correct the source path for the libraries in install.cfg

gedit ~source/sixenseSDK_linux_OSX/install/install.cfg

In lines 45 and 50 delete glibc4.6

from original

#linux_64_debug
linux_64_debug_destination = /usr/local/lib
linux_64_debug_source = ../lib/linux_x64/glibc4.6/debug
linux_64_debug_file = *.*

#linux_64_release
linux_64_release_destination = /usr/local/lib
linux_64_release_source = ../lib/linux_x64/glibc4.6/release
linux_64_release_file = *.*

to correct source path
#linux_64_debug
linux_64_debug_destination = /usr/local/lib
linux_64_debug_source = ../lib/linux_x64/debug
linux_64_debug_file = *.*

#linux_64_release
linux_64_release_destination = /usr/local/lib
linux_64_release_source = ../lib/linux_x64/release
linux_64_release_file = *.*

Make install.py executable
Open a terminal and install
cd ~source/sixenseSDK_linux_OSX/install/
sudo ./install.py

Copy SDK to HiFi interface source folder


cp -R ~/source/sixenseSDK_linux_OSX/* ~/source/hifi/interface/external/sixense/

Clean hifi build

cd ~/source/build/
make clean

Rebuild interface

cmake ../hifi/
make interface


Result:


No comments:

 
Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.