Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
loose11's avatar
loose11
Honored Guest
12 years ago

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

  • 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
  • "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.
  • "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.