紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
-
CMake Error at iai_kinect2/kinect2_bridge/CMakeLists.txt:22 (find_package): Could not find a package configuration file provided by "freenect2" with any of the following names: freenect2Config.cmake freenect2-config.cmake Add the installation prefix of "freenect2" to CMAKE_PREFIX_PATH or set "freenect2_DIR" to a directory containing one of the above files. If "freenect2" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/home/ros1/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/ros1/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed
编译之后出现这个问题,问问大佬们怎么解决?
-
@821234877 freenect2 你需要安装一下,开源地址:https://github.com/OpenKinect/libfreenect2
-
@小鱼 这个文件已经下载 要放在特定的文件夹里面吗?
-
@821234877 要先看看你的程序需要哪个版本,看看有没有release,优先考虑使用二进制安装
-
此回复已被删除! -
@小鱼 ROS1-melodic 二进制该怎么安装呢?好像没有二进制的包
-
@821234877 帮你检索了下,melodic是有的,你看着用apt装一下
apt search freenect
结果
Sorting... Done Full Text Search... Done freenect/bionic 1:0.5.3-1build1 amd64 library for accessing Kinect device -- metapackage libfreenect-bin/bionic 1:0.5.3-1build1 amd64 library for accessing Kinect device -- utilities and samples libfreenect-demos/bionic 1:0.5.3-1build1 amd64 library for accessing Kinect device -- dummy package libfreenect-dev/bionic 1:0.5.3-1build1 amd64 library for accessing Kinect device -- development files libfreenect-doc/bionic 1:0.5.3-1build1 all library for accessing Kinect device -- documentation libfreenect0.5/bionic 1:0.5.3-1build1 amd64 library for accessing Kinect device python-freenect/bionic 1:0.5.3-1build1 amd64 library for accessing Kinect device -- Python bindings ros-melodic-freenect-camera/bionic 0.4.3-2bionic.20220222.185939 amd64 A libfreenect-based ROS driver for the Microsoft Kinect. ros-melodic-freenect-camera-dbgsym/bionic 0.4.3-2bionic.20220222.185939 amd64 debug symbols for ros-melodic-freenect-camera ros-melodic-freenect-launch/bionic 0.4.3-2bionic.20220222.194350 amd64 Launch files for freenect_camera to produce rectified, registered or disparity images. ros-melodic-freenect-stack/bionic 0.4.3-2bionic.20220222.194441 amd64 A libfreenect-based ROS driver for the Microsoft Kinect ros-melodic-openni2-camera/bionic 1.6.0-2bionic.20220412.145923 amd64 Drivers for the Asus Xtion and Primesense Devices.
-
小鱼老师,我都装完了 还是不行 还是原来的错误
ros1@ubuntu:~/catkin_ws$ apt search freenect 正在排序... 完成 全文搜索... 完成 freenect/bionic,now 1:0.5.3-1build1 amd64 [已安装] library for accessing Kinect device -- metapackage libfreenect-bin/bionic,now 1:0.5.3-1build1 amd64 [已安装] library for accessing Kinect device -- utilities and samples libfreenect-demos/bionic,now 1:0.5.3-1build1 amd64 [已安装] library for accessing Kinect device -- dummy package libfreenect-dev/bionic,now 1:0.5.3-1build1 amd64 [已安装,自动] library for accessing Kinect device -- development files libfreenect-doc/bionic,bionic,now 1:0.5.3-1build1 all [已安装] library for accessing Kinect device -- documentation libfreenect0.5/bionic,now 1:0.5.3-1build1 amd64 [已安装,自动] library for accessing Kinect device python-freenect/bionic,now 1:0.5.3-1build1 amd64 [已安装] library for accessing Kinect device -- Python bindings ros-melodic-freenect-camera/bionic,now 0.4.3-2bionic.20220222.185939 amd64 [已安装] A libfreenect-based ROS driver for the Microsoft Kinect. ros-melodic-freenect-camera-dbgsym/bionic,now 0.4.3-2bionic.20220222.185939 amd64 [已安装] debug symbols for ros-melodic-freenect-camera ros-melodic-freenect-launch/bionic,now 0.4.3-2bionic.20220222.194350 amd64 [已安装] Launch files for freenect_camera to produce rectified, registered or disparity images. ros-melodic-freenect-stack/bionic,now 0.4.3-2bionic.20220222.194441 amd64 [已安装] A libfreenect-based ROS driver for the Microsoft Kinect ros-melodic-openni2-camera/bionic,now 1.6.0-2bionic.20220412.145923 amd64 [已安装] Drivers for the Asus Xtion and Primesense Devices.
-
@821234877 那可能就是版本问题了,你的哪个写了个2,只能源码编译安装了,你下载用cmake编译安装下。
-
@小鱼 怎么用cmake编译安装? 有教程吗?
-
@821234877 教程百度一大堆,找一找哈
-