[ad_1]
home windows 10
Visible Studio Code 1.86.0 (I even have Visible Studio 2022 v17.7.4)
Intel oneAPI Base Toolkit 2024
icx-cl model: Model 2024.0.2 Construct 20231213
I’m constructing and working the instance in Visible Studio Code. The easy-add SYCL instance labored superb the primary time (cmake, make and working the instance labored), however after re-opening VS Code, I get:
“icx-cl just isn’t a full path and was not discovered within the PATH”
I’ve re-created the simple-add challenge a number of occasions following these steps
Creating a Visible Studio Code Undertaking (intel.com)
and ensuring I set the surroundings variables as instructed (see powershell dump of env vars with “oneapi” in them). I’ve additionally deleted and re-created the ./construct folder.
When working the Ctrl-shift-P command, Visible Studio Code is giving me two choices for env var setup and I’m working the higher one
Then once I run cmake
PS C:junkoneApisimple-add> cd .construct
PS C:junkoneApisimple-addbuild> cmake ..
I get the cmake error output beneath. I observed that it mentioned
CMake output
PS C:junkoneApisimple-add> cd .construct
PS C:junkoneApisimple-addbuild> cmake ..
-- Constructing for: Visible Studio 17 2022
CMake Deprecation Warning at C:/Program Information/CMake/share/cmake-3.27/Modules/CMakeForceCompiler.cmake:89 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. As an alternative simply set
CMAKE_CXX_COMPILER and permit CMake to determine the compiler.
Name Stack (most up-to-date name first):
CMakeLists.txt:8 (CMAKE_FORCE_CXX_COMPILER)
CMake Deprecation Warning at CMakeLists.txt:12 (cmake_minimum_required):
Compatibility with CMake < 3.5 shall be faraway from a future model of
CMake.
Replace the VERSION argument <min> worth or use a ...<max> suffix to inform
CMake that the challenge doesn't want compatibility with older variations.
-- Deciding on Home windows SDK model 10.0.22621.0 to focus on Home windows 10.0.19045.
CMake Error at CMakeLists.txt:14 (challenge):
The CMAKE_CXX_COMPILER:
icx-cl
just isn't a full path and was not discovered within the PATH.
-- Configuring incomplete, errors occurred!
PowerShell surroundings output
PS C:junkoneApisimple-addbuild> dir env: | findstr -I -N oneapi
8:ADVISOR_2024_DIR C:Program Information (x86)InteloneAPIadvisor2024.0
10:APM C:Program Information (x86)InteloneAPIadvisor2024.0perfmodels
13:CLASSPATH C:Program Information (x86)InteloneAPIdallatestsharejavaonedal.jar;
14:CMAKE_PREFIX_PATH C:Program Information (x86)InteloneAPItbblatestenv..;C:Program Information (x86)InteloneAPIipplatestlibcmakeipp;C:...
15:CMPLR_ROOT C:Program Information (x86)InteloneAPIcompilerlatest
23:CPATH C:Program Information (x86)InteloneAPItbblatestenv..embody;C:Program Information (x86)InteloneAPImkllatestinclude;...
26:DALROOT C:Program Information (x86)InteloneAPIdallatest
28:DNNLROOT C:Program Information (x86)InteloneAPIdnnllatestenv..
29:DPL_ROOT C:Program Information (x86)InteloneAPIdpllatest
44:INCLUDE C:Program Information (x86)InteloneAPItbblatestenv..embody;C:Program Information (x86)InteloneAPImkllatestinclude;...
45:INTEL_PYTHONPATH C:Program Information (x86)InteloneAPIadvisor2024.0pythonapi
47:INTELFPGAOCLSDKROOT C:Program Information (x86)InteloneAPIcompilerlatestoptoclfpga
48:INTELGTDEBUGGERROOT C:Program Information (x86)InteloneAPIdebuggerlatestenv..
53:IPPCRYPTOROOT C:Program Information (x86)InteloneAPIippcplatest
54:IPPROOT C:Program Information (x86)InteloneAPIipplatest
56:LIB C:Program Information (x86)InteloneAPItbblatestenv..lib;C:Program Information (x86)InteloneAPImkllatestlib;C:Professional...
58:LIBRARY_PATH C:Program Information (x86)InteloneAPIippcplatestlib;C:Program Information (x86)InteloneAPIipplatestlib;
61:MKLROOT C:Program Information (x86)InteloneAPImkllatest
63:NLSPATH C:Program Information (x86)InteloneAPImkllatestsharelocale1033;
65:OCL_ICD_FILENAMES C:Program Information (x86)InteloneAPIcompilerlatestbinintelocl64_emu.dll;C:Program Information (x86)InteloneAPIcompil...
66:ONEAPI_ROOT C:Program Information (x86)InteloneAPI
73:Path C:Program Information (x86)InteloneAPItbblatestenv..bin;C:Program Information (x86)InteloneAPImkllatestbin;C:Professional...
75:PKG_CONFIG_PATH C:Program Information (x86)InteloneAPItbblatestenv..libpkgconfig;C:Program Information (x86)InteloneAPImkllatestli...
88:PYTHONPATH C:Program Information (x86)InteloneAPIadvisor2024.0pythonapi
94:TBB_BIN_DIR C:Program Information (x86)InteloneAPItbblatestenv..bin
98:TBBROOT C:Program Information (x86)InteloneAPItbblatestenv..
112:VARSDIR C:Program Information (x86)InteloneAPIdpllatestenv
132:VTUNE_PROFILER_2024_DIR C:Program Information (x86)InteloneAPIvtune2024.0
133:VTUNE_PROFILER_DIR C:Program Information (x86)InteloneAPIvtune2024.0
PS C:junkoneApisimple-addbuild> cd ..
Listing: C:junkoneApisimple-add
icx-cl model
PS C:junkoneApisimple-addbuild> icx-cl --version
Intel(R) oneAPI DPC++/C++ Compiler for purposes working on Intel(R) 64, Model 2024.0.2 Construct 20231213
Copyright (C) 1985-2023 Intel Company. All rights reserved.
Intel(R) oneAPI DPC++/C++ Compiler 2024.0.2 (2024.0.2.20231213)
Goal: x86_64-pc-windows-msvc
Thread mannequin: posix
InstalledDir: C:PROGRA~2InteloneAPIcompilerlatestbincompiler
[ad_2]