You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message(FATAL_ERROR "Cannot find libnvcuvid, you may need to manually register and download at https://developer.nvidia.com/nvidia-video-codec-sdk. Then copy libnvcuvid to cuda_toolkit_root/lib64/")
163
-
endif()
164
-
165
-
if(NOT NVCODEC_INCLUDE_DIR)
166
-
message(FATAL_ERROR "Cannot find NVIDIA Video Codec SDK headers (cuviddec.h, nvcuvid.h). Please download the NVIDIA Video Codec SDK from https://developer.nvidia.com/nvidia-video-codec-sdk and copy the headers to your CUDA include directory.")
167
-
endif()
168
-
169
-
message(STATUS"Found NVIDIA Video Codec SDK library: ${CUDA_NVCUVID_LIBRARY}")
170
-
message(STATUS"Found NVIDIA Video Codec SDK headers: ${NVCODEC_INCLUDE_DIR}")
171
-
172
-
# Add CUDA Driver API library (needed for cuCtxGetCurrent, etc.)
173
-
find_library(CUDA_DRIVER_LIBRARY
174
-
NAMES cuda
175
-
PATHS
176
-
/usr/local/cuda/lib64
177
-
/usr/local/cuda/lib
178
-
${CUDA_TOOLKIT_ROOT_DIR}/lib64
179
-
${CUDA_TOOLKIT_ROOT_DIR}/lib
180
-
/opt/cuda/lib64
181
-
/opt/cuda/lib
182
-
$ENV{CUDA_PATH}/lib64
183
-
$ENV{CUDA_PATH}/lib
184
-
$ENV{CUDA_HOME}/lib64
185
-
$ENV{CUDA_HOME}/lib
186
-
/usr/lib64
187
-
/usr/lib
188
-
)
189
-
190
-
if(NOT CUDA_DRIVER_LIBRARY)
191
-
message(FATAL_ERROR "Cannot find CUDA Driver API library (libcuda.so)")
0 commit comments