Skip to main content
April 24, 2016

Oculus PC SDK 1.3 (Oculus Rift CV1) + GLFW3

Hello all,

I'm trying to port my little-open-source-c-game library to Oculus Rift CV1 and I got some problems when trying to create Oculus window/context with GLFW3. I just get a black screen (desktop mirror texture and in the glasses). It seems that two windows/context are created separately, one by GLFW3 (that I can draw to) and one by Oculus SDK.

This is my C library: www.raylib.com (https://github.com/raysan5/raylib)
This is a simple sample test with GLFW3: https://github.com/raysan5/raylib/tree/develop/examples/oculus_glfw_sample

Please, someone has an Oculus SDK 1.3 + GLFW3 sample (i.e a triangle)?

Many thanks! 

    11 replies

    New Participant
    March 9, 2019
    Hi.

    I tried to run the OculusMinimalExample from jherico on Visual Studio 2017 with the SDK 1.3.3, however I get the following Error (Description: Converting from ‘T’ to ‘int’ requires a narrowing conversion; File: OculusMinimalExample.cpp ; Line: 460) and one Warning (Description: C++ exception handler used, but unwind semantics OculusMinimalExample are not enabled Specify/EHcs ; File: xlocale ; Line: 319).

    How can I solve this problem?

    Many thanks!