rviz:symbollookuperror:rviz:undefinedsymbol의 해결 방법
1 질문:
소프트웨어 목록이 업데이트된 후 rviz를 실행하면 다음 오류가 발생하지 않습니다.
rviz: symbol lookup error: rviz: undefined symbol: _ZN4rviz13VisualizerApp6setAppEP12QApplication
또는 "rosrun rviz rviz"를 입력하여 시작 후 octomap_ 불러오기rviz_플러그인/OccupancyGrid 오류:
[ERROR] [1526449775.478040646]: PluginlibFactory: The plugin for class 'octomap_rviz_plugin/OccupancyGrid' failed to load.
Error: Failed to load library /opt/ros/indigo/lib//liboctomap_rviz_plugins.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML.
Error string: Could not load library (Poco exception = /opt/ros/indigo/lib//liboctomap_rviz_plugins.so: undefined symbol: _ZN4rviz10MapDisplay6updateEff)
2 해결:
먼저 다음 명령을 입력하여 종속성을 수정합니다.
sudo apt-get install -f
그런 다음 다음 다음 명령을 사용하여 필요하지 않은 설치 파일을 삭제합니다.
sudo apt-get autoremove
마지막으로 ROS가 비어 있는 builds와 devel 폴더를 삭제하여 다시 컴파일합니다. (일반적인 작업 공간은catkin_ws 폴더 아래에 있습니다.)
rm -r devel
rm -r build
catkin_make
마지막으로 터미널을 다시 열고 rviz를 시작하면 됩니다.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
ROS 코스 112 알 수없는 지역을 탐구하십시오.이 기사는 다음 환경에서 작동합니다. 품목 CPU Core i5-8250U 우분투 ROS 키네틱 Gazebo 설치에 대한 자세한 내용은 을 참조하십시오. 또한이 기사의 프로그램은 github에 업로드되었습니다. 을 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.