Skip to content

Fix compile on windows 64 bit arm architecture#4212

Merged
erwincoumans merged 1 commit intobulletphysics:masterfrom
bwrsandman:patch-1
Mar 26, 2022
Merged

Fix compile on windows 64 bit arm architecture#4212
erwincoumans merged 1 commit intobulletphysics:masterfrom
bwrsandman:patch-1

Conversation

@bwrsandman
Copy link
Contributor

When building 64 bit arm with visual studio, btScalar will try to include SSE headers meant for x86 and x64 architectures.
This gives the following error in many source files:

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\emmintrin.h(20): fatal error C1189: #error:  This header is specific to X86 and X64 targets

When building 64 bit arm with visual studio, btScalar will try to include SSE headers meant for x86 and x64 architectures.
This gives the following error in many source files:
```
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\emmintrin.h(20): fatal error C1189: #error:  This header is specific to X86 and X64 targets
```
@erwincoumans erwincoumans merged commit b9117c7 into bulletphysics:master Mar 26, 2022
@bwrsandman bwrsandman deleted the patch-1 branch March 27, 2022 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants