- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I installed Intel parallel studio XE 2020, with the latest patch, version (icl.exe version 19.1.1.216 Build 20200306) on a Windows 10 machine where Visual Studio 2019 is also installed also with the latest updates (cl.exe version 19.25.28611). I use the Windows sdk 10.0.18362.0.
Building our application with VS2019 works fine. However, if i use the Intel compiler i get the following errors:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h(3886): error #1292: unknown attribute "no_init_all"
typedef struct DECLSPEC_ALIGN(16) DECLSPEC_NOINITALL _CONTEXT {
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.25.28610\INCLUDE\xmmintrin.h(61): error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead
typedef long long __m128;
Has anyone already had these errors and know how to solve them ?
Thanks,
Brendan
- Tags:
- CC++
- Development Tools
- General Support
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you provide us the minimal reproducible code snippet so as to verify this issue at our end?
Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry for the delayed response.
Could you confirm if you are able to compile/run a simple C++ problem(just print something) without using winsock2.h header file in your program?
--Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your help. Indeed, i could compile a simple program and i understood what caused the compile error i observed. I did not set the build environment using "C:\Program Files (x86)\IntelSWTools\parallel_studio_xe_2020\bin\psxevars.bat" because i wanted to control the initialization of the environment, but i did not include all the required directories for the header files. When using psxevars.bat intel64 vs2019, the build process works fine.
Best regards,
Brendan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Brendan,
Ideally, setting the environment using bat file is preferred. Since you have figured out the issue, shall we go ahead and mark this thread as closed?
--Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rahul,
Yes, you're right and i changed our build scripts to use the bat file instead of setting the build environment manually.
Yes, we can mark this thread as closed. Thanks for your help,
Best regards,
Brendan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page