我下载了适用于Linux版本0.3的Oculus SDK,使用sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
重新链接libudev库(请参阅error on askubuntu),运行 ConfigurePermissionsAndPackages.sh 脚本,然后成功编译了带有make
的SDK。
当我使用sudo ./OculusWorldDemo.sh
启动演示时,窗口会打开,但保持黑色。日志似乎表明设备已被识别:
$ sudo ./OculusWorldDemo.sh
OVR::DeviceManagerThread - running (ThreadId=0x7f71447fe700).
OVR::DeviceManager - initialized.
*** SensorFusion Startup: TimeSeconds = 1405808704.635467
OVR::Linux::HIDDevice - Opened '/dev/hidraw0'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'I2M8G3PGPC29'
OVR::SensorDevice - Closed '/dev/hidraw0'
OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw0'
OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw0'
OVR::Linux::HIDDevice - Opened '/dev/hidraw0'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'I2M8G3PGPC29'
Sensor created.
为什么不显示任何图形?
我使用的是Ubuntu 14.04 LTS 64位。