/ Forums
Applications are now open to attend this year's Oculus Connect. Join us October 11–12 and be first in line for an inside look at what’s new and next for VR.

New To The Forum? Click Here To Read The How To Guide. -- Developers Click Here.

Official linux SDK.

nesqinesqi Posts: 5
Virtual Boy (or Girl)
edited July 2013 in PC Development
Some time ago someone wrote that the linux SDK would arrive probably sooner then expected. I expected it to be delivered already. Any news on the linux version of the SDK? What is missing?

Comments

  • geekmastergeekmaster Posts: 2,866
    Nexus 6
    nesqi wrote:
    Some time ago someone wrote that the linux SDK would arrive probably sooner then expected. I expected it to be delivered already. Any news on the linux version of the SDK? What is missing?
    Actually, the entire linux SDK is missing. :o

    (Although, if you look at the source code, there seems to be partial linux support in the latest version.)

    For now, there is this unofficial (basic) linux SDK that you might want to try:

    viewtopic.php?f=20&t=667

    https://github.com/ultranbrown/libovr_nsb
  • kaetemikaetemi Posts: 191
    Another unofficial one here
    http://hg.sitedethib.com/libvr (a clean-room attempt it seems)

    and another one here
    http://openhmd.net/

    there's a whole bunch more probably...
  • kaetemi wrote:
    Another unofficial one here
    http://hg.sitedethib.com/libvr (a clean-room attempt it seems)

    and another one here
    http://openhmd.net/

    there's a whole bunch more probably...

    The problem is, that the solutions I tested so far perform worse than the official SDK. The sensorfusion feels smoother on the official SDK. A second strong argument for an official SDK is the benefit of having just one API to deal with.

    I hope oculus is still working on the linux port. I don't need examples etc, just the bare SDK support.
  • jhericojherico Posts: 1,419
    Nexus 6
    The problem is, that the solutions I tested so far perform worse than the official SDK. The sensorfusion feels smoother on the official SDK. A second strong argument for an official SDK is the benefit of having just one API to deal with.

    I hope oculus is still working on the linux port. I don't need examples etc, just the bare SDK support.

    Yeah, I'm tired of waiting on this too, so I'm just knuckling down and writing it myself. I should have something useful within a week I think, using the existing 0.2.2 SDK and some minor tweaks, plus new code to do the Linux specific stuff.
    Brad Davis - Developer for High Fidelity
    Co-author of Oculus Rift in Action

  • cyberealitycybereality Posts: 21,760 Oculus Staff
    We're still working on it. It will be released when it's ready.

    Thanks for your patience.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    PowerColor RX 480 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
  • jhericojherico Posts: 1,419
    Nexus 6
    I burned some midnight oil and was able to do a first pass at changes that allow the SDK to be used on my Ubuntu installation, at least for running the SensorBox demo application. I've put it into a GitHub repository here https://github.com/jherico/OculusSDK under the terms of the SDK License.

    The vast majority of the changes are adding OVR_Posix_XXX files wherever there is an OVR_Win32 or OVR_OSX equivalent, as well as correcting some minor const correctness bugs in order to get my code to work with the existing SDK.
    Brad Davis - Developer for High Fidelity
    Co-author of Oculus Rift in Action

  • lritterlritter Posts: 12
    +1 on Linux support; we're developing our game in an open alpha for all three major PC platforms simultaneously, with core development happening on Linux (believe it or not, it's fun, at least for me) - so it would be very nice to get this working (where by "would be nice" I mean "get it done" -- or would it be unfair to feel entitled?), as I have Python bindings to write -- and falling back to an alternate implementation just on Linux wouldn't be worth the ensuing trouble. (Update: Wow, HOLY CRAP. The Linux SDK has been released just one day later - I take back everything I just said, you guys are awesome!)

    Thanks for your implementation jherico, this might do very well for local dev as long as the official SDK is behind.

    Update: I'm running into an error with your linux branch, jherico. I submitted a bug report to your git project.

    For anyone else interested in getting this to run, this is the line I used to build the example:

    gcc SensorBoxTest.cpp -I../../LibOVR/Include -I../../LibOVR/Src ../../LibOVR/Lib/Linux/Debug/libOculus.so ../build/Debug/libCommonSrc.a -o SensorBox -lGL -lpthread -ludev -lboost_thread -lboost_system -lglut
Sign In or Register to comment.