<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Intel C++ compiler with Visual Studio CMake project in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599208#M3775</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/238432"&gt;@dkasianov&lt;/a&gt;, so you're trying to open a CMake project in Visual studio, do you mind sharing the CMakeLists.txt file or the steps to reproduce the issue ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In visual studio developer command line, you may need to execute the script,&amp;nbsp;C:\Program Files (x86)\Intel\oneAPI\setvars.bat in order to see Intel compilers.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 23:22:40 GMT</pubDate>
    <dc:creator>yzh_intel</dc:creator>
    <dc:date>2024-05-20T23:22:40Z</dc:date>
    <item>
      <title>Intel C++ compiler with Visual Studio CMake project</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599158#M3771</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have simple CMake project and trying to build it using Intel C++. It is build ok if I use from Intel One API Command Prompt without any issues, but I open this project in visual studio icx-cl is not found. It is explainable because it looks like OneAPI is not integrates compilers into Visual Studio Developer Command Line.&lt;/P&gt;&lt;P&gt;So the question is, does it supported CMake Project in Visual Studio or CMake is supported only from One API Command Prompt?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniil&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 19:32:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599158#M3771</guid>
      <dc:creator>dkasianov</dc:creator>
      <dc:date>2024-05-20T19:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Intel C++ compiler with Visual Studio CMake project</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599180#M3773</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/238432"&gt;@dkasianov&lt;/a&gt;&amp;nbsp;, can you be more specific about the error you saw ?&amp;nbsp; Did you see the error from Visual studio GUI or the command line prompt ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 20:46:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599180#M3773</guid>
      <dc:creator>yzh_intel</dc:creator>
      <dc:date>2024-05-20T20:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Intel C++ compiler with Visual Studio CMake project</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599184#M3774</link>
      <description>&lt;P&gt;It is just a cmake output.&lt;BR /&gt;&lt;BR /&gt;1&amp;gt; [CMake] -- The C compiler identification is unknown&lt;BR /&gt;1&amp;gt; [CMake] -- The CXX compiler identification is unknown&lt;BR /&gt;&lt;BR /&gt;1&amp;gt; [CMake] The CMAKE_C_COMPILER:&lt;BR /&gt;1&amp;gt; [CMake]&lt;BR /&gt;1&amp;gt; [CMake] icx-cl&lt;BR /&gt;1&amp;gt; [CMake]&lt;BR /&gt;1&amp;gt; [CMake] is not a full path and was not found in the PATH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is looks like Visual Studio does not setup environment and doesn't see compilers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And FYI, if I choose Developer PowerShell in Tools-&amp;gt;Command Line, intel's compilers are also not there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 21:06:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599184#M3774</guid>
      <dc:creator>dkasianov</dc:creator>
      <dc:date>2024-05-20T21:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Intel C++ compiler with Visual Studio CMake project</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599208#M3775</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/238432"&gt;@dkasianov&lt;/a&gt;, so you're trying to open a CMake project in Visual studio, do you mind sharing the CMakeLists.txt file or the steps to reproduce the issue ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In visual studio developer command line, you may need to execute the script,&amp;nbsp;C:\Program Files (x86)\Intel\oneAPI\setvars.bat in order to see Intel compilers.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 23:22:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599208#M3775</guid>
      <dc:creator>yzh_intel</dc:creator>
      <dc:date>2024-05-20T23:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Intel C++ compiler with Visual Studio CMake project</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599269#M3776</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, to run for command line I need to run *.bat file, but I expected in visual studio it was by default. But is ok, looks like it is a feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My example is just simple hello world example. I use presets. I commented out all deps. So you should be able to build it using msvc or intel's (from command line). Try it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniil&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 03:54:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599269#M3776</guid>
      <dc:creator>dkasianov</dc:creator>
      <dc:date>2024-05-21T03:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Intel C++ compiler with Visual Studio CMake project</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599497#M3778</link>
      <description>&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found solution this is covered in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/oneapi/programming-guide/2024-1/automate-the-setvars-bat-script-with-visual-studio.html#AUTOMATE-SETVARS-BAT-SCRIPT-WITH-VISUAL-STUDIO" target="_blank"&gt;Automate the setvars.bat Script with Microsoft Visual Studio* (intel.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this article from by googling that, but it would be great to have it inside using Visual Studio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniil&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 18:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-C-compiler-with-Visual-Studio-CMake-project/m-p/1599497#M3778</guid>
      <dc:creator>dkasianov</dc:creator>
      <dc:date>2024-05-21T18:26:26Z</dc:date>
    </item>
  </channel>
</rss>

