From 59a584561deaecec706995b00ab241be06fd6894 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Thu, 6 Nov 2025 09:09:51 -0400 Subject: [PATCH] CMake:livoxGen1: advise on libOpenCL.so ubuntu pkg name --- stimBuffApis/livoxGen1/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stimBuffApis/livoxGen1/CMakeLists.txt b/stimBuffApis/livoxGen1/CMakeLists.txt index bfc777d..e1ad253 100644 --- a/stimBuffApis/livoxGen1/CMakeLists.txt +++ b/stimBuffApis/livoxGen1/CMakeLists.txt @@ -27,7 +27,12 @@ if(ENABLE_STIMBUFFAPI_livoxGen1) # Fall back to pkg-config pkg_check_modules(OPENCL OpenCL) if(NOT OPENCL_FOUND) - message(FATAL_ERROR "Failed to find OpenCL: both find_package and pkg_check_modules failed") + message(FATAL_ERROR + "Failed to find OpenCL: both find_package and " + "pkg_check_modules failed. Try installing the " + "'ocl-icd-opencl-dev' package (or the appropriate " + "OpenCL development package for your system)." + ) endif() message(STATUS "Found OpenCL using pkg-config") endif()