ubuntu18.04 配置turtlebot2环境时遇到的问题(updating.......)

解决Ubuntu18 系统下不兼容软件包存在未满足的依赖关系: libudev-dev : 依赖: libudev1 (= 237-3ubuntu10.57) but is installed 我们需要回答No,让aptitude给出第二个方案,仔细查看第二个方案,一般会建议你降级某个关键的卡壳依赖包,看好了要不要降级,一般不会有升级的情况,因为如果升级就能解决问题,apt直接就可以安装了。因为aptitude会给出解决方案,会自动分析依赖包的合理安装版本,会帮助你分析依赖包出现的安装问题。只要那些阻碍的依赖包问题解决了,那么安装我们需要安装的一般性软件包依赖包的候,才能够顺利。0 个软件包被升级,新安装 4 个, 2 个被降级, 0 个将被删除, 同 211 个将不升级。 阅读详情

                    


(持续更新....)

1      缺少libusb

1.1 安装libusb

下载地址:https://www.intra2net.com/en/developer/libftdi/download.php(因为libuusb libftdi libconfuse是交叉编译的,所以一次全部安装)

安装libusb,全程用sudo权限

1)进入下载目录,依次执行,

$ sudo ./configure

$ sudo make 

$ sudo  make install

步骤分解如下:

$ sudo ./configure 
[sudo] password for simileciwh: 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64
checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for windres... no
checking for inline... inline
checking operating system... Linux
checking for library containing clock_gettime2... no
checking libudev.h usability... no
checking libudev.h presence... no
checking for libudev.h... no
configure: error: udev support requested but libudev header not installed

 

提示error:configure: error: udev support requested but libudev header not installed

解决办法,安装libudev库,

$ sudo apt-get install libudev-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libudev-dev
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 19.1 kB of archives.
After this operation, 196 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libudev-dev amd64 237-3ubuntu10.3 [19.1 kB]
Fetched 19.1 kB in 2s (12.5 kB/s)      
Selecting previously unselected package libudev-dev:amd64.
(Reading database ... 368981 files and directories currently installed.)
Preparing to unpack .../libudev-dev_237-3ubuntu10.3_amd64.deb ...
Unpacking libudev-dev:amd64 (237-3ubuntu10.3) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libudev-dev:amd64 (237-3ubuntu10.3) ...

再次执行sudo ./configure如下:

sudo ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic link
ROS日志调试与启动管理:rqt_console与roslaunch实战指南 ROS日志系统是机器人调试的核心基础设施,其本质是基于/rosout话题的分布式消息流;rqt_console作为图形化日志中枢,提供节点级聚合、多级着色过滤和正则搜索能力,显著优于rostopic echo等基础工具;roslaunch则超越简单脚本封装,是支持参数化、条件分支与依赖解析的声明式启动引擎,支撑从单节点验证到多模块协同的工程化落地。在TurtleBot3、UR5e等真实平台中,二者组合构成ROS 1开发的标准调试工作流,广泛应用于导航定位、传感器驱动和任务调度等典型场景。 阅读详情

相关推荐

编译碰到的问题整理

交叉编译configure后不能生成静态库 configure完了之后显示: checking if libtool supports shared libraries... no checking whether to build shared libraries... no Libtool claims it does not support shared libraries during cross compilation 因为configure中指定的–host=arm,libtool会将--

技术笔记 980

Turtlebot2小车机器人驱动包安装、编译和运行问题合集

Turtlebot2小车机器人驱动包安装、编译和运行问题合集一、Turtlebot2驱动安装二、在Turtlebot2工作空间catkin_make编译三、在turtlebot2工作空间路径下终端输入roslaunch四、在roslaunch turtlebot_navigation gmapping_demo.launch遇到的问题 “学习SLAM的过程真的很快乐” ————沃兹吉.梭德 在学习激光和视觉SLAM的过程中,除了掌握SLAM的基础知识之外,还需要学习ROS和Ubuntu等工具的使用,以

qq_41808841的博客 5514

Ubuntu18.04 Turtlebot2机器人移动控制 Rviz Gazebo仿真实现

Ubuntu18.04 ROS-Melodic Turtlebot2 实现机器人移动控制,精确控制移动距离、旋转角度等,并在Rviz Gazebo等仿真环境中演示

weixin_47928521的博客 3764

cartographer turtlebot的编译、安装和运行

接着上一篇博客继续:https://blog.csdn.net/Jinxiaoyu886/article/details/90215630 如果还没有安装cartographer、ceres solver、cartographer和cartographer_ros。 可以把下面这个命令 $ wstool merge -t src https://raw.githubusercontent.com/...

Jinxiaoyu886的博客 4356

ubuntu18.04+ROS版本melodic安装turtlebot2过程及问题记录

ubuntu18.04+ROS版本melodic安装turtlebot2过程及问题记录安装步骤1. 安装ubuntu18.04+ROS2. 安装turtlebot21)安装依赖(2)创建工作空间准备下载相关包(3)复制kobuki和yujin_ocs依赖库到turtlebot_ws/src工作空间下(4)编译工作空间(5)添加工作空间到bashrc文件(6)启用环境变量遇到的问题及解决办法1.编译遇到的问题1. 安装步骤 1. 安装ubuntu18.04+ROS 请参考百度/google/ros wi

GJC的博客 5453

Turtlebot2Turtlebot2+Ubuntu18.04+melodic环境配置

