MixedRealityCompanionKit icon indicating copy to clipboard operation
MixedRealityCompanionKit copied to clipboard

Project can't be build

Open RickdeGier opened this issue 7 years ago • 8 comments

Severity Code Description Project File Line Suppression State I get this error when opening de UWP application: Warning The referenced component 'MixedRemoteViewCompositor' could not be found. Viewer

But the file is visible in the solution explorer and the ReadMe instructions are not help either.

RickdeGier avatar Jun 21 '18 10:06 RickdeGier

Is this when opening the MixedRemoteViewCompositor solution? I'm able to open it and build on my machine.

image

When I opened the solution in VS 2017, it asked me to upgrade the toolset, since I don't have v140 installed. It upgraded to v141 (I left the SDK alone), and everything worked.

keveleigh avatar Jun 21 '18 19:06 keveleigh

When I open a freshly installed project it asks indeed to update the build tool to v141. When Visual Studio is ready with opening project and updating build tool to v141 I rebuild the solution then I get those errors.

image

It looks like WSA is not even set to v141 and that Win32 as errors after updating.

edit: When manually editing the build tool to v141 afterwards the WSA is giving the same errors as Win32 does.

image

RickdeGier avatar Jun 22 '18 07:06 RickdeGier

Is someone able to help here?

RickdeGier avatar Jun 25 '18 09:06 RickdeGier

I'm unable to repro this at all. Looking at the error list, it seems like something might have been removed from the code (missing characters and unexpected end-of-file).

Have you tried pulling a completely fresh copy, updating the projects to v141, and building that?

keveleigh avatar Jun 29 '18 20:06 keveleigh

I am getting pretty much the same errors as @RickdeGier, when I try to build.

Using Windows Fall Creator's Update, VS2017 and Win SDK versions 14393 and 16299, I tried all variations of opening a fresh project. Updating the build tools to v141, not updating, retargeting to SDK version to 14393, etc. Always getting a variation of the redefinition error. Might this be due to my SDK versions being to high? I tried installing the lower version 10586, but it gives me an error when opening the sdksetup.exe

sdkerror

Windows Software Development Kit - Windows 10.0.10586.212 You must uninstall the Windows Software Development Kit - Windows 10.0.10586.212 before you can install the latest version of the kit.

Any ideas would be well appreciated.

utzy avatar Jul 06 '18 12:07 utzy

I'm having similar problems, help would be appreciated

benzben avatar Nov 08 '18 12:11 benzben

I was able to build using VS 17 using tools 141 and SDK 10586.

benzben avatar Nov 15 '18 11:11 benzben

This problem is related to #297. For now, SDK 10586 is the only supported one. Upgrading to 14xxx or later will cause compilation errors.

danilogr avatar Jun 20 '19 16:06 danilogr