The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Building non-Unity Visual Studio Project for Hololens
Hey!
I've got an exciting project which I think would be really useful for the Hololens.
I've currently got the project working as a Win32 app that I can run from the Powershell. It involves using DLLs provided me by the FBX SDK etc as well as other DLLs. The majority of the project is plain old C++ code. I'm building in Visual Studio 2015 Update 3.
My question is: how do I get this working as a Hololens app? I've done plenty of research on Universal Windows Apps. For instance, I know I can use the Desktop App Converter which can convert an installer for a Desktop app so that the app can be correctly installed on a Universal Windows Device, but what about a simple command line program?
I also know how to build a Hololens app with Unity -- but this app doesn't need all the extras Unity provides. Even if we were to add Unity integration with it later, doesn't the program itself need to be built for Hololens before, for instance, adding it as a plug-in to Unity?
Now I've looked into the Configuration Manager on Visual Studio as well, and the only platforms that it seems I can add are x64 or ARM -- I don't see the x86 option as in the Origami demo.
Concisely: How can I build a command line program in Visual Studio to run on Hololens?
Best Answer
-
OptionsPatrick mod
Hi there! There is no text command shell in HoloLens. Your application has to be built as a Universal application (rather than Win32). When you install the HoloLens emulator you will also install application template that allow you to create a C++ or C# UWP that starts by rendering a spinning cube. That would be your starting point for porting your application.
===
This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.(Daddy, what does 'now formatting drive C:' mean?)
5
Answers
Hi there! There is no text command shell in HoloLens. Your application has to be built as a Universal application (rather than Win32). When you install the HoloLens emulator you will also install application template that allow you to create a C++ or C# UWP that starts by rendering a spinning cube. That would be your starting point for porting your application.
===
This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.
(Daddy, what does 'now formatting drive C:' mean?)