[Solved] VisionWork 1.6 (Jetpack 4.2.1) on the ubuntu 18.04 host

Dear all,

In my ubuntu 18.04 host already install opencv 4.1.0, that is conflict with SDK Manager 0.9.13.473 that want to install opencv 3.3.1.

How to install VisionWork 1.6 (Jetpack 4.2.1) manually on the ubuntu host?

Thank you very much in advance.

Warmest Regards,
Suryadi

Hi,

YES.You can find the visiowworks package in the download folder.
It’s usually located at ${HOME}/Downloads/nvidia/sdkm_downloads/.

Then manually install it with the following commands:

$ sudo add-apt-repository universe
$ sudo dpkg -i libvisionworks-repo_<visworks_ver>_<architecture>.deb
$ sudo apt-get update
$ sudo apt-get install libvisionworks libvisionworks-dev \
  libvisionworks-samples libvisionworks-docs

Thanks.

$ cd ~/Downloads/nvidia/sdkm_downloads/
$ sudo dpkg -i libvisionworks-repo_1.6.0.500n_amd64.deb 
$ sudo apt-get update
$ sudo apt-get install libvisionworks libvisionworks-dev \
   libvisionworks-samples libvisionworks-docs

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libvisionworks-docs

$ sudo apt-get install libvisionworks libvisionworks-dev libvisionworks-samples

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpvm3 libreadline-dev linux-image-4.18.0-25-generic linux-modules-4.18.0-25-generic linux-modules-extra-4.18.0-25-generic pvm
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgles2-mesa-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev liborc-0.4-dev liborc-0.4-dev-bin
Suggested packages:
  gstreamer1.0-doc liborc-0.4-doc
Recommended packages:
  libopencv-dev
The following NEW packages will be installed:
  libgles2-mesa-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev liborc-0.4-dev liborc-0.4-dev-bin libvisionworks
  libvisionworks-dev libvisionworks-samples
