Unable to install package libvisionworks-nvxi (Jetpack L4T 2.1.1 32-bit via Jetpack 2.3 )

Howdy folks,

Edit: made a typo in the title: I meant to write Jetpack L4T 2.2.1

When re-flashing my JTX1 with Jetpack L4T 2.2.1 32-bit (using the latest Jetpack 2.3 installtion tool), I run into a snag during the post install:

Error: VisionWorks cannot be installed on device

When I try to manually install it on the target, I am able to install all of the visionworks libraries, except for libvisionworks-nvxio and libvisionworks-nvxio-dev, which it cannot locate.

I also tried to go through the whole process again, but disabling flashing, so that only post-install is executed again, but I always run into the same issue, as shown below.

Does anyone have any clues?

Thanks
Galto

enc: output from xterm:

Reading package lists... Done                                                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libvisionworks-nvxio
E: Unable to locate package libvisionworks-nvxio-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to find a source package for libvisionworks-nvxio
Connection to 192.168.0.20 closed.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to find a source package for libvisionworks-nvxio
Connection to 192.168.0.20 closed.
bash: line 0: cd: libvisionworks-nvxio-*/: No such file or directory
tail: cannot open ‘debian/changelog’ for reading: No such file or directory
dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1
Connection to 192.168.0.20 closed.
ubuntu: 
dpkg: error processing archive libvisionworks-nvxio_*.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing archive libvisionworks-nvxio-dev_*_all.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 libvisionworks-nvxio_*.deb
 libvisionworks-nvxio-dev_*_all.deb
Connection to 192.168.0.20 closed.
dpkg-query: package 'libvisionworks' is not installed and no information is available
dpkg-query: package 'libvisionworks-dev' is not installed and no information is available
dpkg-query: package 'libvisionworks-docs' is not installed and no information is available
dpkg-query: package 'libvisionworks-nvxio' is not installed and no information is available
dpkg-query: package 'libvisionworks-nvxio-dev' is not installed and no information is available
dpkg-query: package 'libvisionworks-samples' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
0
Error: VisionWorks cannot be installed on device. This may be caused by other apt-get command running on device when installing VisionWorks. Please use following command on device to install packages before continuing:
sudo apt-get install libvisionworks libvisionworks-dev libvisionworks-docs libvisionworks-nvxio libvisionworks-nvxio-dev libvisionworks-samples
After these packages are installed on device, press Enter key to continue

Hi Galto2000,

Looks like this is a JetPack bug. We’ll fix this issue in future. For now, please use JetPack 2.2.1 installer available at https://developer.nvidia.com/embedded/jetpack-2_2_1 to install for “JetPack L4T 2.2.1”.

Is this issue resolved ? i have received following issue

rav@rootw:~/Documents/VisionWorks-1.5-Samples/demos/motion_estimation$ ls
iterative_motion_estimator.cpp iterative_motion_estimator.hpp main_motion_estimation.cpp Makefile motion_estimation_user_guide.md
rav@rootw:~/Documents/VisionWorks-1.5-Samples/demos/motion_estimation$ make
mkdir -p obj/release

g++   -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1 -DUSE_GSTREAMER=1  -O3 -DNDEBUG -std=c++0x -o obj/release/main_motion_estimation.o -c main_motion_estimation.cpp
g++   -DCUDA_API_PER_THREAD_DEFAULT_STREAM -DUSE_GUI=1 -DUSE_GLFW=1 -DUSE_GSTREAMER=1  -O3 -DNDEBUG -std=c++0x -o obj/release/iterative_motion_estimator.o -c iterative_motion_estimator.cpp
g++ -Wl,--allow-shlib-undefined -pthread -Wl,-rpath=/usr/local/cuda-8.0/lib64 -o ../../bin/x86_64/linux/release/nvx_demo_motion_estimation obj/release/main_motion_estimation.o obj/release/iterative_motion_estimator.o -L"/usr/lib"  -lvisionworks -lnvxio 
obj/release/main_motion_estimation.o: In function `main':
main_motion_estimation.cpp:(.text.startup+0x11b): undefined reference to `nvxio::OptionHandler::string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
main_motion_estimation.cpp:(.text.startup+0x1c1): undefined reference to `nvxio::OptionHandler::string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
main_motion_estimation.cpp:(.text.startup+0x5e3): undefined reference to `nvxio::createDefaultFrameSource(_vx_context*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
main_motion_estimation.cpp:(.text.startup+0x67e): undefined reference to `nvxio::createDefaultRender(_vx_context*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int, unsigned int, bool, bool)'
collect2: error: ld returned 1 exit status
Makefile:133: recipe for target '../../bin/x86_64/linux/release/nvx_demo_motion_estimation' failed
make: *** [../../bin/x86_64/linux/release/nvx_demo_motion_estimation] Error 1

Hi raak,

The issue you met is different from the one mentioned by Galto2000. The issue mentioned by Galto2000 is about VisionWorks target installation. That issue will be fixed in next JetPack release.

Hi raak,

For the compilation issue you met, I couldn’t reproduce it with a fresh Ubuntu 14.04 host environment. Looks like it is a compiler toolchain mismatch issue.

Here are the suggested steps to fix it on your machine:

Remove nvxio lib
$ sudo apt-get remove --purge libvisionworks-nvxio libvisionworks-nvxio-dev

After installing VisionWorks
Install build dependencies:
$ sudo apt-get build-dep libvisionworks-nvxio libvisionworks-nvxio-dev

Download the source archive: 
$ apt-get source libvisionworks-nvxio

Repackage nvxio 
$ cd libvisionworks-nvxio_<visworks_ver>/
$ dpkg-buildpackage -j4 -b

Install newly built packages: 
$ sudo dpkg -i ../libvisionworks-nvxio_<visworks_ver>_<architecture>.deb \
               ../libvisionworks-nvxio-dev_<visworks_ver>_all.deb

Sometimes “sudo apt clean all” might help if it is a cache issue.

I don’t know what the issue is, but I think there are sometimes burps in the process when using non-english locale. Is your PC some other locale? Maybe from “echo $LANG”.

you can manually edit /etc/apt/sources.list and remove the duplicate entries by commenting out lines 17, 19, 32, 34

The above question has been answered in https://devtalk.nvidia.com/default/topic/973778/jetson-tx1/seriously-/post/5008725/#5008725

I have meet the same question as Galt2000 did,Whether there is another solutions beyond downloading the JetPack 2.2.1 installer?
P.S. I have been tried with the code :$ sudo apt-get build-dep libvisionworks-nvxio libvisionworks-nvxio-dev
But it replied :Unable to find a source package for libvisionworks-nvxio

Try:

sudo apt-get update && sudo apt-get -y dist-upgrade

“Install newly built packages:
$ sudo dpkg -i …/libvisionworks-nvxio_<visworks_ver>.deb
…/libvisionworks-nvxio-dev
<visworks_ver>_all.deb”

Where can I find a list of the versions and architectures supported?