Forum Discussion

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

Exception Throw from ovr_CreateTextureSwapChainGL

Hi,

 i try to use the latest oculus pc sdk in my visual studio project and when i use the ovr_CreateTextureSwapChainGL command it throws an Access violation exception. I follow the tutorial from the oculus site and can't figure out the problem.

Thank you for your time, Ioannis Pavlioudakis 

2 Replies

  • volgaksoy's avatar
    volgaksoy
    Expert Protege
    Hi Pavlioudos. It might be best you check out the OculusRoomTiny GL sample provided as part of the SDK download package. It's mostly contained in the single main.cpp file which should better illustrate the order of SDK calls to get things working.
  • I already did but I will do it again. I have one last question. To build my project I use cmake and the only .lib file that i import is the libOVR.lib . Do i miss anything ? Do i need to import any other .lib file? 

    Thank you