0 upgraded, 8 newly installed, 0 to remove and 29 not upgraded.
Need to get 1.102 kB/67,9 MB of archives.
After this operation, 133 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 file:/var/visionworks-repo  libvisionworks 1.6.0.500n [12,3 MB]
Get:2 file:/var/visionworks-repo  libvisionworks-dev 1.6.0.500n [154 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgles2-mesa-dev amd64 19.0.8-0ubuntu0~18.04.1 [43,4 kB]
Get:4 file:/var/visionworks-repo  libvisionworks-samples 1.6.0.500n [54,4 MB]
Get:5 http://id.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer1.0-dev amd64 1.14.5-0ubuntu1~18.04.1 [398 kB]
Get:6 http://id.archive.ubuntu.com/ubuntu bionic/main amd64 liborc-0.4-dev-bin amd64 1:0.4.28-1 [175 kB]
Get:7 http://id.archive.ubuntu.com/ubuntu bionic/main amd64 liborc-0.4-dev amd64 1:0.4.28-1 [174 kB]
Get:8 http://id.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer-plugins-base1.0-dev amd64 1.14.5-0ubuntu1~18.04.1 [312 kB]
Fetched 1.102 kB in 5s (207 kB/s)                         
Selecting previously unselected package libgles2-mesa-dev:amd64.
(Reading database ... 350315 files and directories currently installed.)
Preparing to unpack .../0-libgles2-mesa-dev_19.0.8-0ubuntu0~18.04.1_amd64.deb ...
Unpacking libgles2-mesa-dev:amd64 (19.0.8-0ubuntu0~18.04.1) ...
Selecting previously unselected package libgstreamer1.0-dev:amd64.
Preparing to unpack .../1-libgstreamer1.0-dev_1.14.5-0ubuntu1~18.04.1_amd64.deb ...
Adding 'diversion of /usr/bin/dh_gstscancodecs to /usr/bin/dh_gstscancodecs-gst0.10 by libgstreamer1.0-dev'
Adding 'diversion of /usr/share/man/man1/dh_gstscancodecs.1.gz to /usr/share/man/man1/dh_gstscancodecs.1.gz-gst0.10 by libgstreamer1.0-dev'
Unpacking libgstreamer1.0-dev:amd64 (1.14.5-0ubuntu1~18.04.1) ...
Selecting previously unselected package liborc-0.4-dev-bin.
Preparing to unpack .../2-liborc-0.4-dev-bin_1%3a0.4.28-1_amd64.deb ...
Unpacking liborc-0.4-dev-bin (1:0.4.28-1) ...
Selecting previously unselected package liborc-0.4-dev.
Preparing to unpack .../3-liborc-0.4-dev_1%3a0.4.28-1_amd64.deb ...
Unpacking liborc-0.4-dev (1:0.4.28-1) ...
Selecting previously unselected package libgstreamer-plugins-base1.0-dev:amd64.
Preparing to unpack .../4-libgstreamer-plugins-base1.0-dev_1.14.5-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libgstreamer-plugins-base1.0-dev:amd64 (1.14.5-0ubuntu1~18.04.1) ...
Selecting previously unselected package libvisionworks.
Preparing to unpack .../5-libvisionworks_1.6.0.500n_amd64.deb ...
Unpacking libvisionworks (1.6.0.500n) ...
Selecting previously unselected package libvisionworks-dev.
Preparing to unpack .../6-libvisionworks-dev_1.6.0.500n_all.deb ...
Unpacking libvisionworks-dev (1.6.0.500n) ...
Selecting previously unselected package libvisionworks-samples.
Preparing to unpack .../7-libvisionworks-samples_1.6.0.500n_amd64.deb ...
Unpacking libvisionworks-samples (1.6.0.500n) ...
Setting up libgles2-mesa-dev:amd64 (19.0.8-0ubuntu0~18.04.1) ...
Setting up liborc-0.4-dev-bin (1:0.4.28-1) ...
Setting up liborc-0.4-dev (1:0.4.28-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libvisionworks (1.6.0.500n) ...
Setting up libgstreamer1.0-dev:amd64 (1.14.5-0ubuntu1~18.04.1) ...
Setting up libvisionworks-dev (1.6.0.500n) ...
Setting up libgstreamer-plugins-base1.0-dev:amd64 (1.14.5-0ubuntu1~18.04.1) ...
Setting up libvisionworks-samples (1.6.0.500n) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

Where is the visionworks installed? I can not find at /usr/lib/visionworks?

$ /usr/share/visionworks/sources/install-samples.sh ~/
$ cd ~/VisionWorks-<visworks_ver>-Samples/
$ make -j4

Errors:

make[1]: Entering directory '/home/suryadi/VisionWorks-1.6-Samples/nvxio'
mkdir -p obj/release
mkdir -p ../libs/x86_64/linux/release
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/ipp_raw.o -c src/NVX/FrameSource/NvMedia/OV10640/ipp_raw.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/img_producer.o -c src/NVX/FrameSource/NvMedia/OV10640/img_producer.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/eglstrm_setup.o -c src/NVX/FrameSource/NvMedia/OV10640/eglstrm_setup.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/interop.o -c src/NVX/FrameSource/NvMedia/OV10640/interop.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/ipp_component.o -c src/NVX/FrameSource/NvMedia/OV10640/ipp_component.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/ImageCapture.o -c src/NVX/FrameSource/NvMedia/OV10635/ImageCapture.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/NvMediaVideoFrameSourceImpl.o -c src/NVX/FrameSource/NvMedia/NvMediaVideoFrameSourceImpl.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/NvMediaCSI10635CameraFrameSourceImpl.o -c src/NVX/FrameSource/NvMedia/NvMediaCSI10635CameraFrameSourceImpl.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/NvMediaCSI10640CameraFrameSourceImpl.o -c src/NVX/FrameSource/NvMedia/NvMediaCSI10640CameraFrameSourceImpl.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/OpenCVVideoFrameSource.o -c src/NVX/FrameSource/OpenCV/OpenCVVideoFrameSource.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/OpenCVImageFrameSource.o -c src/NVX/FrameSource/OpenCV/OpenCVImageFrameSource.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/OpenCVFrameSourceImpl.o -c src/NVX/FrameSource/OpenCV/OpenCVFrameSourceImpl.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/FrameSourceWrapper.o -c src/NVX/FrameSource/Wrappers/FrameSourceWrapper.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/GStreamerVideoFrameSourceImpl.o -c src/NVX/FrameSource/GStreamer/GStreamerVideoFrameSourceImpl.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/GStreamerBaseFrameSourceImpl.o -c src/NVX/FrameSource/GStreamer/GStreamerBaseFrameSourceImpl.cpp
/media/suryadi/DATA/anaconda3/envs/keras/bin/x86_64-conda_cos6-linux-gnu-c++  -Iinclude -Isrc/ -Isrc/NVX/ -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1  -DUSE_GSTREAMER=1 -I./include  -I../3rdparty/opengl -I../3rdparty/freetype/include -I../3rdparty/glfw3/include  -I../3rdparty/opengl -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/cuda-10.0/include -I/home/dawid/code/build-visionworks/install/include -I../3rdparty/eigen -O3 -DNDEBUG -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -std=c++0x -o obj/release/GStreamerCameraFrameSourceImpl.o -c src/NVX/FrameSource/GStreamer/GStreamerCameraFrameSourceImpl.cpp
In file included from src/NVX/FrameSource/Wrappers/FrameSourceWrapper.hpp:34:0,
                 from src/NVX/FrameSource/Wrappers/FrameSourceWrapper.cpp:29:
include/NVX/FrameSource.hpp:35:10: fatal error: NVX/nvxcu.h: No such file or directory
 #include <NVX/nvxcu.h>
          ^~~~~~~~~~~~~
compilation terminated.
src/NVX/FrameSource/GStreamer/GStreamerBaseFrameSourceImpl.cpp:33:10: fatal error: VX/vx.h: No such file or directory
 #include <VX/vx.h>
          ^~~~~~~~~
compilation terminated.
Makefile:188: recipe for target 'obj/release/FrameSourceWrapper.o' failed
make[1]: *** [obj/release/FrameSourceWrapper.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:188: recipe for target 'obj/release/GStreamerBaseFrameSourceImpl.o' failed
make[1]: *** [obj/release/GStreamerBaseFrameSourceImpl.o] Error 1
In file included from src/NVX/FrameSource/FrameSourceImpl.hpp:35:0,
                 from src/NVX/FrameSource/GStreamer/GStreamerBaseFrameSourceImpl.hpp:34,
                 from src/NVX/FrameSource/GStreamer/GStreamerCameraFrameSourceImpl.hpp:34,
                 from src/NVX/FrameSource/GStreamer/GStreamerCameraFrameSourceImpl.cpp:31:
src/NVX/Private/Types.hpp:35:10: fatal error: NVX/nvxcu.h: No such file or directory
 #include <NVX/nvxcu.h>
          ^~~~~~~~~~~~~
compilation terminated.
Makefile:188: recipe for target 'obj/release/GStreamerCameraFrameSourceImpl.o' failed
make[1]: *** [obj/release/GStreamerCameraFrameSourceImpl.o] Error 1
In file included from src/NVX/FrameSource/FrameSourceImpl.hpp:35:0,
                 from src/NVX/FrameSource/GStreamer/GStreamerBaseFrameSourceImpl.hpp:34,
                 from src/NVX/FrameSource/GStreamer/GStreamerVideoFrameSourceImpl.hpp:34,
                 from src/NVX/FrameSource/GStreamer/GStreamerVideoFrameSourceImpl.cpp:34:
src/NVX/Private/Types.hpp:35:10: fatal error: NVX/nvxcu.h: No such file or directory
 #include <NVX/nvxcu.h>
          ^~~~~~~~~~~~~
compilation terminated.
Makefile:188: recipe for target 'obj/release/GStreamerVideoFrameSourceImpl.o' failed
make[1]: *** [obj/release/GStreamerVideoFrameSourceImpl.o] Error 1
make[1]: Leaving directory '/home/suryadi/VisionWorks-1.6-Samples/nvxio'
Makefile:43: recipe for target 'nvxio_build' failed
make: *** [nvxio_build] Error 2

$ apt-key list --fingerprint visionworks-builder

pub   rsa4096 2016-09-19 [SC]
      0AC7 A32E E5FB 08D0 072B  C8D4 1A2E 4274 AC7A 8482
uid           [ unknown] visionworks-builder <visionworks-builder@nvidia.com>
sub   rsa4096 2016-09-19 [E]
      3B60 F2C2 DA89 5F88 E7FB  7C63 1C8E 7A1F FB40 54C2

I use ubuntu 18.04. Please help. Thank you.

Suryadi

Hi,

Sorry for the late update.

In our environment, the VisionWorks library can be found in the /usr/lib/ folder.
And we can compile the sample code successfully with following command:

$ /usr/share/visionworks/sources/install-samples.sh .
$ cd VisionWorks-1.6-Samples/
$ make

Would you mind to check it again?

Thanks.

Dear AastaLLL,

$ cd /usr/share
$ sudo chown -Rf suryadi.suryadi visionworks
$ cd visionworks/sources
$ ./install-sample.sh .
$ cd VisionWorks-1.6-Samples
$ make

$ cd bin/x86_64/linux/release
$ suryadi@xtal:/usr/share/visionworks/sources/VisionWorks-1.6-Samples/bin/x86_64/linux/release$ ls
nvx_demo_feature_tracker        nvx_demo_motion_estimation  nvx_sample_object_tracker_nvxcu  nvx_sample_player
nvx_demo_feature_tracker_nvxcu  nvx_demo_stereo_matching    nvx_sample_opencv_npp_interop
nvx_demo_hough_transform        nvx_demo_video_stabilizer   nvx_sample_opengl_interop

It works! Thank you very much for your direction.

Warmest Regards,
Suryadi

I have a similar issue, and the above does not solve it. I am unable to install visionworks 1.6 on the host.

devinem@quark sdkm_downloads> sudo dpkg -i libvisionworks-repo_1.6.0.500n_amd64.deb 
(Reading database ... 311613 files and directories currently installed.)
Preparing to unpack libvisionworks-repo_1.6.0.500n_amd64.deb ...
Unpacking libvisionworks-repo (1.6.0.500n) over (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
devinem@quark sdkm_downloads> sudo apt-get 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/cuda-repo-10-1-local-10.1.243-418.87.00  Release [574 B]
Get:2 file:/var/cuda-repo-10-1-local-10.1.243-418.87.00  Release [574 B]
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                        
Hit:5 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64  InRelease                                                                                     
Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease                                                                                                     
Hit:7 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64  InRelease                                                                                
Hit:8 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease                                                                                           
Hit:9 http://dl.google.com/linux/chrome/deb stable Release                                                                                                          
Hit:10 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                                                 
Hit:11 http://archive.ubuntu.com/ubuntu bionic InRelease                                                       
Hit:13 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                         
Hit:14 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                        
Hit:15 http://archive.ubuntu.com/ubuntu bionic-security InRelease                         
Reading package lists... Done                                 
devinem@quark sdkm_downloads> sudo apt-get install libvisionworks libvisionworks-dev libvisionworks-samples libvisionworks-docs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libvisionworks
E: Unable to locate package libvisionworks-dev
E: Unable to locate package libvisionworks-samples
E: Unable to locate package libvisionworks-docs

I save the problem.I think dpkg has problem ,so just run:
cd ~/Download/nvidia/sdkm_downloads/
ar -x libvisionworks-repo_1.6.0.500n_amd64.deb
tar -zxvf data.tar.gz
cd var/visionworks-repo
sudo apt install ./libvisionworks_1.6.0.500n_amd64.deb
sudo apt install ./libvisionworks-dev_1.6.0.500n_all.deb
sudo apt install ./libvisionworks-samples_1.6.0.500n_amd64.deb