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 occurred! See also "/home/robot/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/robot/catkin_ws/build/CMakeFiles/CMakeError.log". make: *** [cmake_check_build_system] 错误 1 Invoking "make cmake_check_build_system" failed
新的报错:robotics_controller_megs
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"robotis_controller_msgs" with any of the following names:
robotis_controller_msgsConfig.cmake
robotis_controller_msgs-config.cmake
Add the installation prefix of "robotis_controller_msgs" to
CMAKE_PREFIX_PATH or set "robotis_controller_msgs_DIR" to a directory
containing one of the above files. If "robotis_controller_msgs" 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_calc/CMakeLists.txt:8 (find_package)
后来发现是我之前把一个别的工程文件复制到src里面了,但是这个工程本身有一些不完整,把这个删掉就不报错啦。
总结:src里面不要复制一些乱七八糟的文件进来,否则在camke的时候会报一堆乱七八糟的错误
版权声明:本文为weixin_42449333原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。