Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem building and deploying the different solution files #41

Closed
kovande opened this issue Oct 14, 2020 · 9 comments
Closed

Problem building and deploying the different solution files #41

kovande opened this issue Oct 14, 2020 · 9 comments
Labels
question Further information is requested

Comments

@kovande
Copy link

kovande commented Oct 14, 2020

Hi,
I have some errors building and deploying the different solution files. One error is instructing to reinstall Windows, but I first want to verify whether you have other suggestions? Thank you in advance for your advice.
Best regards,
kv

CameraWithCVAndCalibration.sln

Following error occurred during building:

image

This error refers to the following error code: LNK1107
https://docs.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1107?f1url=%3FappId%3DDev16IDEF1%26l%3DEN-US%26k%3Dk(LNK1107)%26rd%3Dtrue&view=vs-2019
I thought it might be related to the use of OpenCV.

SensorVisualization.sln
Building succeeded

During Deploy the following error message occurred:

‘Unable to activate Windows Store app ‘…SensorVisualization’.
A Microsoft Windows component is not correctly registered. If the problem persists, try repairing your Windows installation, or reinstalling Windows.
image

StreamRecorder.sln
Building succeeded
During Deploy the same error as for SensorVisualization.sln occurred.

image

@dorinung
Copy link
Contributor

The first OpenCV issue can probably be fixed by using git-lfs. See https://git-lfs.github.com/. Not sure about the other two. Do you have developer mode enabled on the device?

@dorinung dorinung added the question Further information is requested label Oct 16, 2020
@kovande
Copy link
Author

kovande commented Oct 16, 2020

Yes, I thought that too, but unfortunately that didn't solve the problem. Developer mode is enabled.

@maguileracanon
Copy link

I am having the same issues with SensorVisualization and StreamRecorder. I repaired VS just to be sure, I know I have developer mode / recording mode enabled and already installed the latest OS build from the insiders program.

@dorinung
Copy link
Contributor

What version of the OS is installed on your Hololens?

@dorinung
Copy link
Contributor

To make sure VS is properly configured could you please try building and running the DirectX 11 holographic UWP app template. Instructions are at: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/native/creating-a-holographic-directx-project .

@kovande
Copy link
Author

kovande commented Oct 16, 2020

OS build is 10.0.1941.1117, is that ok?
I also have the following errors, when building the DirectX 11 holographic UWP app:
image

Should I configure VS differently now?

@maguileracanon
Copy link

image
Yes, same with me, and I am using 19041.1388

@maguileracanon
Copy link

@mastericoon I think I managed to solve this. I hope my solution works for you. First I swiched to the Beta Channel of the developers insider program. Then I could see the "Research Mode" in the developers portal. I thought that Reording Mode was the same as Research Mode in Hololens2. (They are easy to confuse given the pictures available in the tutorial, also I read they were the same in the HoloDevelopers Slack group).
After finally seeing an option to enable Research Mode I was able to run the SensorVisualization and StreamRecorder apps. I hope this helps! :D

@kovande
Copy link
Author

kovande commented Oct 19, 2020

Ok, thanks. Indeed, confusing that 'Recording Mode' and 'Research Mode' look so similar. I also was confused by this.
I also just saw that I need to use at least build 1356 as explained in the tutorial:
'Research Mode for HoloLens 2 is available beginning with build 19041.1356. If you need access in an earlier build, sign up for our Insider Preview program.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants