/usr/bin/ld:找不到-lvtkRenderingOpenGL

发布于 2025-01-12 15:30:22 字数 1311 浏览 3 评论 0原文

            Errors     << apriltag_ros:make /home/ravinspect/catkin_ws/logs/apriltag_ros/build.make.001.log                                                                                                            
            /usr/bin/ld: cannot find -lvtkRenderingOpenGL
            /usr/bin/ld: cannot find -lvtkImagingHybrid
            /usr/bin/ld: cannot find -lvtkIOImage
            /usr/bin/ld: cannot find -lvtkCommonTransforms
            /usr/bin/ld: cannot find -lvtkCommonExecutionModel
            /usr/bin/ld: cannot find -lvtkDICOMParser
            /usr/bin/ld: cannot find -lvtkIOCore
            /usr/bin/ld: cannot find -lvtkImagingColor
            /usr/bin/ld: cannot find -lvtkRenderingContext2D
            /usr/bin/ld: cannot find -lvtkRenderingGL2PS
            /usr/bin/ld: cannot find -lvtkRenderingContextOpenGL
            /usr/bin/ld: cannot find -lvtkRenderingLabel
            collect2: error: ld returned 1 exit status
            make[2]: *** 
           
       
[/home/ravinspect/catkin_ws/devel/.private/apriltag_ros/lib/libapriltag_ros_common.so] 
       Error 1
              make[1]: *** [CMakeFiles/apriltag_ros_common.dir/all] Error 2

我想使用 catkin build 构建一个工作区,但在构建工作区时出现此错误。我尝试了很多解决方案,但仍然出现此错误。

谁能帮我解决这个问题吗?

            Errors     << apriltag_ros:make /home/ravinspect/catkin_ws/logs/apriltag_ros/build.make.001.log                                                                                                            
            /usr/bin/ld: cannot find -lvtkRenderingOpenGL
            /usr/bin/ld: cannot find -lvtkImagingHybrid
            /usr/bin/ld: cannot find -lvtkIOImage
            /usr/bin/ld: cannot find -lvtkCommonTransforms
            /usr/bin/ld: cannot find -lvtkCommonExecutionModel
            /usr/bin/ld: cannot find -lvtkDICOMParser
            /usr/bin/ld: cannot find -lvtkIOCore
            /usr/bin/ld: cannot find -lvtkImagingColor
            /usr/bin/ld: cannot find -lvtkRenderingContext2D
            /usr/bin/ld: cannot find -lvtkRenderingGL2PS
            /usr/bin/ld: cannot find -lvtkRenderingContextOpenGL
            /usr/bin/ld: cannot find -lvtkRenderingLabel
            collect2: error: ld returned 1 exit status
            make[2]: *** 
           
       
[/home/ravinspect/catkin_ws/devel/.private/apriltag_ros/lib/libapriltag_ros_common.so] 
       Error 1
              make[1]: *** [CMakeFiles/apriltag_ros_common.dir/all] Error 2

I want to build a workspace with catkin build but i am taking this error while building workspace. I tried bunch of solutions but still i am taking this error.

Can anyone help me with this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一身软味 2025-01-19 15:30:22

先安装

sudo apt install libvtk5-dev

然后删除opencv并重新安装即可解决问题

First install

sudo apt install libvtk5-dev

and then remove opencv and reinstall will solve the issue

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文