CMake Error at thirdparty/level_zero/level-zero/CMakeLists.txt:224 (add_subdirectory): #33380
Replies: 1 comment
|
@ArthurPeabody From the errors, it doesn't look like CMake is trying to use your system-installed Level Zero. Instead, it's configuring the vendored The failing lines: are all referring to files inside the Level Zero source tree, not an installed Level Zero SDK. That suggests the bundled Level Zero source is incomplete or out of sync rather than CMake failing to find your installed package. :contentReference[oaicite:0]{index=0} A few things I'd check:
Regarding your last question:
From what I can tell, OpenVINO's build system vendors and builds several third-party dependencies from source to ensure a consistent build environment, rather than automatically linking against arbitrary system installations. I couldn't find documentation indicating that an already-installed Level Zero SDK is used in place of the bundled source during a normal OpenVINO build. :contentReference[oaicite:2]{index=2} The outputs of If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
When trying to build openvino I get:
CMake Error at thirdparty/level_zero/level-zero/CMakeLists.txt:225 (add_subdirectory):
add_subdirectory given source "samples" which is not an existing directory.
CMake Error at thirdparty/level_zero/level-zero/CMakeLists.txt:232 (include):
include could not find requested file:
CMake Error at thirdparty/level_zero/level-zero/CMakeLists.txt:233 (get_os_release_info):
Unknown CMake command "get_os_release_info".
-- Configuring incomplete, errors occurred!
source and samples are existing subdirectories. I have built and installed level_zero. Why can't openvino use the one I have installed?
All reactions