Skip to main content
New Participant
October 23, 2018

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

Meta Employee
October 23, 2018
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.
New Participant
October 23, 2018
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