Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beekman__Jesse
Beginner
229 Views

invalid definition of __m128; use #include "xmmintrin.h" instead

Hello,

When I try to compile with the Intel compiler I got the error:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xmmintrin.h|56|error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead

If I understand correctly, the error occurs due to 'xmmintrin.h' being part of VC as well as Intel and thus in conflict. I've found the following solution, simply drop the VC include:

https://software.intel.com/en-us/articles/dont-explicitly-search-vc-include-directory-for-include-fi...

But this raises the following catastrophic error: cannot open source file "iostream" (a.k.a. missing fundamental c++ libs?)

What am I missing here?

My compiler search directories:

C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\compiler\include
C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\include
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include

0 Kudos
3 Replies
Viet_H_Intel
Moderator
229 Views

What version of Intel compiler are you using? Make sure it is supported the VS version that you have.

Beekman__Jesse
Beginner
229 Views

Hi, sorry for the late reply,

It is the Intel 18 compiler with VS 2013. I’ve tried Visual Studio 2015 and 2017, without success.

Viet_H_Intel
Moderator
229 Views

Can you try IPSXE 2019 update 5?

Reply