Forum Discussion

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

PCVR SDK Does not have PCSDK_Logging.lib

I am trying to run the OculusWorldDemo in Visual Studio 2017. I set the mode to release and I run the program. However I says I am missing PCSDK_Logging.lib;
I read some where that I need to run the PCSDK_Logging Visual Studio project to create this file. However, I cannot even open this because I receive an error that says that it cannot import the common.props file into the common.props file as it results in circular dependency.
I want to manipulate the code in the OculusWorldDemo but I cannot run it from Visual Studio. How do I fix this?

2 Replies

  • Found a temporary solution until we hear back from Oculus: There's a line in ovr_sdk_win_1.x.0/common.props:

    <Import Project="$(MSBuildThisFileDirectory)/.msvc/common.props" Condition="Exists('$(MSBuildThisFileDirectory)/.msvc/common.props')" />
    Add a '!' before the Exists:
    <Import Project="$(MSBuildThisFileDirectory)/.msvc/common.props" Condition="!Exists('$(MSBuildThisFileDirectory)/.msvc/common.props')" />
    After doing this and building both LibOVRKernel and LibOVR, I was able to get OculusDemoWorld to build with Visual Studio 2017. :)