Skip to main content
New Participant
May 18, 2017

Cannot compile OculusRoomTiny (or any other sample project from the Oculus SDK)

Hi all

First-time Oculus user and developer-wannabe here.

I downloaded the latest Oculus SDK and I am trying to compile the OculusRoomTiny (GL) sample project using Visual Studio Basic 2017. The actual project file that I opened is located at C:\..\OculusSDK\Samples\OculusRoomTiny\OculusRoomTiny (GL)\Projects\Windows\VS2015

I get the following linker error:
Error LNK1104 cannot open file 'C:\...\OculusSDK\LibOVR/Lib/Windows/Win32/Debug/VS2015/LibOVR.lib'

Any help would be greatly appreciated.

2 replies

Inspiring
May 18, 2017
Moving to the developer section.
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
New Participant
June 19, 2017


@kkape

Hi, I was able to get this to compile and run in visual studio 2015 by simply changing the configuration to active (release) and active (x64). It built successfully after that. I have attached an image demonstrating the changes.


Hi, I also tried running OculusRoomTiny in Visual Studio 2012 (in the appropriate directory) but even after implementing your solution, the project doesn't run, giving me "Failed to initialize libOVR." The build was successful.

As I am new to Visual Studio and the SDK, I followed instructions in this post, so I first built libOVR, then OculusRoomTiny. Even when I have both solutions opened in a project, I either get the above error or a simple "Unable to start program [directory]" depending on which solution is selected as the Startup project.

Do you have any advice as to what I could do? I would appreciate any help.