- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there,
I just upgrade my Visual Studio to latest release 2022, 17.7.0. Then I found I cannot compiler my projects that use Intel oneAPI base toolkit.
I got a warning and an error:
warning:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\modules\std.ixx(34,15): : warning : 'std' is a reserved name for a module [-Wreserved-module-identifier]
2>export module std;
error:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\modules\std.ixx(5,1): : error : missing 'module' declaration at end of global module fragment introduced here
2>module;
My operating system is win11 and Intel oneAPI base toolkit version is 2022.2. (latest). (I selected integrating oneAPI base toolkit to VS2022 during installation)
Could anyone help me with the issue.
Really thanks!
Best
PC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for sharing the details. As we can see that you are using Visual Studio 2022 17.7.0 version, which is not compatible with Intel® oneAPI Base Toolkit.
Kindly refer to the link: https://www.intel.com/content/www/us/en/developer/articles/reference-implementation/intel-compilers-compatibility-with-microsoft-visual-studio-and-xcode.html
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pengju, please share the below information with us:
- OS build on which you are installing the software
- Is the installer an online or an offline package?
- Version of Microsoft Visual Studio installed along with it's build version
- Other versions of Intel® Parallel Studio XE or Intel® oneAPI already installed on the system
- Screenshots of the error screen
- Installation Log files
- The default path for a log file for a oneAPI installation is: C:\Program Files (x86)\Intel\oneAPI\logs
- The default path for a log file for a Parallel Studio XE installation is: %temp%\pset_tmp_PSXE<version>_<username>
We await for your response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, tj0077,
1. my OS Windows 11 Pro, 22H2, OS build: 22621.1992
2. I use online installer for both Visual Studio 2022 professional and Intel oneAPI base toolkit 2023.2.
3. Microsoft Visual Studio 2022 professional, version 17.7.0, build number: 17.7.34003.232
4. I only installed oneABI base toolkit on my system, the version is the latest version (2023.2) downloaded from Intel website.
5. I'm on a business trip and currently cannot provide the screenshots. Anyway, no error messages showed during installation process. However, when I open a VS project (which previously can be built successfully) and build (x64), the output window shows the warning and the error :
warning:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\modules\std.ixx(34,15): : warning : 'std' is a reserved name for a module [-Wreserved-module-identifier]
2>export module std;
error:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.37.32822\modules\std.ixx(5,1): : error : missing 'module' declaration at end of global module fragment introduced here
2>module;
6. please find the attachment
Thanks for your help!
Best
PC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for sharing the details. As we can see that you are using Visual Studio 2022 17.7.0 version, which is not compatible with Intel® oneAPI Base Toolkit.
Kindly refer to the link: https://www.intel.com/content/www/us/en/developer/articles/reference-implementation/intel-compilers-compatibility-with-microsoft-visual-studio-and-xcode.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks tj0077, I can now see it.
May I further ask a question? Do you know how to install VS2022 previous release, e.g. 17.6.4 which is compatible with oneAPI. Each time I use VS online installer and it automatically updates to latest version (17.7.0).
Best,
PC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We would recommend you to contact Microsoft technical support team for Visual Studio related queries. They are the right team to equipped your query in a better way.
Microsoft Support Link: https://visualstudio.microsoft.com/vs/support/
- 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
Pengju, thank you for your confirmation. We are glad that the issue has been resolved.
If you have any further queries, please post a new question as this thread will no longer be monitored by Intel®.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page