
Debug
JK-Cool
技术的点点滴滴来源于生活的精心雕琢,每一款产品都饱受争议,每一款产品都精彩至极!
展开
-
【Debug】:ERROR:gps-common
ros-kinetic版本: sudo apt-get install ros-kinetic-gps-commonros-melodic版本: sudo apt-get install ros-melodic-gps-common原创 2018-12-06 16:54:45 · 933 阅读 · 0 评论 -
【Debug】:ERROR:Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
解决办法:sudo apt-get install libsdl2-devsudo apt-get install libsdl2-image-dev原创 2018-12-06 16:56:16 · 2754 阅读 · 0 评论 -
【Debug】:ros :Could not find a package configuration file provided by "geographic_msgs"
ros-kinetic版本:sudo apt-get install ros-kinetic-geographic-msgsros-melodic版本:sudo apt-get install ros-melodic-geographic-msgs原创 2018-12-06 16:57:22 · 3513 阅读 · 0 评论 -
【Debug】ros:Project 'control' tried to find library 'gflags'.
问题:Project ‘control’ tried to find library ‘gflags’. The library is neither atarget nor built/installed properly. Did you compile project‘other_utils’? Did you find_package() it before the subdir...原创 2018-12-06 16:59:28 · 1173 阅读 · 0 评论 -
【Debug】ros:velodyne_driver/input.h:37:10: fatal error: pcap.h: No such file or directory
问题velodyne_driver/input.h:37:10: fatal error: pcap.h: No such file or directory#include <pcap.h>解决办法sudo apt-get install libpcap0.8-dev原创 2018-12-06 17:01:25 · 5756 阅读 · 0 评论 -
【Debug】 error: ‘random_device’ is not a member of ‘std’ error: ‘mt19937’ is not a member of ‘std’
1、问题程序中使用:std::random_device rd_x;std::mt19937 mt_rand(time(0));编译错误:error: ‘random_device’ is not a member of ‘std’error: ‘mt19937’ is not a member of ‘std’2、解决办法由于ubuntu18.04安装的ros-melodic使用...原创 2018-12-06 17:06:14 · 5912 阅读 · 5 评论 -
【Debug】 error: ‘accumulate’ is not a member of ‘std’
1、问题程序中使用:std::accumulate()accumulate定义在#include中,作用有两个,一个是累加求和,另一个是自定义类型数据的处理编译错误:perception/perception_common/src/utils.cpp:30:26: error: ‘accumulate’ is not a member of ‘std’float total_exp...原创 2018-12-06 17:10:50 · 5256 阅读 · 4 评论 -
【Debug】error: ‘format’ is not a member of ‘boost’
问题:: error: ‘format’ is not a member of ‘boost’std::string filename = (boost::format(“bev_%06i.png”) % frame_count_++).str();解决办法增加头文件:#include <boost/format.hpp>...原创 2018-12-06 17:13:00 · 2872 阅读 · 0 评论