#include <intrin.h>
The above will report:
intrin.h: No such file or directory
Which seems to be a MSVC header file,but I'm using eclipse cdt,how can I make it available?Is there some libraries needed?
cdt uses MinGW for compiling,but there is no intrin.h
:
D:\Tools\MinGW\lib\gcc\mingw32\3.4.5\include>dir *intrin.h
2006-01-17 21:47 34,528 emmintrin.h
2006-01-17 21:47 22,281 mmintrin.h
2006-01-17 21:47 3,586 pmmintrin.h
2006-01-17 21:47 30,925 xmmintrin.h
Is there anyone can help?
I have same problem. using eclipse + cdt + mingw32-gcc7.2 + glm (openGL math libraty)
I replace #include <intrin.h>
with #include <x86intrin.h>
add flag to gcc -msse2 and all worked.