Code Monkey home page Code Monkey logo

Comments (6)

jaiveersinghNV avatar jaiveersinghNV commented on June 6, 2024

Could you please double-check the following:

  • Does the path /usr/local/cuda-11.4/targets/aarch64-linux/include/nvToolsExt.h exist on your host?
    ls /usr/local/cuda-11.4/targets/aarch64-linux/include/nvToolsExt.h
  • If that path exists on the host, does the same path exist inside the container?
  • If both paths exist, try clearing the build/, log/, install/ folders in the ROS workspace and build again?

from isaac_ros_nvblox.

SimonSchwaiger avatar SimonSchwaiger commented on June 6, 2024

Thank you for the quick reply! I have verified that /usr/local/cuda-11.4/targets/aarch64-linux/include/nvToolsExt.h exists on both the host and the container. Unfortunately, deleting the build log and install directories and rebuilding does not fix the error.

I did some further debugging over the weekend to isolate, whether or not the issue stems from the Docker setup or something else. On the host, cuda-nvtx-11-4 seems to be installed correctly according to apt-cache, however, CMake fails to find nvToolsExt even outside of the Docker container. CMake finds other components, such as cudart for example, without any issue.

from isaac_ros_nvblox.

jaiveersinghNV avatar jaiveersinghNV commented on June 6, 2024

Just to be sure, does the corresponding .so file also exist? /usr/local/cuda-11.4/targets/aarch64-linux/lib/nvToolsExt.so

Could you try uninstalling and reinstalling cuda-nvtx-11-4 via apt?

from isaac_ros_nvblox.

SimonSchwaiger avatar SimonSchwaiger commented on June 6, 2024

I can confirm that the .so file did exist as well. Interestingly, I could not get the extensions to be detected and only a complete reflash of the Jetson's OS allowed me to solve the issue. The install procedure and utilised Jetpack version are the same as the previous install; only now nvtx is found without any problem.

Since I managed to get everything working, I will close the issue. Thank you again for your help and best regards.

from isaac_ros_nvblox.

BADAL244 avatar BADAL244 commented on June 6, 2024

This also happen when you building a package that already build in some other workspace so if you already build a package in some other workspace just source it and build the remaining packages.

from isaac_ros_nvblox.

dakejahl avatar dakejahl commented on June 6, 2024

I am also running into this same issue, however it is only affecting the rviz2 plugin

--- stderr: nvblox_rviz_plugin                                                                                                             
/usr/bin/ld: cannot find -lnvToolsExt
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/nvblox_rviz_plugin.dir/build.make:308: libnvblox_rviz_plugin.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:138: CMakeFiles/nvblox_rviz_plugin.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

from isaac_ros_nvblox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.