MixedRealityToolkit icon indicating copy to clipboard operation
MixedRealityToolkit copied to clipboard

SpatialUnderstanding fails to build for ARM

Open jwittner opened this issue 9 years ago • 4 comments

I get these build errors:

HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(15): error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(16): error C2065: 'fld': undeclared identifier
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(16): error C2146: syntax error: missing ';' before identifier 'n'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(16): error C2143: syntax error: missing ';' before '__asm'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(16): error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(17): error C2065: 'fsqrt': undeclared identifier
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(17): error C2143: syntax error: missing ';' before '__asm'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(17): error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(18): error C2065: 'fstp': undeclared identifier
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(18): error C2146: syntax error: missing ';' before identifier 'result'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(18): error C2143: syntax error: missing ';' before 'return'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(84): error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(84): error C2065: 'fld': undeclared identifier
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(84): error C2146: syntax error: missing ';' before identifier 'a'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(85): error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(85): error C2065: 'fistp': undeclared identifier
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlinePc_Z.h(85): error C2146: syntax error: missing ';' before identifier 'b'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlineEngine_Z.h(20): error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlineEngine_Z.h(20): error C2065: 'fld': undeclared identifier
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlineEngine_Z.h(20): error C2146: syntax error: missing ';' before identifier 'a'
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlineEngine_Z.h(21): error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlineEngine_Z.h(21): error C2065: 'fistp': undeclared identifier
HoloToolkit\SpatialUnderstanding\Src\Engine\MathInlineEngine_Z.h(21): error C2146: syntax error: missing ';' before identifier 'b'

jwittner avatar Sep 22 '16 20:09 jwittner

@jevertt As a UWP app it makes me want ARM support. Thoughts?

jwittner avatar Sep 22 '16 21:09 jwittner

It should be do-able. Some of these platform optimized routines would need to be extended. Love to see it heading that way.

jevertt avatar Sep 23 '16 15:09 jevertt

So maybe some less optimized routines for the other platforms as a starting point?

jwittner avatar Sep 23 '16 20:09 jwittner

Yes, that's what I was thinking as well.

jevertt avatar Sep 23 '16 20:09 jevertt