昨天的错误修改后,make出现error: 'UINT64_C' was not declared in this scope

本文介绍了解决在/usr/local/include/libavutil/common.h中遇到的问题,主要区分了C和C++的不同,并提供了一种通过添加宏定义来修复的方法。
/usr/local/include/libavutil/common.h 里面的common.h出错了
主要是c和c++区别
在common.h的最上面添加

#ifndef   UINT64_C

#define   UINT64_C(value)__CONCAT(value,ULL)

#endif

问题就可以解决

如果ubuntu11.04可以根据https://code.ros.org/trac/opencv/changeset/5099进行变量修改
在Windows系统上解决[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/has_non_zero.avx2.cpp.obj mingw32-make[2]: *** [3rdparty\protobuf\CMakeFiles\libprotobuf.dir\build.make:274: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message_lite.cc.obj] Error 1 mingw32-make[1]: *** [CMakeFiles\Makefile2:2318: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2 mingw32-make[1]: *** Waiting for unfinished jobs.... [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/matmul.avx2.cpp.obj In file included from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from D:/tool/opencv/sources/modules/core/src/precomp.hpp:88, from D:\tool\opencv\cvbuild\modules\core\mathfuncs_core.avx2.cpp:2: D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In function 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&)': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: error: there are no arguments to '_mm256_extract_epi64' that depend on a template parameter, so a declaration of '_mm256_extract_epi64' must be available [-fpermissive] return _mm256_extract_epi64(a, i); ^~~~~~~~~~~~~~~~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from D:/tool/opencv/sources/modules/core/src/precomp.hpp:88, from D:\tool\opencv\cvbuild\modules\core\arithm.avx2.cpp:2: D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In function 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&)': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: error: there are no arguments to '_mm256_extract_epi64' that depend on a template parameter, so a declaration of '_mm256_extract_epi64' must be available [-fpermissive] return _mm256_extract_epi64(a, i); ^~~~~~~~~~~~~~~~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from In file included from D:/tool/opencv/sources/modules/core/src/precomp.hpp:88D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from , from D:\tool\opencv\cvbuild\modules\core\convert.avx2.cpp:2D:/tool/opencv/sources/modules/core/src/precomp.hpp:88: , from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In function ': int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&)D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:': In function 'D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: error: ': there are no arguments to 'D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12:_mm256_extract_epi64 ' that depend on a template parameter, so a declaration of 'error: _mm256_extract_epi64there are no arguments to '' must be available [_mm256_extract_epi64-fpermissive' that depend on a template parameter, so a declaration of '] return (a, i); -fpermissive^~~~~~~~~~~~~~~~~~~~] return _mm256_extract_epi64D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12:(a, i); (if you use 'D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12:-fpermissive ', G++ will accept your code, but allowing the use of an undeclared name is deprecated) note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1561: modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.obj] Error 1 mingw32-make[2]: *** Waiting for unfinished jobs.... mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1576: modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.obj] Error 1 D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1606: modules/core/CMakeFiles/opencv_core.dir/convert.avx2.cpp.obj] Error 1 In file included from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from D:/tool/opencv/sources/modules/core/src/precomp.hpp:88, from D:\tool\opencv\cvbuild\modules\core\convert_scale.avx2.cpp:2: D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In function 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&)': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: error: there are no arguments to '_mm256_extract_epi64' that depend on a template parameter, so a declaration of '_mm256_extract_epi64' must be available [-fpermissive] return _mm256_extract_epi64(a, i); ^~~~~~~~~~~~~~~~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1591: modules/core/CMakeFiles/opencv_core.dir/arithm.avx2.cpp.obj] Error 1 In file included from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from D:/tool/opencv/sources/modules/core/src/precomp.hpp:88, from D:\tool\opencv\cvbuild\modules\core\count_non_zero.avx2.cpp:2: D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In function 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&)': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: error: there are no arguments to '_mm256_extract_epi64' that depend on a template parameter, so a declaration of '_mm256_extract_epi64' must be available [-fpermissive] return _mm256_extract_epi64(a, i); ^~~~~~~~~~~~~~~~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from D:/tool/opencv/sources/modules/core/src/precomp.hpp:88, from D:\tool\opencv\cvbuild\modules\core\has_non_zero.avx2.cpp:2: D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In function 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&)': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: error: there are no arguments to '_mm256_extract_epi64' that depend on a template parameter, so a declaration of '_mm256_extract_epi64' must be available [-fpermissive] return _mm256_extract_epi64(a, i); ^~~~~~~~~~~~~~~~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1621: modules/core/CMakeFiles/opencv_core.dir/convert_scale.avx2.cpp.obj] Error 1 In file included from D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:276:0, from D:/tool/opencv/sources/modules/core/src/precomp.hpp:88, from D:\tool\opencv\cvbuild\modules\core\matmul.avx2.cpp:2: D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In function 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&)': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: error: there are no arguments to '_mm256_extract_epi64' that depend on a template parameter, so a declaration of '_mm256_extract_epi64' must be available [-fpermissive] return _mm256_extract_epi64(a, i); ^~~~~~~~~~~~~~~~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1636: modules/core/CMakeFiles/opencv_core.dir/count_non_zero.avx2.cpp.obj] Error 1 mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1651: modules/core/CMakeFiles/opencv_core.dir/has_non_zero.avx2.cpp.obj] Error 1 D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp: In instantiation of 'int64 cv::hal_AVX2::_v256_extract_epi64(const __m256i&) [with int i = 3; int64 = long long int; __m256i = __vector(4) long long int]': D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:2310:42: required from 'uint64 cv::hal_AVX2::v_extract_n(cv::hal_AVX2::v_uint64x4) [with int i = 3; uint64 = long long unsigned int]' D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin.hpp:892:5: required from here D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: error: '_mm256_extract_epi64' was not declared in this scope return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ D:/tool/opencv/sources/modules/core/include/opencv2/core/hal/intrin_avx.hpp:130:32: note: suggested alternative: '_mm256_extract_epi8' return _mm256_extract_epi64(a, i); ~~~~~~~~~~~~~~~~~~~~^~~~~~ _mm256_extract_epi8 mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1666: modules/core/CMakeFiles/opencv_core.dir/matmul.avx2.cpp.obj] Error 1 mingw32-make[1]: *** [CMakeFiles\Makefile2:2382: modules/core/CMakeFiles/opencv_core.dir/all] Error 2 mingw32-make: *** [Makefile:165: all] Error 2
最新发布
11-24
80%] Building CXX object rotors_simulator/rotors_gazebo_plugins/CMakeFiles/rotors_gazebo_pressure_plugin.dir/src/gazebo_pressure_plugin.cpp.o In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:60:4: error: #error <glog/logging.h> was not included correctly. See the documentation for how to consume the library. 60 | # error <glog/logging.h> was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/local/include/glog/logging.h:63, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/flags.h:45:4: error: #error <glog/flags.h> was not included correctly. See the documentation for how to consume the library. 45 | # error <glog/flags.h> was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:38:4: error: #error <glog/log_severity.h> was not included correctly. See the documentation for how to consume the library. 38 | # error <glog/log_severity.h> was not included correctly. See the documentation for how to consume the library. | ^~~~~ In file included from /usr/local/include/glog/logging.h:78, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/vlog_is_on.h:71:4: error: #error <glog/vlog_is_on.h> was not included correctly. See the documentation for how to consume the library. 71 | # error <glog/vlog_is_on.h> was not included correctly. See the documentation for how to consume the library. | ^~~~~ Scanning dependencies of target rotors_gazebo_odometry_plugin [ 80%] Building CXX object rotors_simulator/rotors_gazebo_plugins/CMakeFiles/rotors_gazebo_odometry_plugin.dir/src/gazebo_odometry_plugin.cpp.o [ 80%] Linking CXX shared library /home/zk/catkin_ws/devel/lib/libmav_control_interface.so [ 80%] Built target mav_control_interface Scanning dependencies of target rotors_gazebo_wind_plugin [ 80%] Building CXX object rotors_simulator/rotors_gazebo_plugins/CMakeFiles/rotors_gazebo_wind_plugin.dir/src/gazebo_wind_plugin.cpp.o [ 80%] Linking CXX executable /home/zk/catkin_ws/devel/lib/rotors_control/roll_pitch_yawrate_thrust_controller_node [ 80%] Built target roll_pitch_yawrate_thrust_controller_node Scanning dependencies of target rotors_gazebo_lidar_plugin In file included from /usr/local/include/glog/logging.h:63, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/flags.h:105:1: error: ‘GLOG_EXPORT’ does not name a type 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:105:1: error: ‘fLI::FLAGS_logemaillevel’ has not been declared 105 | DECLARE_int32(logemaillevel); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:106:1: error: ‘GLOG_EXPORT’ does not name a type 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:106:1: error: ‘fLI::FLAGS_logcleansecs’ has not been declared 106 | DECLARE_int32(logcleansecs); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:109:1: error: ‘GLOG_EXPORT’ does not name a type 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:109:1: error: ‘fLB::FLAGS_drop_log_memory’ has not been declared 109 | DECLARE_bool(drop_log_memory); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:111:1: error: ‘GLOG_EXPORT’ does not name a type 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:111:1: error: ‘fLS::FLAGS_alsologtoemail’ has not been declared 111 | DECLARE_string(alsologtoemail); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:112:1: error: ‘GLOG_EXPORT’ does not name a type 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:112:1: error: ‘fLS::FLAGS_log_backtrace_at’ has not been declared 112 | DECLARE_string(log_backtrace_at); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:115:1: error: ‘GLOG_EXPORT’ does not name a type 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:115:1: error: ‘fLB::FLAGS_timestamp_in_logfile_name’ has not been declared 115 | DECLARE_bool(timestamp_in_logfile_name); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:118:1: error: ‘GLOG_EXPORT’ does not name a type 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:118:1: error: ‘fLB::FLAGS_logtostdout’ has not been declared 118 | DECLARE_bool(logtostdout); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:121:1: error: ‘GLOG_EXPORT’ does not name a type 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:121:1: error: ‘fLB::FLAGS_colorlogtostdout’ has not been declared 121 | DECLARE_bool(colorlogtostdout); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:124:1: error: ‘GLOG_EXPORT’ does not name a type 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:124:1: error: ‘fLB::FLAGS_logtostderr’ has not been declared 124 | DECLARE_bool(logtostderr); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:127:1: error: ‘GLOG_EXPORT’ does not name a type 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:127:1: error: ‘fLB::FLAGS_alsologtostderr’ has not been declared 127 | DECLARE_bool(alsologtostderr); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:130:1: error: ‘GLOG_EXPORT’ does not name a type 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:130:1: error: ‘fLB::FLAGS_colorlogtostderr’ has not been declared 130 | DECLARE_bool(colorlogtostderr); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:134:1: error: ‘GLOG_EXPORT’ does not name a type 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:134:1: error: ‘fLI::FLAGS_stderrthreshold’ has not been declared 134 | DECLARE_int32(stderrthreshold); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:137:1: error: ‘GLOG_EXPORT’ does not name a type 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:137:1: error: ‘fLB::FLAGS_log_file_header’ has not been declared 137 | DECLARE_bool(log_file_header); | ^~~~~~~~~~~~ [ 81%] Building CXX object rotors_simulator/rotors_gazebo_plugins/CMakeFiles/rotors_gazebo_lidar_plugin.dir/src/external/gazebo_lidar_plugin.cpp.o /usr/local/include/glog/flags.h:140:1: error: ‘GLOG_EXPORT’ does not name a type 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:140:1: error: ‘fLB::FLAGS_log_prefix’ has not been declared 140 | DECLARE_bool(log_prefix); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:143:1: error: ‘GLOG_EXPORT’ does not name a type 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:143:1: error: ‘fLB::FLAGS_log_year_in_prefix’ has not been declared 143 | DECLARE_bool(log_year_in_prefix); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:147:1: error: ‘GLOG_EXPORT’ does not name a type 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:147:1: error: ‘fLI::FLAGS_logbuflevel’ has not been declared 147 | DECLARE_int32(logbuflevel); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:150:1: error: ‘GLOG_EXPORT’ does not name a type 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:150:1: error: ‘fLI::FLAGS_logbufsecs’ has not been declared 150 | DECLARE_int32(logbufsecs); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:154:1: error: ‘GLOG_EXPORT’ does not name a type 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:154:1: error: ‘fLI::FLAGS_minloglevel’ has not been declared 154 | DECLARE_int32(minloglevel); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:158:1: error: ‘GLOG_EXPORT’ does not name a type 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:158:1: error: ‘fLS::FLAGS_log_dir’ has not been declared 158 | DECLARE_string(log_dir); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:161:1: error: ‘GLOG_EXPORT’ does not name a type 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:161:1: error: ‘fLI::FLAGS_logfile_mode’ has not been declared 161 | DECLARE_int32(logfile_mode); | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:165:1: error: ‘GLOG_EXPORT’ does not name a type 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:165:1: error: ‘fLS::FLAGS_log_link’ has not been declared 165 | DECLARE_string(log_link); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:167:1: error: ‘GLOG_EXPORT’ does not name a type 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:167:1: error: ‘fLI::FLAGS_v’ has not been declared 167 | DECLARE_int32(v); // in vlog_is_on.cc | ^~~~~~~~~~~~~ /usr/local/include/glog/flags.h:169:1: error: ‘GLOG_EXPORT’ does not name a type 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:169:1: error: ‘fLS::FLAGS_vmodule’ has not been declared 169 | DECLARE_string(vmodule); // also in vlog_is_on.cc | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:172:1: error: ‘GLOG_EXPORT’ does not name a type 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:172:1: error: ‘fLU::FLAGS_max_log_size’ has not been declared 172 | DECLARE_uint32(max_log_size); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:175:1: error: ‘GLOG_EXPORT’ does not name a type 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:175:1: error: ‘fLB::FLAGS_stop_logging_if_full_disk’ has not been declared 175 | DECLARE_bool(stop_logging_if_full_disk); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:178:1: error: ‘GLOG_EXPORT’ does not name a type 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:178:1: error: ‘fLB::FLAGS_log_utc_time’ has not been declared 178 | DECLARE_bool(log_utc_time); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:181:1: error: ‘GLOG_EXPORT’ does not name a type 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:181:1: error: ‘fLS::FLAGS_logmailer’ has not been declared 181 | DECLARE_string(logmailer); | ^~~~~~~~~~~~~~ /usr/local/include/glog/flags.h:183:1: error: ‘GLOG_EXPORT’ does not name a type 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ /usr/local/include/glog/flags.h:183:1: error: ‘fLB::FLAGS_symbolize_stacktrace’ has not been declared 183 | DECLARE_bool(symbolize_stacktrace); | ^~~~~~~~~~~~ In file included from /usr/local/include/glog/logging.h:78, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/vlog_is_on.h:111:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘GLOG_ERROR’? 111 | extern GLOG_EXPORT int SetVLOGLevel(const char* module_pattern, int log_level); | ^~~~~~~~~~~ | GLOG_ERROR /usr/local/include/glog/vlog_is_on.h:130:8: error: ‘GLOG_EXPORT’ does not name a type; did you mean ‘GLOG_ERROR’? 130 | extern GLOG_EXPORT bool InitVLOG3__(SiteFlag* site_flag, | ^~~~~~~~~~~ | GLOG_ERROR In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:82:20: error: variable ‘google::GLOG_EXPORT google::LogMessageTime’ has initializer but incomplete type 82 | struct GLOG_EXPORT LogMessageTime { | ^~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:83:19: error: expected ‘}’ before ‘;’ token 83 | LogMessageTime(); | ^ /usr/local/include/glog/logging.h:82:35: note: to match this ‘{’ 82 | struct GLOG_EXPORT LogMessageTime { | ^ /usr/local/include/glog/logging.h:84:3: error: ‘explicit’ outside class declaration 84 | explicit LogMessageTime(std::chrono::system_clock::time_point now); | ^~~~~~~~ /usr/local/include/glog/logging.h:86:61: error: non-member function ‘const time_point& google::when()’ cannot have cv-qualifier 86 | const std::chrono::system_clock::time_point& when() const noexcept { | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘const time_point& google::when()’: /usr/local/include/glog/logging.h:87:12: error: ‘timestamp_’ was not declared in this scope; did you mean ‘timercmp’? 87 | return timestamp_; | ^~~~~~~~~~ | timercmp /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:89:19: error: non-member function ‘int google::sec()’ cannot have cv-qualifier 89 | int sec() const noexcept { return tm_.tm_sec; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::sec()’: /usr/local/include/glog/logging.h:89:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 89 | int sec() const noexcept { return tm_.tm_sec; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:90:21: error: non-member function ‘long int google::usec()’ cannot have cv-qualifier 90 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘long int google::usec()’: /usr/local/include/glog/logging.h:90:39: error: ‘usecs_’ was not declared in this scope; did you mean ‘usec’? 90 | long usec() const noexcept { return usecs_.count(); } | ^~~~~~ | usec /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:91:20: error: non-member function ‘int google::min()’ cannot have cv-qualifier 91 | int(min)() const noexcept { return tm_.tm_min; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::min()’: /usr/local/include/glog/logging.h:91:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 91 | int(min)() const noexcept { return tm_.tm_min; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:92:20: error: non-member function ‘int google::hour()’ cannot have cv-qualifier 92 | int hour() const noexcept { return tm_.tm_hour; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::hour()’: /usr/local/include/glog/logging.h:92:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 92 | int hour() const noexcept { return tm_.tm_hour; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:93:19: error: non-member function ‘int google::day()’ cannot have cv-qualifier 93 | int day() const noexcept { return tm_.tm_mday; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::day()’: /usr/local/include/glog/logging.h:93:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 93 | int day() const noexcept { return tm_.tm_mday; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:94:21: error: non-member function ‘int google::month()’ cannot have cv-qualifier 94 | int month() const noexcept { return tm_.tm_mon; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::month()’: /usr/local/include/glog/logging.h:94:39: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 94 | int month() const noexcept { return tm_.tm_mon; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:95:20: error: non-member function ‘int google::year()’ cannot have cv-qualifier 95 | int year() const noexcept { return tm_.tm_year; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::year()’: /usr/local/include/glog/logging.h:95:38: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 95 | int year() const noexcept { return tm_.tm_year; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:96:25: error: non-member function ‘int google::dayOfWeek()’ cannot have cv-qualifier 96 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::dayOfWeek()’: /usr/local/include/glog/logging.h:96:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 96 | int dayOfWeek() const noexcept { return tm_.tm_wday; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:97:25: error: non-member function ‘int google::dayInYear()’ cannot have cv-qualifier 97 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::dayInYear()’: /usr/local/include/glog/logging.h:97:43: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 97 | int dayInYear() const noexcept { return tm_.tm_yday; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:98:19: error: non-member function ‘int google::dst()’ cannot have cv-qualifier 98 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘int google::dst()’: /usr/local/include/glog/logging.h:98:37: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 98 | int dst() const noexcept { return tm_.tm_isdst; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:99:42: error: non-member function ‘std::chrono::seconds google::gmtoffset()’ cannot have cv-qualifier 99 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘std::chrono::seconds google::gmtoffset()’: /usr/local/include/glog/logging.h:99:60: error: ‘gmtoffset_’ was not declared in this scope; did you mean ‘gmtoffset’? 99 | std::chrono::seconds gmtoffset() const noexcept { return gmtoffset_; } | ^~~~~~~~~~ | gmtoffset /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:100:29: error: non-member function ‘const tm& google::tm()’ cannot have cv-qualifier 100 | const std::tm& tm() const noexcept { return tm_; } | ^~~~~~~~ /usr/local/include/glog/logging.h: In function ‘const tm& google::tm()’: /usr/local/include/glog/logging.h:100:47: error: ‘tm_’ was not declared in this scope; did you mean ‘tm’? 100 | const std::tm& tm() const noexcept { return tm_; } | ^~~ | tm /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:102:2: error: expected unqualified-id before ‘private’ 102 | private: | ^~~~~~~ /usr/local/include/glog/logging.h:110:1: error: expected declaration before ‘}’ token 110 | } // namespace google | ^ /usr/local/include/glog/logging.h:457:53: error: two or more data types in declaration of ‘InitGoogleLogging’ 457 | GLOG_EXPORT void InitGoogleLogging(const char* argv0); | ^ /usr/local/include/glog/logging.h:460:45: error: two or more data types in declaration of ‘IsGoogleLoggingInitialized’ 460 | GLOG_EXPORT bool IsGoogleLoggingInitialized(); | ^ /usr/local/include/glog/logging.h:463:40: error: two or more data types in declaration of ‘ShutdownGoogleLogging’ 463 | GLOG_EXPORT void ShutdownGoogleLogging(); | ^ /usr/local/include/glog/logging.h:477:61: error: two or more data types in declaration of ‘InstallPrefixFormatter’ 477 | void* data = nullptr); | ^ /usr/local/include/glog/logging.h:482:1: error: expected initializer before ‘InstallFailureFunction’ 482 | InstallFailureFunction(logging_fail_func_t fail_func); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:485:70: error: two or more data types in declaration of ‘EnableLogCleaner’ 485 | GLOG_EXPORT void EnableLogCleaner(const std::chrono::minutes& overdue); | ^ /usr/local/include/glog/logging.h:486:36: error: two or more data types in declaration of ‘DisableLogCleaner’ 486 | GLOG_EXPORT void DisableLogCleaner(); | ^ /usr/local/include/glog/logging.h:487:74: error: two or more data types in declaration of ‘SetApplicationFingerprint’ 487 | GLOG_EXPORT void SetApplicationFingerprint(const std::string& fingerprint); | ^ /usr/local/include/glog/logging.h:611:72: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 611 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const char& v); | ^ /usr/local/include/glog/logging.h:613:79: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 613 | GLOG_EXPORT void MakeCheckOpValueString(std::ostream* os, const signed char& v); | ^ /usr/local/include/glog/logging.h:616:63: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 616 | const unsigned char& v); | ^ /usr/local/include/glog/logging.h:621:64: error: two or more data types in declaration of ‘MakeCheckOpValueString’ 621 | const std::nullptr_t& v); | ^ /usr/local/include/glog/logging.h:640:19: error: variable ‘google::GLOG_EXPORT google::logging::internal::CheckOpMessageBuilder’ has initializer but incomplete type 640 | class GLOG_EXPORT CheckOpMessageBuilder { | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:641:2: error: expected primary-expression before ‘public’ 641 | public: | ^~~~~~ /usr/local/include/glog/logging.h:641:2: error: expected ‘}’ before ‘public’ /usr/local/include/glog/logging.h:640:41: note: to match this ‘{’ 640 | class GLOG_EXPORT CheckOpMessageBuilder { | ^ /usr/local/include/glog/logging.h:641:2: error: expected ‘,’ or ‘;’ before ‘public’ 641 | public: | ^~~~~~ /usr/local/include/glog/logging.h:645:25: error: expected class-name before ‘(’ token 645 | ~CheckOpMessageBuilder(); | ^ /usr/local/include/glog/logging.h: In function ‘std::ostream* google::logging::internal::ForVar1()’: /usr/local/include/glog/logging.h:647:36: error: ‘stream_’ was not declared in this scope 647 | std::ostream* ForVar1() { return stream_; } | ^~~~~~~ /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:653:2: error: expected unqualified-id before ‘private’ 653 | private: | ^~~~~~~ /usr/local/include/glog/logging.h: In function ‘std::unique_ptr<std::__cxx11::basic_string<char> > google::logging::MakeCheckOpString(const T1&, const T2&, const char*)’: /usr/local/include/glog/logging.h:660:3: error: ‘CheckOpMessageBuilder’ was not declared in this scope; did you mean ‘google::logging::internal::CheckOpMessageBuilder’? 660 | CheckOpMessageBuilder comb(exprtext); | ^~~~~~~~~~~~~~~~~~~~~ | google::logging::internal::CheckOpMessageBuilder /usr/local/include/glog/logging.h:640:19: note: ‘google::logging::internal::CheckOpMessageBuilder’ declared here 640 | class GLOG_EXPORT CheckOpMessageBuilder { | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:661:26: error: ‘comb’ was not declared in this scope; did you mean ‘wctomb’? 661 | MakeCheckOpValueString(comb.ForVar1(), v1); | ^~~~ | wctomb /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:781:1: error: invalid declarator before ‘CheckstrcmptrueImpl’ 781 | DECLARE_CHECK_STROP_IMPL(strcmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:782:1: error: invalid declarator before ‘CheckstrcmpfalseImpl’ 782 | DECLARE_CHECK_STROP_IMPL(strcmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:783:1: error: invalid declarator before ‘CheckstrcasecmptrueImpl’ 783 | DECLARE_CHECK_STROP_IMPL(strcasecmp, true) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:784:1: error: invalid declarator before ‘CheckstrcasecmpfalseImpl’ 784 | DECLARE_CHECK_STROP_IMPL(strcasecmp, false) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:877:1: error: expected declaration before ‘}’ token 877 | } // namespace google | ^ /usr/local/include/glog/logging.h:1149:32: error: expected initializer before ‘:’ token 1149 | class GLOG_EXPORT LogStreamBuf : public std::streambuf { | ^ /usr/local/include/glog/logging.h:1166:23: error: aggregate ‘google::logging::internal::GLOG_NO_EXPORT google::logging::internal::LogMessageData’ has incomplete type and cannot be defined 1166 | struct GLOG_NO_EXPORT LogMessageData; | ^~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1179:19: error: variable ‘google::GLOG_EXPORT google::LogMessage’ has initializer but incomplete type 1179 | class GLOG_EXPORT LogMessage { | ^~~~~~~~~~ /usr/local/include/glog/logging.h:1180:2: error: expected primary-expression before ‘public’ 1180 | public: | ^~~~~~ /usr/local/include/glog/logging.h:1180:2: error: expected ‘}’ before ‘public’ /usr/local/include/glog/logging.h:1179:30: note: to match this ‘{’ 1179 | class GLOG_EXPORT LogMessage { | ^ /usr/local/include/glog/logging.h:1180:2: error: expected ‘,’ or ‘;’ before ‘public’ 1180 | public: | ^~~~~~ /usr/local/include/glog/logging.h:1197:31: error: expected initializer before ‘:’ token 1197 | class GLOG_EXPORT LogStream : public std::ostream { | ^ /usr/local/include/glog/logging.h:1243:2: error: expected unqualified-id before ‘public’ 1243 | public: | ^~~~~~ /usr/local/include/glog/logging.h:1248:14: error: ‘SendMethod’ has not been declared 1248 | SendMethod send_method); | ^~~~~~~~~~ /usr/local/include/glog/logging.h:1248:37: error: expected constructor, destructor, or type conversion before ‘;’ token 1248 | SendMethod send_method); | ^ /usr/local/include/glog/logging.h:1258:41: error: expected constructor, destructor, or type conversion before ‘;’ token 1258 | LogMessage(const char* file, int line); | ^ /usr/local/include/glog/logging.h:1265:63: error: expected constructor, destructor, or type conversion before ‘;’ token 1265 | LogMessage(const char* file, int line, LogSeverity severity); | ^ /usr/local/include/glog/logging.h:1271:36: error: expected constructor, destructor, or type conversion before ‘;’ token 1271 | bool also_send_to_log); | ^ /usr/local/include/glog/logging.h:1277:47: error: expected constructor, destructor, or type conversion before ‘;’ token 1277 | std::vector<std::string>* outvec); | ^ /usr/local/include/glog/logging.h:1283:35: error: expected constructor, destructor, or type conversion before ‘;’ token 1283 | std::string* message); | ^ /usr/local/include/glog/logging.h:1287:61: error: expected constructor, destructor, or type conversion before ‘;’ token 1287 | const logging::internal::CheckOpString& result); | ^ /usr/local/include/glog/logging.h:1289:32: error: expected constructor, destructor, or type conversion before ‘;’ token 1289 | ~LogMessage() noexcept(false); | ^ /usr/local/include/glog/logging.h:1298:23: error: uninitialized const ‘google::kMaxLogMessageLen’ [-fpermissive] 1298 | static const size_t kMaxLogMessageLen; | ^~~~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1310:25: error: non-member function ‘int google::preserved_errno()’ cannot have cv-qualifier 1310 | int preserved_errno() const; | ^~~~~ /usr/local/include/glog/logging.h:1315:32: error: non-member function ‘google::LogSeverity google::severity()’ cannot have cv-qualifier 1315 | LogSeverity severity() const noexcept; | ^~~~~~~~ /usr/local/include/glog/logging.h:1316:20: error: non-member function ‘int google::line()’ cannot have cv-qualifier 1316 | int line() const noexcept; | ^~~~~~~~ /usr/local/include/glog/logging.h:1317:44: error: non-member function ‘const std::thread::id& google::thread_id()’ cannot have cv-qualifier 1317 | const std::thread::id& thread_id() const noexcept; | ^~~~~~~~ /usr/local/include/glog/logging.h:1318:32: error: non-member function ‘const char* google::fullname()’ cannot have cv-qualifier 1318 | const char* fullname() const noexcept; | ^~~~~~~~ /usr/local/include/glog/logging.h:1319:32: error: non-member function ‘const char* google::basename()’ cannot have cv-qualifier 1319 | const char* basename() const noexcept; | ^~~~~~~~ /usr/local/include/glog/logging.h:1320:9: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessage’? 1320 | const LogMessageTime& time() const noexcept; | ^~~~~~~~~~~~~~ | LogMessage /usr/local/include/glog/logging.h:1322:20: error: ‘LogMessage’ does not name a type 1322 | LogMessage(const LogMessage&) = delete; | ^~~~~~~~~~ /usr/local/include/glog/logging.h:1322:33: error: expected constructor, destructor, or type conversion before ‘=’ token 1322 | LogMessage(const LogMessage&) = delete; | ^ /usr/local/include/glog/logging.h:1323:3: error: ‘LogMessage’ does not name a type 1323 | LogMessage& operator=(const LogMessage&) = delete; | ^~~~~~~~~~ /usr/local/include/glog/logging.h:1325:2: error: expected unqualified-id before ‘private’ 1325 | private: | ^~~~~~~ /usr/local/include/glog/logging.h:1346:22: error: ‘LogMessageData’ in namespace ‘google::logging::internal’ does not name a type 1346 | logging::internal::LogMessageData* allocated_; | ^~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1166:23: note: ‘google::logging::internal::LogMessageData’ declared here 1166 | struct GLOG_NO_EXPORT LogMessageData; | ^~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1347:22: error: ‘LogMessageData’ in namespace ‘google::logging::internal’ does not name a type 1347 | logging::internal::LogMessageData* data_; | ^~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1166:23: note: ‘google::logging::internal::LogMessageData’ declared here 1166 | struct GLOG_NO_EXPORT LogMessageData; | ^~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1348:3: error: ‘LogMessageTime’ does not name a type; did you mean ‘LogMessage’? 1348 | LogMessageTime time_; | ^~~~~~~~~~~~~~ | LogMessage /usr/local/include/glog/logging.h:1350:3: error: ‘friend’ used outside of class 1350 | friend class LogDestination; | ^~~~~~ | ------ /usr/local/include/glog/logging.h:1356:35: error: expected initializer before ‘:’ token 1356 | class GLOG_EXPORT LogMessageFatal : public LogMessage { | ^ /usr/local/include/glog/logging.h:1366:24: error: variable or field ‘LogAtLevel’ declared void 1366 | inline void LogAtLevel(LogSeverity severity, std::string const& msg) { | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1366:24: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1366 | inline void LogAtLevel(LogSeverity severity, std::string const& msg) { | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1366:58: error: expected primary-expression before ‘const’ 1366 | inline void LogAtLevel(LogSeverity severity, std::string const& msg) { | ^~~~~ /usr/local/include/glog/logging.h:1380:25: error: expected initializer before ‘&’ token 1380 | GLOG_EXPORT std::ostream& operator<<(std::ostream& os, const Counter_t&); | ^ /usr/local/include/glog/logging.h:1383:35: error: expected initializer before ‘:’ token 1383 | class GLOG_EXPORT ErrnoLogMessage : public LogMessage { | ^ /usr/local/include/glog/logging.h: In function ‘T logging::internal::CheckNotNull(const char*, int, const char*, T&&)’: /usr/local/include/glog/logging.h:1414:5: error: there are no arguments to ‘LogMessageFatal’ that depend on a template parameter, so a declaration of ‘LogMessageFatal’ must be available [-fpermissive] 1414 | LogMessageFatal(file, line, std::make_unique<std::string>(names)); | ^~~~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1414:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/glog/logging.h: At global scope: /usr/local/include/glog/logging.h:1430:32: error: two or more data types in declaration of ‘FlushLogFiles’ 1430 | GLOG_EXPORT void FlushLogFiles(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1430:32: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1430 | GLOG_EXPORT void FlushLogFiles(LogSeverity min_severity); | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1435:38: error: two or more data types in declaration of ‘FlushLogFilesUnsafe’ 1435 | GLOG_EXPORT void FlushLogFilesUnsafe(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1435:38: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1435 | GLOG_EXPORT void FlushLogFilesUnsafe(LogSeverity min_severity); | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1442:36: error: two or more data types in declaration of ‘SetLogDestination’ 1442 | GLOG_EXPORT void SetLogDestination(LogSeverity severity, | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1442:36: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1442 | GLOG_EXPORT void SetLogDestination(LogSeverity severity, | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1443:36: error: expected primary-expression before ‘const’ 1443 | const char* base_filename); | ^~~~~ /usr/local/include/glog/logging.h:1451:32: error: two or more data types in declaration of ‘SetLogSymlink’ 1451 | GLOG_EXPORT void SetLogSymlink(LogSeverity severity, | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1451:32: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1451 | GLOG_EXPORT void SetLogSymlink(LogSeverity severity, | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1452:32: error: expected primary-expression before ‘const’ 1452 | const char* symlink_basename); | ^~~~~ /usr/local/include/glog/logging.h:1459:19: error: variable ‘GLOG_EXPORT LogSink’ has initializer but incomplete type 1459 | class GLOG_EXPORT LogSink { | ^~~~~~~ /usr/local/include/glog/logging.h:1460:2: error: expected primary-expression before ‘public’ 1460 | public: | ^~~~~~ /usr/local/include/glog/logging.h:1460:2: error: expected ‘}’ before ‘public’ /usr/local/include/glog/logging.h:1459:27: note: to match this ‘{’ 1459 | class GLOG_EXPORT LogSink { | ^ /usr/local/include/glog/logging.h:1460:2: error: expected ‘,’ or ‘;’ before ‘public’ 1460 | public: | ^~~~~~ /usr/local/include/glog/logging.h:1466:3: error: ‘virtual’ outside class declaration 1466 | virtual void send(LogSeverity severity, const char* full_filename, | ^~~~~~~ /usr/local/include/glog/logging.h:1466:21: error: variable or field ‘send’ declared void 1466 | virtual void send(LogSeverity severity, const char* full_filename, | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1466:21: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1466 | virtual void send(LogSeverity severity, const char* full_filename, | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1466:43: error: expected primary-expression before ‘const’ 1466 | virtual void send(LogSeverity severity, const char* full_filename, | ^~~~~ /usr/local/include/glog/logging.h:1467:21: error: expected primary-expression before ‘const’ 1467 | const char* base_filename, int line, | ^~~~~ /usr/local/include/glog/logging.h:1467:48: error: expected primary-expression before ‘int’ 1467 | const char* base_filename, int line, | ^~~ /usr/local/include/glog/logging.h:1468:21: error: expected primary-expression before ‘const’ 1468 | const LogMessageTime& time, const char* message, | ^~~~~ /usr/local/include/glog/logging.h:1468:49: error: expected primary-expression before ‘const’ 1468 | const LogMessageTime& time, const char* message, | ^~~~~ /usr/local/include/glog/logging.h:1469:28: error: expected primary-expression before ‘message_len’ 1469 | size_t message_len) = 0; | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1484:3: error: ‘virtual’ outside class declaration 1484 | virtual void WaitTillSent(); | ^~~~~~~ /usr/local/include/glog/logging.h:1488:31: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1488 | static std::string ToString(LogSeverity severity, const char* file, int line, | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1488:53: error: expected primary-expression before ‘const’ 1488 | static std::string ToString(LogSeverity severity, const char* file, int line, | ^~~~~ /usr/local/include/glog/logging.h:1488:71: error: expected primary-expression before ‘int’ 1488 | static std::string ToString(LogSeverity severity, const char* file, int line, | ^~~ /usr/local/include/glog/logging.h:1489:31: error: expected primary-expression before ‘const’ 1489 | const LogMessageTime& time, const char* message, | ^~~~~ /usr/local/include/glog/logging.h:1489:59: error: expected primary-expression before ‘const’ 1489 | const LogMessageTime& time, const char* message, | ^~~~~ /usr/local/include/glog/logging.h:1490:38: error: expected primary-expression before ‘message_len’ 1490 | size_t message_len); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1491:1: error: expected declaration before ‘}’ token 1491 | }; | ^ /usr/local/include/glog/logging.h:1494:29: error: two or more data types in declaration of ‘AddLogSink’ 1494 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~ /usr/local/include/glog/logging.h:1494:38: error: ‘destination’ was not declared in this scope 1494 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1495:32: error: two or more data types in declaration of ‘RemoveLogSink’ 1495 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~ /usr/local/include/glog/logging.h:1495:41: error: ‘destination’ was not declared in this scope 1495 | GLOG_EXPORT void RemoveLogSink(LogSink* destination); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1503:72: error: two or more data types in declaration of ‘SetLogFilenameExtension’ 1503 | GLOG_EXPORT void SetLogFilenameExtension(const char* filename_extension); | ^ /usr/local/include/glog/logging.h:1510:35: error: two or more data types in declaration of ‘SetStderrLogging’ 1510 | GLOG_EXPORT void SetStderrLogging(LogSeverity min_severity); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1510:35: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1510 | GLOG_EXPORT void SetStderrLogging(LogSeverity min_severity); | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1515:30: error: two or more data types in declaration of ‘LogToStderr’ 1515 | GLOG_EXPORT void LogToStderr(); | ^ /usr/local/include/glog/logging.h:1523:34: error: two or more data types in declaration of ‘SetEmailLogging’ 1523 | GLOG_EXPORT void SetEmailLogging(LogSeverity min_severity, | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1523:34: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1523 | GLOG_EXPORT void SetEmailLogging(LogSeverity min_severity, | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1524:34: error: expected primary-expression before ‘const’ 1524 | const char* addresses); | ^~~~~ /usr/local/include/glog/logging.h:1529:44: error: two or more data types in declaration of ‘SendEmail’ 1529 | const char* body); | ^ /usr/local/include/glog/logging.h:1531:43: error: invalid declarator before ‘&’ token 1531 | GLOG_EXPORT const std::vector<std::string>& GetLoggingDirectories(); | ^ /usr/local/include/glog/logging.h:1536:38: error: two or more data types in declaration of ‘ReprintFatalMessage’ 1536 | GLOG_EXPORT void ReprintFatalMessage(); | ^ /usr/local/include/glog/logging.h:1545:52: error:uint64’ has not been declared 1545 | GLOG_EXPORT void TruncateLogFile(const char* path, uint64 limit, uint64 keep); | ^~~~~~ /usr/local/include/glog/logging.h:1545:66: error:uint64’ has not been declared 1545 | GLOG_EXPORT void TruncateLogFile(const char* path, uint64 limit, uint64 keep); | ^~~~~~ /usr/local/include/glog/logging.h:1545:77: error: two or more data types in declaration of ‘TruncateLogFile’ 1545 | GLOG_EXPORT void TruncateLogFile(const char* path, uint64 limit, uint64 keep); | ^ /usr/local/include/glog/logging.h:1550:39: error: two or more data types in declaration of ‘TruncateStdoutStderr’ 1550 | GLOG_EXPORT void TruncateStdoutStderr(); | ^ /usr/local/include/glog/logging.h:1554:44: error: two or more data types in declaration of ‘GetLogSeverityName’ 1554 | GLOG_EXPORT const char* GetLogSeverityName(LogSeverity severity); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1554:44: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1554 | GLOG_EXPORT const char* GetLogSeverityName(LogSeverity severity); | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1569:19: error: variable ‘GLOG_EXPORT base::Logger’ has initializer but incomplete type 1569 | class GLOG_EXPORT Logger { | ^~~~~~ /usr/local/include/glog/logging.h:1570:2: error: expected primary-expression before ‘public’ 1570 | public: | ^~~~~~ /usr/local/include/glog/logging.h:1570:2: error: expected ‘}’ before ‘public’ /usr/local/include/glog/logging.h:1569:26: note: to match this ‘{’ 1569 | class GLOG_EXPORT Logger { | ^ /usr/local/include/glog/logging.h:1570:2: error: expected ‘,’ or ‘;’ before ‘public’ 1570 | public: | ^~~~~~ /usr/local/include/glog/logging.h:1581:3: error: ‘virtual’ outside class declaration 1581 | virtual void Write(bool force_flush, | ^~~~~~~ /usr/local/include/glog/logging.h:1581:16: error: function ‘void base::Write(bool, const time_point&, const char*, size_t)’ is initialized like a variable 1581 | virtual void Write(bool force_flush, | ^~~~~ /usr/local/include/glog/logging.h:1586:3: error: ‘virtual’ outside class declaration 1586 | virtual void Flush() = 0; | ^~~~~~~ /usr/local/include/glog/logging.h:1586:16: error: function ‘void base::Flush()’ is initialized like a variable 1586 | virtual void Flush() = 0; | ^~~~~ /usr/local/include/glog/logging.h:1591:11: error: ‘uint32’ does not name a type; did you mean ‘uint32_t’? 1591 | virtual uint32 LogSize() = 0; | ^~~~~~ | uint32_t /usr/local/include/glog/logging.h:1597:26: error: expected initializer before ‘*’ token 1597 | extern GLOG_EXPORT Logger* GetLogger(LogSeverity level); | ^ /usr/local/include/glog/logging.h:1602:35: error: two or more data types in declaration of ‘SetLogger’ 1602 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~~~~~~ /usr/local/include/glog/logging.h:1602:35: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1602 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~~~~~~ | google::LogSeverity In file included from /usr/local/include/glog/logging.h:77, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_pressure_plugin.h:22, from /home/zk/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:18: /usr/local/include/glog/logging.h:1602:54: error: ‘Logger’ was not declared in this scope; did you mean ‘base::Logger’? 1602 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~ | base::Logger /usr/local/include/glog/logging.h:1569:19: note: ‘base::Logger’ declared here 1569 | class GLOG_EXPORT Logger { | ^~~~~~ /usr/local/include/glog/logging.h:1602:62: error: ‘logger’ was not declared in this scope 1602 | extern GLOG_EXPORT void SetLogger(LogSeverity level, Logger* logger); | ^~~~~~ /usr/local/include/glog/logging.h:1604:1: error: expected declaration before ‘}’ token 1604 | } // namespace base | ^ /usr/local/include/glog/logging.h:1607:30: error: expected initializer before ‘:’ token 1607 | class GLOG_EXPORT NullStream : public LogMessage::LogStream { | ^ /usr/local/include/glog/logging.h:1632:8: error: ‘NullStream’ does not name a type 1632 | inline NullStream& operator<<(NullStream& str, const T&) { | ^~~~~~~~~~ /usr/local/include/glog/logging.h:1638:35: error: expected initializer before ‘:’ token 1638 | class GLOG_EXPORT NullStreamFatal : public NullStream { | ^ /usr/local/include/glog/logging.h:1662:46: error: two or more data types in declaration of ‘InstallFailureSignalHandler’ 1662 | GLOG_EXPORT void InstallFailureSignalHandler(); | ^ /usr/local/include/glog/logging.h:1665:50: error: two or more data types in declaration of ‘IsFailureSignalHandlerInstalled’ 1665 | GLOG_EXPORT bool IsFailureSignalHandlerInstalled(); | ^ /usr/local/include/glog/logging.h:1672:66: error: two or more data types in declaration of ‘InstallFailureWriter’ 1672 | size_t size)); | ^ /usr/local/include/glog/logging.h:1675:25: error: expected initializer before ‘GetStackTrace’ 1675 | GLOG_EXPORT std::string GetStackTrace(); | ^~~~~~~~~~~~~ /usr/local/include/glog/logging.h:1677:1: error: expected declaration before ‘}’ token 1677 | } // namespace google | ^
09-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值