Skip to main content
New Participant
March 25, 2014

Eclipse Setup for Oculus Rift (Win/XOS/Linux)

Hi,

we, our university research team, want to setup a development environment with Eclipse C++. Unfortunately we face a issue at the very first step. The Oculus Rift SDK examples work fine with Visual Studio and Xcode, but we want it more cross-platform. Our idea was to setup Eclipse C++ on Win/XOS & Linux. To be honest, it sucks. From "include" issues until compile error we have the full range on problems.

Have someone experience with oculus rift cross-platform development?

Cheers :)

    3 replies

    Up and Coming
    March 25, 2014
    I have no problems with cross-platform development.
    I have to say I am not using eclipse, i use VS2010 on windows and gedit on linux. And it works well -
    After setting op my libary-paths and includes for every system.

    I had no problems with make on linux. Have you tried to create the eclipse-project from the makefiles?

    Git also solves problems in that direction. You only distribute the code and for example Cmake, and everyone creates the projects etc. for thier os themself.

    Greetings
    Malte
    Camerift - Move your Camera with your Rift! Code: https://github.com/mkalte666/Camerift Videos: http://www.youtube.com/playlist?list=PLJ35QKMYuEYlcxHa4_0V4zK7rMGX_hI4h
    Inspiring
    March 26, 2014
    "loose11" wrote:
    Have someone experience with oculus rift cross-platform development?


    I'm writing cross-platform examples for the Oculus Rift for my book (see the signature for the link). To this end, and in general to support my cross-platform development, I've created a version of the SDK that uses CMake to create project files, rather than relying on the provided project files.

    For Windows I use Visual Studio 2013, for Mac I use XCode, but for Linux I use eclipse project files. All of these are generated by CMake as necessary when running on the relevant platform.

    You can see how to use these libraries in other projects also using CMake in the example code for the book.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Inspiring
    March 26, 2014
    "mkalte666" wrote:
    Have you tried to create the eclipse-project from the makefiles?


    Eclipse's support for making projects from makefiles is wonky at best.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action