ovr_sdk

diff ConfigureDebian.sh @ 0:1b39a1b46319

initial 0.4.4
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 14 Jan 2015 06:51:16 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ConfigureDebian.sh	Wed Jan 14 06:51:16 2015 +0200
     1.3 @@ -0,0 +1,49 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +#############################################################################
     1.7 +#
     1.8 +# Filename    : ConfigurePermissionsAndPackages.sh
     1.9 +# Content     : Linux file for installing prerequisite libraries and the 
    1.10 +#               permissions file for the USB HID device
    1.11 +# Created     : 2013
    1.12 +# Authors     : Simon Hallam and Brant Lewis
    1.13 +# Copyright   : Copyright 2013 OculusVR, Inc. All Rights Reserved
    1.14 +# Instruction : Ensure that the install.sh has execute permissions.
    1.15 +#               Navigate to a command shell, enter:
    1.16 +#               
    1.17 +#                   ./install.sh
    1.18 +#
    1.19 +#		Enter the administrator password for sudo access.
    1.20 +#
    1.21 +# Notes       : UBUNTU 13 USERS
    1.22 +#               ---------------
    1.23 +#                 The OculusConfigUtil does not currently support Ubuntu 13
    1.24 +#                 out of the box.  If you see an error similar to this upon
    1.25 +#                 launching OculusConfigUtil:
    1.26 +#
    1.27 +#                     "error while loading shared libraries: libudev.so.0"
    1.28 +#
    1.29 +#                 Then please try the following solution, until we officially 
    1.30 +#                 support Ubuntu 13:
    1.31 +#
    1.32 +#                     cd /lib/x86_64-linux-gnu/
    1.33 +#                     sudo ln -sf libudev.so.1 libudev.so.0
    1.34 +#
    1.35 +#############################################################################
    1.36 +
    1.37 +echo "Installing OculusVR Rift udev rules file..."
    1.38 +sudo cp ./LibOVR/90-oculus.rules /lib/udev/rules.d
    1.39 +echo "Installing libudev..."
    1.40 +sudo apt-get install libudev-dev
    1.41 +echo "Installing libxext..."
    1.42 +sudo apt-get install libxext-dev
    1.43 +echo "Installing mesa-common..."
    1.44 +sudo apt-get install mesa-common-dev
    1.45 +echo "Installing freeglut3..."
    1.46 +sudo apt-get install freeglut3-dev
    1.47 +echo "Installing Xrandr..."
    1.48 +sudo apt-get install libxrandr-dev
    1.49 +echo "Installing uuid"
    1.50 +sudo apt-get install uuid-dev
    1.51 +echo "Installation complete"
    1.52 +