我正在从事与iRobot Creare 1一起使用的项目。我搜索要安装的驱动程序以启动我的工作,然后找到了这个(https://github.com/AutonomyLab/create_autonomy)。所以我用ROS indigo安装了ubuntu trusty。问题是当我克隆此存储库并尝试使用“ catkin_make”构建它时,将弹出以下错误。
at create_autonomy/ca_driver/CMakeLists.txt:4 (find_package):
By not providing "Findlibcreate.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"libcreate", but CMake did not find one.
Could not find a package configuration file provided by "libcreate" with
any of the following names:
libcreateConfig.cmake
libcreate-config.cmake
Add the installation prefix of "libcreate" to CMAKE_PREFIX_PATH or set
"libcreate_DIR" to a directory containing one of the above files. If
"libcreate" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "/home/fahadtariq/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/fahadtariq/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
当我通过做catkin初始化而初始化时。他们说日志空间丢失。
Profile: default
Extending: [cached] /opt/ros/indigo
Workspace: /home/fahadtariq/catkin_ws
---------------------------------------------------------------
Build Space: [exists] /home/fahadtariq/catkin_ws/build
Devel Space: [exists] /home/fahadtariq/catkin_ws/devel
Install Space: [unused] /home/fahadtariq/catkin_ws/install
Log Space: [missing] /home/fahadtariq/catkin_ws/logs
Source Space: [exists] /home/fahadtariq/catkin_ws/src
DESTDIR: [unused] None
---------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
---------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
---------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
因此,在安装libcreate之后,当我再次在工作区中执行“ catkin_make”时,就会弹出以下错误消息。
traversing 6 packages in topological order:
-- ~~ - ca_tools
-- ~~ - create_autonomy (metapackage)
-- ~~ - libcreate (plain cmake)
-- ~~ - ca_msgs
-- ~~ - ca_description
-- ~~ - ca_driver
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_workspace.cmake:95 (message):
This workspace contains non-catkin packages in it, and catkin cannot build
a non-homogeneous workspace without isolation. Try the
'catkin_make_isolated' command instead.
Call Stack (most recent call first):
CMakeLists.txt:63 (catkin_workspace)
-- Configuring incomplete, errors occurred!
See also "/home/fahadtariq/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/fahadtariq/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
如果有人知道解决方案,请帮助我。 问候!