Closed Ghostbird closed 8 years ago
Using the CMake GUI I can see that it correctly sets OCULUS_SDK_INCLUDE_DIRS to OculusSDK\LibOVR\Include, but apparently it can't find (all that) it's looking for there.
What should be the value of OCULUS_SDK_LIBRARIES? It seems to be constructed out of OCULUS_SDK_LIBRARY and OCULUS_SDK_LIBRARY_DEBUG, but if I set those two manually, they get deleted by CMake.
Please note that Oculus ended Linux support with SDK 0.5.0.1 being the last version with Linux support. So you have to use the corresponding tagged version/bransh of osgoculusviewer. The latest versions are windows exclusive.
I'm running windows, as you can see, the paths start with d: I found a way around it. I removed the lines that marked the OCULUS_SDK_LIBRARY and OCULUS_SDK_LIBRARY_DEBUG as advanced, generated a new configuration, then manually set the values to the correct library files, this allowed me to continue.
Oh, sorry about that. I saw the Unix makefile and the .a file endings and assumed that you were compiling on Linux. Are you using MinGW?
Can anyone give a pointer in the right direction? It doesn't seem to detect the OculusSDK.
So far I've been digging through the findOculus cmake file and related files and I've been unable to find out why it cannot find the Oculus SDK.