Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Please provide Executable or Video for Mirror Sample


I am on a DirectX 12 rendering path with Visual Studio 2015. That means setting up the Mirror sample with VisualStudio 2013 is a real pain I rather would not do. However, in order to better understand the Mirror sample I would very much like to have the excecutable available. If that is not possible I guess a video showing the demo would also help a great deal.

As you can see I have no problem downloading the Avatar meshes from Oculus, but still have some questions on how the different API in the AvatarSDK work together. Having a working demo, not only the source code, would be very helpful.

Thank you!


  • lamour42lamour42 Posts: 119
    The cmake stuff just doesn't work for me. Maybe someone has gone through this successfully and could share a proper VisualStudio 2013/2015 project? I would be very thankful.  :(
  • metrocubemetrocube Posts: 55 Oculus Staff
    Hi, @lamour42!  I just rewrote the cmake install steps to add a couple missing options. If Windows gives you security prompts when you double-click generate_projects.cmd, click "Yes".

    Let me know if it still doesn't work for you.
    1. Download and install CMake from https://cmake.org/download and select the option to Add CMake to the system path for all users.
    2. In Windows Explorer, locate the OVRAvatarSDK\Samples folder and double-click generate_projects.cmd.
    3. Wait for the script to finish creating the VS2013 folder and solution.
    4. Open and build the solution: Samples\VS2013\Mirror.sln.
    5. In Visual Studio, right-click Mirror in Solution Explorer and then click Set as Startup Project.
    6. Press F5 to start debugging.
  • user_293619102542778user_293619102542778 Posts: 1
    edited January 2017

  • metrocubemetrocube Posts: 55 Oculus Staff
    If it doesn't work, unzip this VS2013.zip to your OVRAvatarSDK/Samples folder and see if you can run the solution. This is the VS2013 folder the CMake process creates.
  • lamour42lamour42 Posts: 119
    edited January 2017
    Thanks for the help. I got it to work for Visual Studio 2015 by changing generate_projects.cmd to this:

    @cmake -G "Visual Studio 14 2015 Win64" -H. -BVS2013

    My error obviously was to assume cmake would be clever enough to use whatever Visual Studio version it finds on my machine. As I do not have VS2013 the above change was necessary to let cmake work together with VS 2015.
  • HalleFordHalleFord Posts: 3
    I followed the instructions above, and they were extremely helpful.  Still, the project doesn't run in Visual Studio.... I get the following error when I run debug: "Failed to open shader files".  The details from the debug window are below.  Any assistance would be greatly appreciated!

    GetSignatureToken get_signature error: OVR1243567: Missing entitlement for xxx (1971031)

    GetUserID failed: OVRxxx: Must call get_signature first (1971051)

    OAF response error [WindowsPlatform::GetGKValue]: OVRxxx: Must call get_signature first (1971051)

    Failed to fetch FBNS credentials from OAF: OVRxxx: Must call get_signature first (1971051)

    requestOafRoomUpdate response error: OVRxxx: Must call get_signature first (1971051)

    requestOafLaunchDetailsUpdate response error: OVRxxx: Must call get_signature first (1971051)

    Failed to set FBNS credentials: OVRxxx: Must call get_signature first (1971051)

Sign In or Register to comment.