<?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: Error's while trying to build intel one API Sample's in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599607#M3780</link>
    <description>&lt;P&gt;But as I'm using community version i cannot roll back, also i have tried with&amp;nbsp;&lt;SPAN&gt;Visual Studio professional 17.9.2 still I'm encountering the same error&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 04:02:33 GMT</pubDate>
    <dc:creator>Adithya02</dc:creator>
    <dc:date>2024-05-22T04:02:33Z</dc:date>
    <item>
      <title>Error's while trying to build intel one API Sample's</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599408#M3777</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'm trying to build Intel one api sample Base_Vector_Add.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;i'm getting multiple error attached in the picture.&lt;/P&gt;&lt;P&gt;i learnt that this might be due to a conflict between the Intel oneAPI DPC++/C++ Compiler and the Microsoft Visual Studio compiler.&lt;/P&gt;&lt;P&gt;also in intel doc's it has been mentioned that intel oneApi version 2024.1 (which i have installed) is comptable with VS 2022 17.9.2 but I'm using VS 2022 17.9.7 not able to rollback too as it is a community version&lt;/P&gt;&lt;P&gt;how do i fix this or how do i Roll back my Visual studio code.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 May 2024 11:49:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599408#M3777</guid>
      <dc:creator>Adithya02</dc:creator>
      <dc:date>2024-05-21T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error's while trying to build intel one API Sample's</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599537#M3779</link>
      <description>&lt;P&gt;Intel oneAPI Base toolkit currently supports only up to Visual Studio 17.9.2. So maybe you can try to uninstall your Visual Studio and then install the older version?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 23:11:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599537#M3779</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-05-21T23:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error's while trying to build intel one API Sample's</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599607#M3780</link>
      <description>&lt;P&gt;But as I'm using community version i cannot roll back, also i have tried with&amp;nbsp;&lt;SPAN&gt;Visual Studio professional 17.9.2 still I'm encountering the same error&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 04:02:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599607#M3780</guid>
      <dc:creator>Adithya02</dc:creator>
      <dc:date>2024-05-22T04:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error's while trying to build intel one API Sample's</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599883#M3781</link>
      <description>&lt;P&gt;Not sure what you did since you didn't provide a reproducer and the exact commands used, but from your attached picture I assumed you used the&amp;nbsp;&lt;A href="https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C%2B%2BSYCL/DenseLinearAlgebra/vector-add" target="_blank"&gt;https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C%2B%2BSYCL/DenseLinearAlgebra/vector-add&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I gave it a try and it worked perfectly fine. Did you follow the instruction? From the error message you seemed to include some headers twice or link libraries twice, but I can't be really sure without further information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;C:\Users\Downloads\oneAPI-samples-master\oneAPI-samples-master\DirectProgramming\C++SYCL\DenseLinearAlgebra\vector-add\build&amp;gt;cmake -G "NMake Makefiles" ..&lt;BR /&gt;CMake Deprecation Warning at C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeForceCompiler.cmake:89 (message):&lt;BR /&gt;The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set&lt;BR /&gt;CMAKE_CXX_COMPILER and allow CMake to identify the compiler.&lt;BR /&gt;Call Stack (most recent call first):&lt;BR /&gt;CMakeLists.txt:8 (CMAKE_FORCE_CXX_COMPILER)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;CMake Deprecation Warning at CMakeLists.txt:12 (cmake_minimum_required):&lt;BR /&gt;Compatibility with CMake &amp;lt; 3.5 will be removed from a future version of&lt;BR /&gt;CMake.&lt;/P&gt;
&lt;P&gt;Update the VERSION argument &amp;lt;min&amp;gt; value or use a ...&amp;lt;max&amp;gt; suffix to tell&lt;BR /&gt;CMake that the project does not need compatibility with older versions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-- FPGA_DEVICE was not specified.&lt;BR /&gt;Configuring the design to target the default FPGA family (Intel Agilex® 7).&lt;BR /&gt;Please refer to the README for information on board selection.&lt;BR /&gt;-- Configuring done (0.3s)&lt;BR /&gt;-- Generating done (0.1s)&lt;BR /&gt;-- Build files have been written to: C:/Users/ayu1/Downloads/oneAPI-samples-master/oneAPI-samples-master/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add/build&lt;/P&gt;
&lt;P&gt;C:\UsersDownloads\oneAPI-samples-master\oneAPI-samples-master\DirectProgramming\C++SYCL\DenseLinearAlgebra\vector-add\build&amp;gt;nmake cpu-gpu&lt;/P&gt;
&lt;P&gt;Microsoft (R) Program Maintenance Utility Version 14.39.33523.0&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;[ 50%] Building CXX object src/CMakeFiles/vector-add-buffers.dir/vector-add-buffers.cpp.obj&lt;BR /&gt;Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.1.0 Build 20240308&lt;BR /&gt;Copyright (C) 1985-2024 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;[100%] Linking CXX executable ..\vector-add-buffers.exe&lt;BR /&gt;Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.1.0 Build 20240308&lt;BR /&gt;Copyright (C) 1985-2024 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[100%] Built target vector-add-buffers&lt;BR /&gt;[100%] Built target cpu-gpu&lt;/P&gt;
&lt;P&gt;C:\Users\Downloads\oneAPI-samples-master\oneAPI-samples-master\DirectProgramming\C++SYCL\DenseLinearAlgebra\vector-add\build&amp;gt;dir&lt;BR /&gt;Volume in drive C is IntelBuild&lt;BR /&gt;Volume Serial Number is D848-CB49&lt;/P&gt;
&lt;P&gt;Directory of C:\Users\Downloads\oneAPI-samples-master\oneAPI-samples-master\DirectProgramming\C++SYCL\DenseLinearAlgebra\vector-add\build&lt;/P&gt;
&lt;P&gt;05/22/2024 12:27 PM &amp;lt;DIR&amp;gt; .&lt;BR /&gt;05/22/2024 12:22 PM &amp;lt;DIR&amp;gt; ..&lt;BR /&gt;05/22/2024 12:25 PM 13,244 CMakeCache.txt&lt;BR /&gt;05/22/2024 12:27 PM &amp;lt;DIR&amp;gt; CMakeFiles&lt;BR /&gt;05/22/2024 12:25 PM 2,030 cmake_install.cmake&lt;BR /&gt;05/22/2024 12:25 PM 10,685 Makefile&lt;BR /&gt;05/22/2024 12:25 PM &amp;lt;DIR&amp;gt; src&lt;BR /&gt;05/22/2024 12:27 PM 120,832 vector-add-buffers.exe&lt;BR /&gt;4 File(s) 146,791 bytes&lt;BR /&gt;4 Dir(s) 548,056,064,000 bytes free&lt;/P&gt;
&lt;P&gt;C:\Users\Downloads\oneAPI-samples-master\oneAPI-samples-master\DirectProgramming\C++SYCL\DenseLinearAlgebra\vector-add\build&amp;gt;vector-add-buffers.exe&lt;BR /&gt;Running on device: Intel(R) HD Graphics 630&lt;BR /&gt;Vector size: 10000&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:34:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Error-s-while-trying-to-build-intel-one-API-Sample-s/m-p/1599883#M3781</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-05-22T19:34:57Z</dc:date>
    </item>
  </channel>
</rss>