Turtlebot2+Ubuntu18.04+melodic环境配置 由于自己的电脑已经安装Ubuntu18.04+melodic,所以为了省事想在不重新安装系统的情况下安装配置Turtlebot2环境,但是ros官方并为提供turtlebot2的melodic版本,所以在参考了https://www.ncnynl.com/archives/201903/2884.html完成了底盘kobuki的环境配置。 安装依赖: $ sudo apt-get install ros-melodic-kobuki-*

qq_41873211的博客 2434

2021-04-15 Ubuntu18.04  ROS Melodic配置turtlebot2开发环境

Ubuntu18.04 ROS Melodic配置turtlebot2开发环境 参考: 【1】https://zhuanlan.zhihu.com/p/151097395【ROS-Melodic下的Turtlebot填坑指南】 【2】https://blog.csdn.net/jcsm__/article/details/108607956【ROS Melodic配置turtlebot2开发环境】 【3】https://www.ncnynl.com/archives/201903/2884.ht..

weixin_41632448的博客 895

turtlebotturtlebot运行报错解决方案

问题描述】:博主将turtlebot_node.py里的has_gyro值改为False,再用cp命令将之替换掉了/opt/ros/indigo/lib里的turtlebot_node.py,随后不久出现了以下问题连上turtlebot运行下列语句$ roslaunch turtlebot_bringup minimal.launch卡在如下位置:[ INFO] [1445311453.59019

张京林要加油的技术专栏 7978

turtlebot2启动不了:Battery : unable to check laptop battery state 的解决方案

[WARN] Battery : unable to check laptop battery state [/proc/acpi/battery/BAT0 does not exist] [WARN] Create : robot not connected yet, sci not available 我用Deb包安装的,在终端输入: export TURTLEBOT_B

珊珊来吃的博客 2103

Linux编译错误:udev support requested but libudev not installed

1. 交叉编译 libusb 或者 需要依赖udev 的库的候往往会出现这个问题2. 解决办法如下: 1> 下载 udev 的源码,或者 eudev 的源码 udev:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html eudev:https://github.com/gentoo/eudev ...

丨晋丨 4413

编译安装出现报错 No package ** found的一种解决方法附带PHP-7.4.6的实战源码编译安装

编译安装各种软件的过程中,最为常见的错误大概就是在预编译阶段报错:某某依赖包找不到。 比如,这样婶的:

zsk_john的技术分享专用博客 7974

make lua文件问题

lua链接动态库 到lua/src目录下 make clean make linux 问题: gcc -O2 -Wall -fPIC -DLUA_USE_LINUX -c -o lua.o lua.c In file included from lua.h:16:0, from lua.c:15: luaconf.h:275:31: 致命错误: readline/readline.h:没有那个文件或目录 编译中断。 make[1]: *** [lua.o] 错误 1 make[1]:正在离开目录 `/h

zljlovesxy的博客 2835

编译错误:udev support requested but libudev not installed

1. 交叉编译 libusb 或者 需要依赖udev 的库的候往往会出现这个问题2. 解决办法如下:     1> 下载 udev 的源码,或者 eudev 的源码 udev:http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html eudev:https://github.com/gentoo/eudev

huihuiwith的博客 7428

install turtlebot on ubuntu 18.04 + ros melodic

计算机:华为matebook 14 系统:ubuntu 18.04 + ros melodic 目的:在以上计算机与系统上安装turtlebot(注意:不是turtlebot 3) 1. 安装教程 参照 gaunthan/Turtlebot2-On-Melodic gaunthan/Turtlebot2-On-Melodic/install_all.sh 1.1 构造工作空间 mkdir -p ...

昔风不起,唯有努力生存! 4381

configure: error: udev support requested but libudev header not installed

checking libudev.h usability... no checking libudev.h presence... no checking for libudev.h... no configure: error: udev support requested but libudev header not installed # is needed? # sudo apt install -y udev sudo apt install -y libudev-dev

柳鲲鹏 4184

编译bluez-5.25 遇到的错误及解决方法

在编译前我已经做好了D-bus1.8.10,glib2.28.6,bluez-libs-3.36,bluez-utils-3.36的编译,并且已经设置好了环境,如果遇到明明已经成功了编译,却找不到编译后的库文件,可以参考http://blog.csdn.net/wang_shuai_ww/article/details/41720841。 我这里在完成上面说的之后,编译bluez-5.2

sean 1万+

构建嵌入式开发环境

构建嵌入式开发环境 一、问题 1、libtool support shared library ... no 由于上面这个提示,导致编译make的候,没有生成.so文件。 参考: 1、What's the difference of ./configure option --build, --host and --target? 2、GCC-int 6.1 Configure Terms a...

weixin_30748995的博客 103

configure 文件中测试Makefile 是否支持嵌套变量的代码注释

该脚本片段来自configure文件,用于测试Makefile是否支持嵌套变量。代码首先设置了一些shell变量,然后通过重定向将输出同发送到日志文件和控制台。核心测试逻辑通过生成一个临Makefile并执行,检查其对嵌套变量$(BAR$(V))的支持情况。如果Make处理成功则返回"yes",否则返回"no"。测试结果会同显示在终端和记录到config.log文件中。示例执行结果显示当前系统支持Makefile的嵌套变量功能。

hjjdebug的专栏 304
上一篇: ubuntu18.04LTS +ROS-Melodic+kinect v1
下一篇: 将KOBUKI在kinect上的配置移植到melodic-ros
SimileciWH
博客等级 码龄8年 187粉丝 46原创
评论 4
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值