<?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: DPCPP clangd language server problem in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPP-clangd-language-server-problem/m-p/1599177#M3772</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/349169"&gt;@yiwenxue&lt;/a&gt;&amp;nbsp;, has your problem been resolved ?&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 20:12:03 GMT</pubDate>
    <dc:creator>yzh_intel</dc:creator>
    <dc:date>2024-05-20T20:12:03Z</dc:date>
    <item>
      <title>DPCPP clangd language server problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPP-clangd-language-server-problem/m-p/1584667#M3566</link>
      <description>&lt;P&gt;Hello brothers, I am new to the SYCL world, and I am suffering a problem with the dev environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a C++ developer on Linux platform. Usually, I use Vscode as the text editor, Cmake as the building system, and clangd as the C++ language server (not MS C++ intelli). I managed all my projects in that manner, and it worked very nicely.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently I got my new A770 card, and installed oneapi-basekit on my Ubuntu desktop (I can use level 0 without any problem). After setting the env variables, I can compile simple projects smoothly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, clangd failed to analyze the headers, you can find the simple example in the attachments.&lt;/P&gt;&lt;P&gt;I found that `&lt;SPAN&gt;CL/__spirv/spirv_ops.hpp&lt;/SPAN&gt;` is 'include/sycl/&lt;SPAN&gt;CL/__spirv/spirv_ops.hpp&lt;/SPAN&gt;'. This error disappeared after adding '${SYCL_INCLUDE_DIR}/sycl' to target include directories, but another problem comes (the third pic).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am wondering how to manage SYCL projects using cmake in the right way. Could someone please give me a hand? Thanks in advance.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Mar 2024 17:27:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPP-clangd-language-server-problem/m-p/1584667#M3566</guid>
      <dc:creator>yiwenxue</dc:creator>
      <dc:date>2024-03-29T17:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: DPCPP clangd language server problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPP-clangd-language-server-problem/m-p/1588564#M3642</link>
      <description>&lt;P&gt;I'm neovim user and using clangd as my language server for c++, but I'm experiencing same problem as you.&lt;/P&gt;&lt;P&gt;I saw a article which says "the clangd built on intel/llvm can parse sycl headers, the others cannot", so I found clangd on /opt/intel/oneapi/compiler/latest/bin/compiler/ and used it but it even stops working while parsing sycl headers!&lt;/P&gt;&lt;P&gt;Can you try to use this version clangd, which is shipped with intel-basetoolkit?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 06:54:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPP-clangd-language-server-problem/m-p/1588564#M3642</guid>
      <dc:creator>jmyl</dc:creator>
      <dc:date>2024-04-12T06:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: DPCPP clangd language server problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPP-clangd-language-server-problem/m-p/1599177#M3772</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/349169"&gt;@yiwenxue&lt;/a&gt;&amp;nbsp;, has your problem been resolved ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 20:12:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPP-clangd-language-server-problem/m-p/1599177#M3772</guid>
      <dc:creator>yzh_intel</dc:creator>
      <dc:date>2024-05-20T20:12:03Z</dc:date>
    </item>
  </channel>
</rss>

