Hi,
We would like to use VPI with python 3.10. We are currently using Jetpack 5.1 since Jetpack 6 is in developer preview. Using the source provided for VPI in JetPack 6, I am trying to build python binding for version 3.10 in JetPack 5, VPI 2.X. While building I get the following error, which is that it is unable to find CUDAToolkit
CMake Error at CMakeLists.txt:115 (find_package):
By not providing "FindCUDAToolkit.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"CUDAToolkit", but CMake did not find one.
Could not find a package configuration file provided by "CUDAToolkit" with
any of the following names:
CUDAToolkitConfig.cmake
cudatoolkit-config.cmake
Add the installation prefix of "CUDAToolkit" to CMAKE_PREFIX_PATH or set
"CUDAToolkit_DIR" to a directory containing one of the above files. If
"CUDAToolkit" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
What I have done so far
- Since I was able to build the bindings successfully on Jetpack 6, I was able to see what the CUDAToolkit_DIR was set to /usr/local/cuda/include. I set this in the CMakelist.txt but still got the same error.
- I also verified that cuda-toolkit was installed
- Current version of cuda is 11.4
Please let me know what additional information is required
Side Note:
There is an error in the CMakelists.txt provided in the /opt/nvidia/vpi3/src/python, line 47: find_package(vpi 2.0 REQUIRED) which should be find_package(vpi 3.0 REQUIRED) since Jetpack 6 is using vpi 3.0