DllNotFoundException: Unable to load DLL MixedRemoteViewCompositor
Hi,
I´ve tried to build MRVC example . When I run the application, I get the following error: DllNotFoundException:Unable to load DLL ´MixedRemoteViewCompositor´: The specified module could not be found. (Exception from HRESULT. 0x8007007E)
Can someone help me to solve this issue? Furthermore, when I press "start capture", shouldn´t I see somewhere in this demo a stream of the Hololens?
Thank you
The mixed remote view compositor should be built first which will copy the dll/lib etc to the necessary location. The viewer can then be built and should work, the current commit works for me. Make sure you have everything consistent in terms of platform/configuration, you should not need to change anything.
In order to view the Hololens camera, you have to run the viewer app on the HoloLens in capture mode (with this minor change). Then you can view it with the viewer in playback mode on the PC. Also, I was only able to successfully deploy the viewer to the Hololens with VS 2017, VS 2015 did not work for me.
I met the same error. I can confirm the dll/lib exist in the output folder. Suspect the error is related to some dependences loading issue of MixedRemoteViewCompositor, still trying to figure out. Anyone has working sample of lowlatencyMRC or other ideas will be great.
Found the cause, need to put dll under WSA to the unity output folder instead of that one in X86. Hope it helps others.
@freistli I am having the same issue. Can you be more specific: What do you mean by "put dll under WSA to the unity output folder instead of the one in X86" Thanks in advance
same here dlls mising from project, where get them?
For those who still have this problem, you have to rebuild the dll for x64, add it to the right folder and set the right platform in the import settings
You can get the source from here: https://github.com/Microsoft/MixedRealityCompanionKit/tree/master/MixedRemoteViewCompositor/Source
@saidbet what are the steps you have taken to rebuild the dll for x64?
VS2017 build tools did not work, so I installed VS2015 with the required additional components to build C++ solutions. The project begins to compile, but throws this error before finishing: C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\ucrt\corecrt.h(10): fatal error C1083: Cannot open include file: 'vcruntime.h': No such file or directory
Any insight or help you can offer would be much appreciated. Let me know if I should post this somewhere more appropriate.
I used VS2017, and didn't encounter any problem. I think your error comes from your Visual Studio installation and not from the source itself. Maybe a component is missing.