Running VisionWorks on Ubuntu 18.04 and cuda 10.1

Hello,

I am trying to install Visionworks 1.6 on a non-Jetson host machine that runs Ubuntu 18.04 and cuda 10.1, but I am having issues during installation. I retrieved the VisionWorks deb file from the most recent NVIDIA SDK manager, and here is the output log:

$ sudo dpkg -i libvisionworks-repo_1.6.0.500n_amd64.deb
Selecting previously unselected package libvisionworks-repo.
(Reading database … 217259 files and directories currently installed.)
Preparing to unpack libvisionworks-repo_1.6.0.500n_amd64.deb …
cd ~/Downloads
Unpacking libvisionworks-repo (1.6.0.500n) …
Setting up libvisionworks-repo (1.6.0.500n) …
Warning: The postinst maintainerscript of the package libvisionworks-repo
Warning: seems to use apt-key (provided by apt) without depending on gnupg or gnupg2.
Warning: This will BREAK in the future and should be fixed by the package maintainer(s).
Note: Check first if apt-key functionality is needed at all - it probably isn’t!
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package libvisionworks-repo)
OK

$ sudo apt update
Get:1 file:/var/cuda-repo-10-1-local-10.1.243-418.87.00 InRelease
Ign:1 file:/var/cuda-repo-10-1-local-10.1.243-418.87.00 InRelease
Get:2 file:/var/nv-tensorrt-repo-cuda10.1-trt6.0.1.5-ga-20190913 InRelease
Ign:2 file:/var/nv-tensorrt-repo-cuda10.1-trt6.0.1.5-ga-20190913 InRelease
Get:3 file:/var/visionworks-repo InRelease
Ign:3 file:/var/visionworks-repo InRelease
Get:4 file:/var/cuda-repo-10-1-local-10.1.243-418.87.00 Release [574 B]
Get:5 file:/var/nv-tensorrt-repo-cuda10.1-trt6.0.1.5-ga-20190913 Release [574 B]
Get:4 file:/var/cuda-repo-10-1-local-10.1.243-418.87.00 Release [574 B]
Get:6 file:/var/visionworks-repo Release [1999 B]
Hit:7 Index of /ubuntu bionic InRelease
Get:8 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Get:5 file:/var/nv-tensorrt-repo-cuda10.1-trt6.0.1.5-ga-20190913 Release [574 B]
Get:6 file:/var/visionworks-repo Release [1999 B]
Get:9 file:/var/visionworks-repo Release.gpg [819 B]
Get:9 file:/var/visionworks-repo Release.gpg [819 B]
Get:10 Index of /ubuntu bionic-backports InRelease [74.6 kB]
Hit:11 Index of /apt// cloud-sdk-bionic InRelease
Hit:12 Index of /ubuntu bionic InRelease
Hit:13 http://packages.ros.org/ros/ubuntu bionic InRelease
Hit:14 Index of /ubuntu bionic-security InRelease
Get:17 file:/var/visionworks-repo Packages [1183 B]
Get:18 Index of /ubuntu bionic-updates/universe amd64 Packages [1035 kB]
Fetched 1198 kB in 1s (1100 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
59 packages can be upgraded. Run ‘apt list --upgradable’ to see them.

$ sudo apt install libvisionworks libvisionworks-dev libvisionworks-samples
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libvisionworks : Depends: cuda-cudart-10-0 but it is not installable
libvisionworks-samples : Depends: cuda-cudart-dev-10-0 but it is not installable or
nvidia-cuda-dev (>= 10.0) but it is not going to be installed
Recommends: cuda-npp-dev-10-0 but it is not installable or
nvidia-cuda-dev (>= 10.0) but it is not going to be installed
Recommends: libopencv-dev (>= 3.3.1) but 3.2.0+dfsg-4ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Is it possible to install VisionWorks with cuda 10.1?

Hi,

The VisionWorks package is built with CUDA 10.0.
SO you will need to install CUDA 10.0 on your host first.

Thanks.