ROS运行代码报错:
ERROR: something wrong with flag 'logtostderr' in file '/home/zz/soft/glog-master/src/logging.cc'. One possibility: file '/home/zz/soft/glog-master/src/logging.cc' is being linked both statically and dynamically into this executable.
解决方法:重新编译glog
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON -DGFLAGS_NAMESPACE=google -G "Unix Makefiles" ../
make
sudo make install
sudo ldconfig