nvidia-docker
nvidia-docker copied to clipboard
Missing "pkgconfig/visionworks.pc" in l4t-base:r32.2?
1. Issue or feature description
In the l4t-base container, building VisionWorks-dependent application failed because CMake's find_package
was not able to find .cmake nor .pc file associated with VisionWorks.
The host machine (Jetson Xavier, initialized with JetPack 4.2.1 REV. 1) has /usr/lib/pkgconfig/visionworks.pc
, but the .pc file was not attached to the container via nvidia container runtime.
It might be possible to mount the visionworks.pc file to container by using --mount
or --volume
option, but do you have any official (or recommended) way to attach the visionworks.pc file to the l4t-base container?
Thank you very much in advance for your support.
2. Steps to reproduce the issue
sudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/l4t-base:r32.2
# In the container,
find -name \*visionworks\*
You will find the .so files below, but visionworks.pc is not attached to the container.
./usr/lib/libvisionworks_sfm.so.0.90.4
./usr/lib/libvisionworks_sfm.so
./usr/lib/libvisionworks_tracking.so.0.88
./usr/lib/libvisionworks_tracking.so.0.88.2
./usr/lib/libvisionworks_sfm.so.0.90
./usr/lib/libvisionworks.so
./usr/lib/libvisionworks_tracking.so
3. Information to attach (optional if deemed irrelevant)
- [x] Some nvidia-container information:
nvidia-container-cli -k -d /dev/tty info
nvidia-container-cli_info.txt - [ ] Kernel version from
uname -a
- [ ] Any relevant kernel output lines from
dmesg
- [ ] Driver information from
nvidia-smi -a
- [ ] Docker version from
docker version
- [ ] NVIDIA packages version from
dpkg -l '*nvidia*'
orrpm -qa '*nvidia*'
- [ ] NVIDIA container library version from `nvidia-container-cli -V
- [ ] NVIDIA container library logs (see troubleshooting)
- [ ] Docker command, image and tag used
Thanks for reporting this, when the next iteration of our containers goes out, this will be fixed :) !
Thank you for the prompt reply.
I also would like to report that VisionWorksConfig.cmake
and other related .cmake
files which should be found in /usr/share/visionworks<|-sfm|-tracking>/cmake
are not included in the container, too.
I really appreciate it for your support. Regards.
Any updates?