Hello everyone.

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.
Options

How to port Apache Thrift to HoloLens

edited September 2017 in Questions And Answers

Hello HoloLens Experts,

I am trying to port Apache Thrift (https://github.com/apache/thrift) to the HoloLens. I got it running inside Unity 3D but if I try to build and deploy the package to the HoloLens I am getting a bunch of errors as some of the used Classes are not available for the HoloLens runtime environment.

I could exclude all the pieces of code inside the Thrift library which cause errors with "_#if UNITY_EDITOR ... _" by hand but it would consume a lot of time as there are so many lines of code affected.

Here is some sample error log:

Assets\Backend\Thrift\src\Transport\THttpClient.cs(28,36): error CS0234: The type or namespace name 'X509Certificates' does not exist in the namespace 'System.Security.Cryptography' (are you missing an assembly reference?)
Assets\Backend\Thrift\src\Transport\TTLSSocket.cs(268,94): error CS0246: The type or namespace name 'X509Chain' could not be found (are you missing a using directive or an assembly reference?)
Assets\Backend\Thrift\src\Transport\TTLSSocket.cs(56,17): error CS0246: The type or namespace name 'SslStream' could not be found (are you missing a using directive or an assembly reference?)

I had similar Issues with MQTT https://github.com/eclipse/paho.mqtt.m2mqtt, but had been able to build a WinRT.dll from source that works for HoloLens.

What's the best way to port Thrift to the Hololens?

Thanks for any help!

Sign In or Register to comment.