Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
726 Discussions

No /MT option in Runtime Library field in VC2022 with Intel OneAPI DPC++ compiler 2023

barry-waves
Novice
1,853 Views

Hi,

After selecting intel oneAPI DPC++ Compiler 2023 (version is 2023.2) in Platform Toolset in VC2022, there is no "Multi-threaded (/MT)" option in Configuration Properties -> DPC++ -> Code Generation-> Runtime Library.

But it seems that it should support /MT option. Could you please give some advice to have /MT option? Thanks.

https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2023-2/linking-with-compiler-run-time-libraries.html

 

https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-0/mt.html

 

Best regards

Barry

Labels (2)
0 Kudos
4 Replies
SeshaP_Intel
Moderator
1,775 Views

Hi,


Thank you for posting in Intel Communities.


Intel oneAPI DPC++ Compiler will not support /MT option. Hence, We cannot add the /MT option with the DPC++ project as it is not supported in the DPC++ toolchain, which means static library could not be supported.

But you can use "Intel C++ Compiler 2023" for the /MT option for the C++ Project.


Please refer to the Note in the below link.

https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-2/mt.html


Please let us know if you have any issues.


Thanks and Regards,

Pendyala Sesha Srinivas


0 Kudos
barry-waves
Novice
1,726 Views
0 Kudos
SeshaP_Intel
Moderator
1,699 Views

Hi,


>> Thank you for elaborating.

As your issue was resolved, could you please confirm whether we can close this thread from our end?


Thanks and Regards,

Pendyala Sesha Srinivas


0 Kudos
SeshaP_Intel
Moderator
1,645 Views

Hi,


As your issue was resolved, I am going ahead and closing this case. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks and Regards,

Pendyala Sesha Srinivas


0 Kudos
Reply