Package Details: oculus-rift-sdk 0.5.0.1-1

Git Clone URL: https://aur.archlinux.org/oculus-rift-sdk.git (read-only)
Package Base: oculus-rift-sdk
Description: Oculus Rift SDK official version.
Upstream URL: https://developer.oculus.com
Licenses: custom
Conflicts: oculus-rift-sdk-jherico-git
Submitter: feilen
Maintainer: feilen
Last Packager: feilen
Votes: 3
Popularity: 0.000000
First Submitted: 2015-03-29 20:59
Last Updated: 2015-06-14 23:15

Dependencies (2)

  • libudev.so.0 (optional) – The closed config utility is linked against libudev.so.0
  • oculus-udev (optional) – Udev rule to make the rift sensors usable to the user "plugdev"

Sources (3)

Latest Comments

mansuetus commented on 2018-12-30 12:37

I've received the same two errors you got : 1. the -Werror makes every build fail. 2. the OculusWorldDemo has nothing to build and everything fails.

3 files have to be modified :

./src/ovr_sdk_linux_0.5.0.1/Samples/OculusWorldDemo/Projects/Linux/OculusWorldDemo.mk
Line 101 :
all:
    true
(with a tab before true)

./src/ovr_sdk_linux_0.5.0.1/LibOVR/Projects/Linux/LibOVR.mk
./src/ovr_sdk_linux_0.5.0.1/LibOVR/Projects/Linux/LibOVRRT.mk
./src/ovr_sdk_linux_0.5.0.1/LibOVRKernel/Projects/Linux/LibOVRKernel.mk

=> remove "-Werror"

xer01ne commented on 2018-07-10 13:06

Package errors on build.

==> Making package: oculus-rift-sdk 0.5.0.1-1 (Tue 10 Jul 2018 09:05:42 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ovr_sdk_linux_0.5.0.1.tar.xz
  -> Found OculusWorldDemo.sh
  -> Found ovrd.desktop
==> Validating source files with md5sums...
    ovr_sdk_linux_0.5.0.1.tar.xz ... Passed
    OculusWorldDemo.sh ... Passed
    ovrd.desktop ... Passed
==> Extracting sources...
  -> Extracting ovr_sdk_linux_0.5.0.1.tar.xz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DLIBDIR=/usr//home/roberts/work/oculus/oculus-rift-sdk/pkg/oculus-rift-sdk/lib -DSHRDIR=/usr//home/roberts/work/oculus/oculus-rift-sdk/pkg/oculus-rift-sdk/share" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DLIBDIR=/usr//home/roberts/work/oculus/oculus-rift-sdk/pkg/oculus-rift-sdk/lib -DSHRDIR=/usr//home/roberts/work/oculus/oculus-rift-sdk/pkg/oculus-rift-sdk/share" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" make -C Samples/OculusWorldDemo/Projects/Linux -f OculusWorldDemo.mk
make[1]: Entering directory '/home/roberts/work/oculus/oculus-rift-sdk/src/ovr_sdk_linux_0.5.0.1/Samples/OculusWorldDemo/Projects/Linux'
mkdir -p ../../Obj/Linux/x86_64/Release/Render/
g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DLIBDIR=/usr//home/roberts/work/oculus/oculus-rift-sdk/pkg/oculus-rift-sdk/lib -DSHRDIR=/usr//home/roberts/work/oculus/oculus-rift-sdk/pkg/oculus-rift-sdk/share  -DOVR_DLL_BUILD -Wall -Wextra -Werror -pipe -fPIC -msse2 -fno-strict-aliasing -fvisibility=hidden -std=c++11 -O2 -I../../../../LibOVR/Include -I../../../../LibOVRKernel/Src -o ../../Obj/Linux/x86_64/Release/Render/Render_Device.o ../../../CommonSrc/Render/Render_Device.cpp
../../../CommonSrc/Render/Render_Device.cpp: In member function ‘bool OVR::Render::CollisionModel::TestPoint(const Vector3f&) const’:
../../../CommonSrc/Render/Render_Device.cpp:1016:3: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
   for(unsigned i = 0; i < Planes.GetSize(); i++)
   ^~~
../../../CommonSrc/Render/Render_Device.cpp:1022:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘fo’
    return 1;
    ^~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [OculusWorldDemo.mk:118: ../../Obj/Linux/x86_64/Release/Render/Render_Device.o] Error 1
make[1]: Leaving directory '/home/roberts/work/oculus/oculus-rift-sdk/src/ovr_sdk_linux_0.5.0.1/Samples/OculusWorldDemo/Projects/Linux'
make: *** [Makefile:19: release] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Win8Error commented on 2018-01-27 18:42

Why is the file 'libudev.so.0' marked red?

F1nny commented on 2017-01-21 22:47

Anyone else seeing this fail to make?

make -C ../../../LibOVRKernel/Projects/Linux SINGLEPROCESS=0 DEBUG=0 STATIC=0 --file LibOVRKernel.mk
make[4]: Entering directory '/tmp/makepkg/oculus-rift-sdk/src/ovr_sdk_linux_0.5.0.1/LibOVRKernel/Projects/Linux'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/makepkg/oculus-rift-sdk/src/ovr_sdk_linux_0.5.0.1/LibOVRKernel/Projects/Linux'
cc1plus: all warnings being treated as errors
make[3]: *** [LibOVRRT.mk:144: ../../Obj/Linux/x86_64/Release/Src/CAPI/GL/CAPI_GL_DistortionRenderer.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/tmp/makepkg/oculus-rift-sdk/src/ovr_sdk_linux_0.5.0.1/LibOVR/Projects/Linux'
make[2]: *** [LibOVR.mk:82: ../../../LibOVR/Obj/Linux/x86_64/Release/libOVRRT_0.so.5] Error 2
make[2]: Leaving directory '/tmp/makepkg/oculus-rift-sdk/src/ovr_sdk_linux_0.5.0.1/LibOVR/Projects/Linux'
make[1]: *** [OculusWorldDemo.mk:103: ../../../../LibOVR/Lib/Linux/x86_64/Release/libOVR.a] Error 2
make[1]: Leaving directory '/tmp/makepkg/oculus-rift-sdk/src/ovr_sdk_linux_0.5.0.1/Samples/OculusWorldDemo/Projects/Linux'
make: *** [Makefile:19: release] Error 2