NVIDIA-ISAAC-ROS / isaac_ros_dnn_stereo_depth

NVIDIA-accelerated, deep learned stereo disparity estimation
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
92 stars 10 forks source link

Colcon Build Failing on isaac_ros_image_proc package #14

Closed ZubinAssadian closed 1 year ago

ZubinAssadian commented 1 year ago

I am using an Orin Nano and running through the quick steps for the docker container, but my colcon build keeps failing at the isaac_ros_image_proc package

Here is the relevant output:

--- stderr: isaac_ros_image_proc
/usr/bin/ld: warning: libcupva_host.so.2.3, needed by /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libcupva_host_utils.so.2.3, needed by /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9, not found (try using -rpath or -rpath-link) /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::granularity(cupva::GranType)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::dstDim1(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::ConfigDataFlow::id() const' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::RasterDataFlow::srcImpl(void const, int, int, int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Fence::timestamp() const' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Fence::Fence(cupva::SyncObj&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::RasterDataFlow::roi(int, int, int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::CmdWaitOnFences::~CmdWaitOnFences()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Fence::wait(long) const' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::RasterDataFlow::dstImpl(void, int, int, int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Executable::~Executable()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::handler(cupva::Parameter const&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Context::~Context()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::SyncObj::Create(bool, cupva::SyncClientType, cupva::SyncWaitMode)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::CmdProgram::CmdProgram()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Stream::~Stream()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::DynamicDataFlow::Node::bpp(int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::RasterDataFlow::link(cupva::RasterDataFlow&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Exception::getErrorCode() const' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::DynamicDataFlow::~DynamicDataFlow()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Context::Context()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::tile(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::CmdWaitOnFences::CmdWaitOnFences(cupva::Fence const&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::GetHardwareInfo()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::dstLinePitch(int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::CmdProgram::Create(cupva::Executable const&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::RasterDataFlow::handler(cupva::Parameter const&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Parameter::setValuePointer(void)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::ConfigDataFlow::~ConfigDataFlow()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::CmdProgram::operator=(cupva::CmdProgram&&) &' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::padVal(cupva::PadModeType, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::RasterDataFlow::halo(int, int, cupva::PadModeType, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to `cupva::Stream::submit(std::initializer_list<cupva::BaseCmd const> const&, cupva::impl::CmdStatus, cupva::OrderType, int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::CmdProgram::compileDataFlows()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::DynamicDataFlow::Create()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Parameter::setValueArray(void const*, long)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::mem::Alloc(long, cupva::mem::AccessType, cupva::mem::AllocType)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Executable::Executable(cupva::Executable&&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Context::Create(unsigned int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::CmdProgram::~CmdProgram()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::src(void const)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::RasterDataFlow::tile(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::CmdProgram::Create()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::DynamicDataFlow::at(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::mem::GetSurfaceAttributes(void const, cupva::mem::SurfaceAttributes&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::srcCircularBuffer(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::CmdRequestFences::~CmdRequestFences()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::srcLinePitch(int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::ConfigDataFlow::Create()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Stream::submit(cupva::BaseCmd const* const*, cupva::impl::CmdStatus**, int, cupva::OrderType, int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Context::GetCurrent()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::RasterDataFlow::tileBufferImpl(void*, void*)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Parameter::Parameter()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::CmdProgram::registerDataFlowHead(cupva::BaseDataFlow&&, int, float)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Parameter::getDevicePointer() const' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::ConfigDataFlow::linkInternal(cupva::BaseDataFlow&, bool)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Fence::~Fence()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::DynamicDataFlow::Node::src(void const*, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::CmdProgram::registerDataFlow(cupva::BaseDataFlow&&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::dstCircularBuffer(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Parameter::~Parameter()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva_utils::AllocSurface(cupva_utils::PlaneSize const*, int, cupva::SurfaceFormatType)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::DynamicDataFlow::Node::dst(void, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::RasterDataFlow::~RasterDataFlow()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::dstDim2(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::CmdRequestFences::CmdRequestFences(cupva::Fence&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Context::operator=(cupva::Context&&) &' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::ConfigDataFlow::handler(cupva::Parameter const&)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::SyncObj::~SyncObj()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to `cupva::Context::SetCurrent(cupva::impl::Context)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::dst(void*, void*)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::mem::Free(void)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::RasterDataFlow::Create()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::Executable::Create(void const, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::mem::GetHostPointer(void*)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::DynamicDataFlow::Node::tile(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::DynamicDataFlow::init(cupva::Parameter const&, int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::CmdProgram::operator[](char const)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::linkInternal(cupva::BaseDataFlow&, bool)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::RasterDataFlow::halo(int, cupva::PadModeType, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::padDim(cupva::PadDirType, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::~StaticDataFlow()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::bpp(int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::ConfigDataFlow::src(void const)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::StaticDataFlow::srcDim1(int, int)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::id() const' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Parameter::setValueScalar(void const*, long)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::Create()' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference to cupva::Stream::Create(cupva::EngineType, cupva::AffinityType)' /usr/bin/ld: /opt/nvidia/vpi2/lib/aarch64-linux-gnu/libnvvpi.so.2.3.9: undefined reference tocupva::StaticDataFlow::srcDim2(int, int)' collect2: error: ld returned 1 exit status make[2]: * [CMakeFiles/isaac_ros_image_proc.dir/build.make:367: isaac_ros_image_proc] Error 1 make[1]: [CMakeFiles/Makefile2:332: CMakeFiles/isaac_ros_image_proc.dir/all] Error 2 make: [Makefile:146: all] Error 2

Failed <<< isaac_ros_image_proc [2.19s, exited with code 2] Aborted <<< isaac_ros_nitros_pose_array_type [0.96s] Aborted <<< isaac_ros_nitros_pose_cov_stamped_type [0.70s]
Aborted <<< isaac_ros_nitros_std_msg_type [0.52s] Aborted <<< isaac_ros_nitros_tensor_list_type [0.50s]
Aborted <<< isaac_ros_ess [0.46s]

I have tried looking for libcupva_host.so.2.3 that it says it cannot find, but web search results have turned up essentially nothing. Is there any additional software that I am missing?

jaiveersinghNV commented 1 year ago

Could you please try this again on the latest release and with JetPack 5.1.2? If you're still experiencing this issue, please let us know.