每当我尝试创建工作区时:
~/catkin_ws$ catkin_make
它如下所示:
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/kinetic/share/catkin/c
嗨,我正试着用homebrew.While安装在我的MAC上安装ROS,我收到了这样的消息:
CMake Error at CMakeLists.txt:7 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one
Could not fi
我正在尝试在ubuntu15.04上的catkin_ws内部的ROS上安装catkin_ws软件包。
当我make catkin_make时,会遇到以下错误:
CMake Error at /usr/local/share/OpenCV/OpenCVModules.cmake:117 (message):
The imported target "opencv_hal" references the file
"/usr/local/lib/libopencv_hal.a"
but this file does not exist. Po
我使用的是ubuntu 20.04 (注音)。我试图使用激光滤波器( ),但我不能建造它。
当我使用catkin_make时,我会得到以下错误
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_workspace.cmake:100 (message):
This workspace contains non-catkin packages in it, and catkin cannot build
a non-homogeneous workspace without isolation. Try the
当我catkin_make module_one查找包module_two和module_two查找包module_one时,会出现如下错误
-- +++ processing catkin package: 'module_one'
-- ==> add_subdirectory(module_one)
-- Could NOT find module_two (missing: module_two_DIR)
-- Could not find the required component 'module_two'. The following CMa
我有四个单独的包裹:
我将它们保存在一个主文件夹中,并尝试使用devel/share/glog_catkin/cmake/glog_catkinConfig.cmake:148编译它们,并获得了以下cmake : CMake错误at CMake(消息):
Project 'msf_core' tried to find library 'glog'. The library is neither a
target nor built/installed properly. Did you compile project
我已经使用了ROS Kinetic一段时间了,今天我在ROS教程页面()之后创建一个新的catkin工作区时,我收到了一个CMake错误,说明PROJECT_NAME设置为Project,这是无效的。我从来没有遇到过这个问题与我创造的任何其他工作空间。
我不想因为害怕破坏我的其他工作空间而与toplevel.cmake作对。
知道为什么会这样吗?
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:91 (message):
catkin_package() PROJECT_NAME is set
我通常使用python3,但也会使用一些带有ROS的python2。在一段较长的时间后,我尝试构建我的ros工作区,得到的错误是 ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/k
根据lanelet2的安装指南,我试图安装库。
当我执行catkin构建时,会得到以下错误:
Errors << lanelet2_python:cmake /home/student/catkin_ws/logs/lanelet2_python/build.cmake.000.log
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
Could not find a package configuration file pr
在安装opencv的过程中,我遇到了很多问题,并且在/usr/include中意外地删除了opencv文件夹。如何以正确的方式恢复它们,以便在尝试catkin_make我的ros工作区时不会发生以下错误?
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at /opt/ros/noetic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113 (message):
Project 'cv_bridge' spec
我在尝试编译一个包时遇到这个错误。这是我遇到错误的CMAKE:
cmake_minimum_required(VERSION 2.8.3)
project(aruco_marker_detector)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
我正在尝试使用catkin在ROS中构建一些包。
当我在顶层目录中运行catkin_make时,我收到了关于cmake版本的投诉:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/ignition-math4/ignition-math4-config.cmake:26 (cmake_minimum_required):
CMake 3.5.1 or higher is required. You are running version 3.3.2
然后我更新了我的cmake版本,还修改了路径。我验证了cmake的版本现在是3.15:
~/ca
当我克隆一些包(包括python工具)时,出现了一个错误:
Errors << unique_id:cmake /home/scpark/cps_ws/logs/unique_id/build.cmake.001.log
CMake Warning (dev) at CMakeLists.txt:2 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run
当我catkin_make我的ROS工作空间时,它总是由错误完成:
CMake Error: CMake can not determine linker language for target: XX
CMake Error: Cannot determine link language for target "XX".
根据XX的信息,我发现错误可能位于其中一个ROS包中。包中有一个CMakeList.txt和一个package.xml。,但是我还不知道是什么导致了错误,直到现在我还没有解决这个问题,下面的给出了这两个文件的确切代码。
CMakeList.txt
cmake
在catkin项目中,catkin_make会失败。CMakeLists包括
find_package(Gperftools REQUIRED)
我已经安装了google-perftools:
google-perftools is already the newest version (2.4-0ubuntu5)
CMake错误表明它找不到gperftools,或者至少找不到path变量:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Coul
我正在尝试从源代码构建,在一个没有根访问权限的环境中,所以没有sudo apt-get。
rospack需要libtinyxml-dev,但我不能只安装这个软件包。因此,我从源代码构建了TinyXML,并将其安装到~/usr/local/{lib, include}中。一些目标(例如xmlrpcpp、rosbuild)构建得很好,但是rospack抛出了一个
make[2]: *** No rule to make target '/home/USERNAME/usr/local/lib/libtinyxml.so', needed by
'/home/USERNAM