当我尝试编译软件包时,出现以下错误:
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
asr_ivt_bridge/CMakeFiles/asr_ivt_bridge.dir/build.make:210: recipe
for target '/home/mns/catkin_ws/devel/lib/libasr_ivt_bridge.so' failed
make[2]: *** [/home/mns/catkin_ws/devel/lib/libasr_ivt_bridge.so]
Error 1
CMakeFiles/Makefile2:3345: recipe for target
'asr_ivt_bridge/CMakeFiles/asr_ivt_bridge.dir/all' failed
make[1]: *** [asr_ivt_bridge/CMakeFiles/asr_ivt_bridge.dir/all] Error
2
Makefile:160: recipe for target 'all' failed
我猜这是因为编译器无法找到Qt5。我安装了所有必需的Qt5软件包,并遵循了here中提到的解决方案。他们两个都没有解决我的问题。请帮助我解决此问题。