cancel
Showing results for 
Search instead for 
Did you mean: 

Please provide Executable or Video for Mirror Sample

lamour42
Expert Protege
Hi,

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.

vax19xhemlog.jpg

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!
6 REPLIES 6

lamour42
Expert Protege
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.  😞

Anonymous
Not applicable
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.

Anonymous
Not applicable

Anonymous
Not applicable
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.

lamour42
Expert Protege
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.

HalleFord
Honored Guest
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)