Firefly开源社区

打印 上一主题 下一主题

[Linux] ubuntu20.04+ros2-foxy;无法打开rviz2和rqt_image_view

5

积分

0

威望

0

贡献

吃瓜的群众

积分
5

ubuntu20.04+ros2-foxy;无法打开rviz2和rqt_image_view

发表于 2023-11-1 16:01:09      浏览:2842 | 回复:3        打印      只看该作者   [复制链接] 楼主
我在终端依次输入:
(1)source /opt/ros/foxy/setup.bash
           rviz2
发生报错:
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
rviz2: /tmp/binarydeb/ros-foxy-rviz-ogre-vendor-8.2.8/.obj-aarch64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/RenderSystems/GL/src/OgreGLRenderSystem.cpp:3468: void Ogre::GLRenderSystem::initialiseExtensions(): Assertion `pcVer && "Problems getting GL version string using glGetString"' failed.
Aborted (core dumped)


(2)  source /opt/ros/foxy/setup.bash
        ros2 run rqt_image_view rqt_image_view
发生报错:
Traceback (most recent call last):
  File "/opt/ros/foxy/lib/rqt_image_view/rqt_image_view", line 13, in <module>
    sys.exit(main.main(
  File "/opt/ros/foxy/lib/python3.8/site-packages/rqt_gui/main.py", line 57, in main
    return super(
  File "/opt/ros/foxy/lib/python3.8/site-packages/qt_gui/main.py", line 410, in main
    from python_qt_binding import QT_BINDING
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/__init__.py", line 56, in <module>
    from python_qt_binding.binding_helper import loadUi  # noqa: F401
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 277, in <module>
    _select_qt_binding(
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 118, in _select_qt_binding
    raise ImportError(
ImportError: Could not find Qt binding (looked for: 'pyqt', 'pyside'):
  ImportError for 'pyqt': /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
Traceback (most recent call last):
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 108, in _select_qt_binding
    QT_BINDING_VERSION = binding_loader(required_modules, optional_modules)
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 153, in _load_pyqt
    _named_import('PyQt5.%s' % module_name)
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 133, in _named_import
    module = builtins.__import__(name)
ImportError: /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5

  ImportError for 'pyside': /usr/lib/python3/dist-packages/PySide2/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
Traceback (most recent call last):
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 108, in _select_qt_binding
    QT_BINDING_VERSION = binding_loader(required_modules, optional_modules)
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 185, in _load_pyside
    _named_import('PySide2.%s' % module_name)
  File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 133, in _named_import
    module = builtins.__import__(name)
ImportError: /usr/lib/python3/dist-packages/PySide2/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5




回复

使用道具 举报

5

积分

0

威望

0

贡献

吃瓜的群众

积分
5
发表于 2023-11-1 16:21:03        只看该作者  沙发
大佬们救救我
回复

使用道具 举报

3

积分

0

威望

0

贡献

吃瓜的群众

积分
3
发表于 2023-12-22 14:25:15        只看该作者  板凳
请问这个问题你解决了吗,我需要你的帮助,如方便可以加我v18851197192
回复

使用道具 举报

1001

积分

0

威望

0

贡献

中级创客

Rank: 4

积分
1001
发表于 2023-12-26 11:07:51        只看该作者  地板
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表