OSUrobotics / ros_ovr_sdk

A ROS package which builds the Oculus SDK as a shared library and link the appropriate libraries in other packages that build with it.
MIT License
9 stars 7 forks source link

Unable to initialize LibOVR #6

Open sevenbitbyte opened 9 years ago

sevenbitbyte commented 9 years ago

When I run

rosrun ros_ovr_sdk OculusWorldDemo

I get the output

MessageBox
OculusWorldDemo
Unable to initialize LibOVR

which seems like something may need to be added to the library path but when I export the path to libOVR* the error persists. Can the README be updated to indicate what needs to be configured?

rebhuhnd commented 8 years ago

Hmm. What is your build environment?

amansmathur commented 8 years ago

Hey. I'm facing a similar issue! I use Ubuntu 14.04 LTS with ROS indigo. Any ideas why this may happen?

RValner commented 7 years ago

Tried rosrun ros_ovr_sdk OculusWorldDemo with 16.04 kinetic and 14.04 indigo, both output: MessageBox OculusWorldDemo Unable to initialize LibOVR

AutoModelCar commented 6 years ago

Did you add oculus.rules to /etc/udev/rules.d/

cp oculus.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && udevadm trigger

oculus.rules file:

# For OVR
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2833", TAG+="uaccess"

# For OpenHMD
SUBSYSTEM=="usb", ATTRS{idVendor}=="2833", TAG+="uaccess"
GeorgeK-zn commented 5 years ago

Hey, I'm having the same problem, I have applied the rules again, it didn't help.

Thank you.