ros-noetic 使用glog和gflag报错
需要重新安装glog和gflag,如果知道版本就指定版本,不知道就直接安装最新的
gflag安装命令:
git clone https://github.com/gflags/gflags.git cd gflags mkdir build && cd build cmake .. -DGFLAGS_NAMESPACE=google -DCMAKE_CXX_FLAGS=-fPIC .. make -j4 sudo make install
glog安装命令: git clone https://github.com/google/glog cd glog mkdir build && cd build cmake -DGFLAGS_NAMESPACE=google -DCMAKE_CXX_FLAGS=-fPIC -DBUILD_SHARED_LIBS=ON .. make -j4 sudo make install
每天进步一点点!