-
qt_build
在网上看了好多解决办法,好多说添加路径的,但是都没有解决我的问题,看到有教程说在src路径下 catkin_create_qt_pkg testgui,也报错了,
需要先install,$ sudo apt-get install ros-indigo-qt-ros
之后没有qt_build那个报错了,但有了新的报错,见2
之前的报错如下:
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by “qt_build” with any
of the following names:qt_buildConfig.cmake qt_build-config.cmake Add the installation prefix of "qt_build" to CMAKE_PREFIX_PATH or set "qt_build_DIR" to a directory containing one of the above files. If "qt_build" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): _OLD_ROBOTIS-MANIPULATOR-master/robotis_manipulator_h_gui/CMakeLists.txt:13 (find_package) -- Configuring incomplete, errors
Cmake Error遇到的问题及解决
最新推荐文章于 2024-09-23 12:00:49 发布
在使用ROS和CMake时遇到了qt_build错误,尝试通过安装ros-indigo-qt-ros来解决,但产生了新的报错robotics_controller_megs。问题根源是src目录下存在不完整的工程文件,删除后错误消失。建议保持src目录的清洁,避免引入不相关文件导致编译错误。
摘要由CSDN通过智能技术生成