question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] MSVC fails to include "arm_neon.h"

See original GitHub issue

Use:

#include <arm_neon.h>

Select ARM64 msvc v19.14 WINE and the compiler fails with this message:

/opt/compiler-explorer/windows/19.14.26423/include/arm_neon.h(17): fatal error C1189: #error:  This header is specific to ARM targets
Internal Compiler Error in Z:\opt\compiler-explorer\windows\19.14.26423\bin\Hostx64\arm64\cl.exe.  You will be prompted to send an error report to Microsoft later.
INTERNAL COMPILER ERROR in 'Z:\opt\compiler-explorer\windows\19.14.26423\bin\Hostx64\arm64\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information

It seems the compiler is too old and broken and needs updating.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
obfuscatedcommented, Dec 10, 2020

There you go: https://godbolt.org/z/aGzv8M I clearly have stated: Select ARM64 msvc v19.14 WINE 😃

0reactions
obfuscatedcommented, Mar 24, 2021

Seems to be working with the latest arm msvc compilers. No need for defines also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

arm_neon.h doens't support ARM64 compiler
When compiling this on ARM64 compiler, the following error occurs. C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\1 4.12.25827\ ...
Read more >
Why is it not working to include arm_neon.h in a ARM64EC ...
Inside a ARM64EC project, including <arm_neon.h> with Visual Studio 2022 will result in a compilation error: In arm_neon.h:21 Error: This ...
Read more >
1428 – Eigen 3.3.3 does not compile on Windows with ...
All entries have been migrated to https://gitlab.com/libeigen/eigen ... And float32x4_t and int32x4_t are defined (in MSVC's arm_neon.h) as: ...
Read more >
gcc - Some certain neon instruction in <arm_neon.h> is not ...
I've tried the code on M1, A53, and A72 and it all works fine. However, Jetson Xavier gives the following warnings and errors:...
Read more >
Issue 539 in webp: ARM64 NEON support for MSVC
It seems Visual Studio 2019 started including a check in arm_neon.h [1] rather ... #include <arm64_neon.h> ... #error This header is specific to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found