You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to catkin_make I have the same error and it looks like it comes from catkin. This is the output I'm getting (I've highlighted the first two strange outputs I see).
Script started on vie 14 feb 2020 16:52:10 CET
�]0;javier@javier-HP-Pavilion-Notebook: /simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ script my_console_
_output.txt�[A
�]0;javier@javier-HP-Pavilion-Notebook: /simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ ps -ax | tee proce�[1Psses_info�[A
�]0;javier@javier-HP-Pavilion-Notebook: /simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ script my_console_output.txt�[A
�]0;javier@javier-HP-Pavilion-Notebook: /simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ �[K
�[K�[A�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C����atkin_make -j 4
Base path: /home/javier/simulation/ros_catkin_ws
Source space: /home/javier/simulation/ros_catkin_ws/src
Build space: /home/javier/simulation/ros_catkin_ws/build
Devel space: /home/javier/simulation/ros_catkin_ws/devel
Install space: /home/javier/simulation/ros_catkin_ws/install
�[34m####�[0m
�[34m#### Running command: �[1m"make cmake_check_build_system"�[0m�[34m in �[1m"/home/javier/simulation/ros_catkin_ws/build"�[0m
�[34m####�[0m
�[34m####�[0m
�[34m#### Running command: �[1m"make -j 4"�[0m�[34m in �[1m"/home/javier/simulation/ros_catkin_ws/build"�[0m
�[34m####�[0m
[ 0%] �[34m�[1mPerforming build step for 'glog_src'
�[0m[ 1%] Built target mark_plugin make[3]: warning: -jN forced in submake: disabling jobserver mode.
[ 1%] Built target std_msgs_generate_messages_py
[ 1%] Built target _mav_msgs_generate_messages_check_deps_CommandAttitudeThrust
[ 2%] Built target mavconn
[ 2%] Built target geometry_msgs_generate_messages_py
[ 2%] [ 2%] Built target _mav_msgs_generate_messages_check_deps_MotorSpeed
Built target _mav_msgs_generate_messages_check_deps_CommandVelocityTrajectory
[ 2%] Built target _mav_msgs_generate_messages_check_deps_CommandRollPitchYawrateThrust
[ 2%] Built target _mav_msgs_generate_messages_check_deps_CommandRateThrust
[ 2%] [ 2%] Built target _mav_msgs_generate_messages_check_deps_CommandTrajectory
Built target _mav_msgs_generate_messages_check_deps_CommandMotorSpeed
[ 2%] Built target geometry_msgs_generate_messages_cpp
[ 2%] Built target std_msgs_generate_messages_cpp
[ 2%] Built target std_msgs_generate_messages_lisp
[ 2%] Built target geometry_msgs_generate_messages_lisp
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ParamGet
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_WaypointList
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_CommandCode src/signalhandler_unittest.cc:46:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/signalhandler_unittest.cc:46:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
src/signalhandler_unittest.cc: In function ‘int main(int, char**)’:
src/signalhandler_unittest.cc:75:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
ParseCommandLineFlags(&argc, &argv, true);
^
src/signalhandler_unittest.cc:75:43: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/signalhandler_unittest.cc:35:
/usr/local/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’
extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int argc, char** argv, bool remove_flags);
^
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ActuatorControl
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_RCIn
make[3]: *** [src/signalhandler_unittest-signalhandler_unittest.o] Error 1
make[3]: *** Waiting for unfinished jobs....
src/symbolize_unittest.cc:46:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/symbolize_unittest.cc:46:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
In file included from src/symbolize_unittest.cc:41:0:
src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_Symbolize::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:96:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, Symbolize) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:96:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, Symbolize) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:96:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, Symbolize) {
^
[ 2%] src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_SymbolizeWithDemangling::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:119:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemangling) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:119:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemangling) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:119:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemangling) {
^
Built target _mavros_msgs_generate_messages_check_deps_WaypointPush
src/utilities_unittest.cc:37:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/utilities_unittest.cc:37:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
In file included from src/utilities_unittest.cc:32:0:
src/utilities_unittest.cc: In static member function ‘static void Test_utilities_sync_val_compare_and_swap::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:42:1: note: in expansion of macro ‘TEST’
TEST(utilities, sync_val_compare_and_swap) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:42:1: note: in expansion of macro ‘TEST’
TEST(utilities, sync_val_compare_and_swap) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/utilities_unittest.cc:31:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_SymbolizeStackConsumption::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:260:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeStackConsumption) {
^
In file included from src/utilities_unittest.cc:32:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:42:1: note: in expansion of macro ‘TEST’
TEST(utilities, sync_val_compare_and_swap) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:260:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeStackConsumption) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:260:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeStackConsumption) {
^
src/utilities_unittest.cc: In static member function ‘static void Test_utilities_InitGoogleLoggingDeathTest::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:49:1: note: in expansion of macro ‘TEST’
TEST(utilities, InitGoogleLoggingDeathTest) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:49:1: note: in expansion of macro ‘TEST’
TEST(utilities, InitGoogleLoggingDeathTest) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/utilities_unittest.cc:31:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/utilities_unittest.cc:32:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:49:1: note: in expansion of macro ‘TEST’
TEST(utilities, InitGoogleLoggingDeathTest) {
^
src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_SymbolizeWithDemanglingStackConsumption::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:278:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemanglingStackConsumption) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:278:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemanglingStackConsumption) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:278:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemanglingStackConsumption) {
^
src/demangle_unittest.cc:46:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/demangle_unittest.cc:46:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
In file included from src/demangle_unittest.cc:41:0:
src/demangle_unittest.cc: In static member function ‘static void Test_Demangle_CornerCases::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:66:1: note: in expansion of macro ‘TEST’
TEST(Demangle, CornerCases) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:66:1: note: in expansion of macro ‘TEST’
TEST(Demangle, CornerCases) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/demangle_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:66:1: note: in expansion of macro ‘TEST’
TEST(Demangle, CornerCases) {
^
src/demangle_unittest.cc: In static member function ‘static void Test_Demangle_Clones::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:83:1: note: in expansion of macro ‘TEST’
TEST(Demangle, Clones) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:83:1: note: in expansion of macro ‘TEST’
TEST(Demangle, Clones) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/demangle_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:83:1: note: in expansion of macro ‘TEST’
TEST(Demangle, Clones) {
^
src/demangle_unittest.cc: In static member function ‘static void Test_Demangle_FromFile::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:105:1: note: in expansion of macro ‘TEST’
TEST(Demangle, FromFile) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:105:1: note: in expansion of macro ‘TEST’
TEST(Demangle, FromFile) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/demangle_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:105:1: note: in expansion of macro ‘TEST’
TEST(Demangle, FromFile) {
^
src/demangle_unittest.cc: In function ‘int main(int, char**)’:
src/demangle_unittest.cc:128:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
ParseCommandLineFlags(&argc, &argv, true);
^
src/demangle_unittest.cc:128:43: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’
extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int argc, char** argv, bool remove_flags);
^
src/logging_unittest.cc:64:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/logging_unittest.cc:64:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
src/logging_unittest.cc: In function ‘int main(int, char**)’:
src/logging_unittest.cc:180:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
ParseCommandLineFlags(&argc, &argv, true);
^
src/logging_unittest.cc:180:43: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’
extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int argc, char** argv, bool remove_flags);
^
In file included from src/logging_unittest.cc:58:0:
src/logging_unittest.cc: In static member function ‘static void Test_DeathNoAllocNewHook_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:297:1: note: in expansion of macro ‘TEST’
TEST(DeathNoAllocNewHook, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:297:1: note: in expansion of macro ‘TEST’
TEST(DeathNoAllocNewHook, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:297:1: note: in expansion of macro ‘TEST’
TEST(DeathNoAllocNewHook, logging) {
^
src/logging_unittest.cc: In function ‘void TestRawLogging()’:
src/logging_unittest.cc:309:3: error: ‘FlagSaver’ was not declared in this scope
FlagSaver saver;
^
src/logging_unittest.cc:309:3: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
src/logging_unittest.cc:309:13: error: expected ‘;’ before ‘saver’
FlagSaver saver;
^
make[3]: *** [src/utilities_unittest-utilities_unittest.o] Error 1
src/logging_unittest.cc: In function ‘void LogWithLevels(int, int, bool, bool)’:
src/logging_unittest.cc:364:3: error: ‘FlagSaver’ was not declared in this scope
FlagSaver saver;
^
src/logging_unittest.cc:364:3: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
src/logging_unittest.cc:364:13: error: expected ‘;’ before ‘saver’
FlagSaver saver;
^
In file included from src/logging_unittest.cc:58:0:
src/logging_unittest.cc: In static member function ‘static void Test_DeathRawCHECK_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:437:1: note: in expansion of macro ‘TEST’
TEST(DeathRawCHECK, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:437:1: note: in expansion of macro ‘TEST’
TEST(DeathRawCHECK, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:437:1: note: in expansion of macro ‘TEST’
TEST(DeathRawCHECK, logging) {
^
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_Waypoint
[ 2%] make[3]: *** [src/symbolize_unittest-symbolize_unittest.o] Error 1
Built target _mavros_msgs_generate_messages_check_deps_CommandInt
make[3]: *** [src/demangle_unittest-demangle_unittest.o] Error 1
src/logging_unittest.cc: In static member function ‘static void Test_DeathSTREQ_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:587:1: note: in expansion of macro ‘TEST’
TEST(DeathSTREQ, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:587:1: note: in expansion of macro ‘TEST’
TEST(DeathSTREQ, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:587:1: note: in expansion of macro ‘TEST’
TEST(DeathSTREQ, logging) {
^
[ 2%] src/logging_unittest.cc: In static member function ‘static void Test_CheckNOTNULL_Simple::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:597:1: note: in expansion of macro ‘TEST’
TEST(CheckNOTNULL, Simple) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:597:1: note: in expansion of macro ‘TEST’
TEST(CheckNOTNULL, Simple) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
Built target _mavros_msgs_generate_messages_check_deps_Vibration
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:597:1: note: in expansion of macro ‘TEST’
TEST(CheckNOTNULL, Simple) {
^
src/logging_unittest.cc: In static member function ‘static void Test_DeathCheckNN_Simple::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:608:1: note: in expansion of macro ‘TEST’
TEST(DeathCheckNN, Simple) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:608:1: note: in expansion of macro ‘TEST’
TEST(DeathCheckNN, Simple) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:608:1: note: in expansion of macro ‘TEST’
TEST(DeathCheckNN, Simple) {
^
src/logging_unittest.cc: In static member function ‘static void Test_SafeFNMatch_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:868:1: note: in expansion of macro ‘TEST’
TEST(SafeFNMatch, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:868:1: note: in expansion of macro ‘TEST’
TEST(SafeFNMatch, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:868:1: note: in expansion of macro ‘TEST’
TEST(SafeFNMatch, logging) {
^
src/logging_unittest.cc: In static member function ‘static void Test_Strerror_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1043:1: note: in expansion of macro ‘TEST’
TEST(Strerror, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1043:1: note: in expansion of macro ‘TEST’
TEST(Strerror, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1043:1: note: in expansion of macro ‘TEST’
TEST(Strerror, logging) {
^
src/logging_unittest.cc: In static member function ‘static void Test_UserDefinedClass_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1209:1: note: in expansion of macro ‘TEST’
TEST(UserDefinedClass, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1209:1: note: in expansion of macro ‘TEST’
TEST(UserDefinedClass, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1209:1: note: in expansion of macro ‘TEST’
TEST(UserDefinedClass, logging) {
^
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_FileOpen
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_OverrideRCIn
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ParamSet
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ManualControl
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_WaypointClear
make[3]: *** [src/logging_unittest-logging_unittest.o] Error 1
make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-build] Error 2
make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_StreamRate
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_FileClose
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_FileList
make: *** [all] Error 2
�[31mInvoking �[1m"make -j 4"�[22m failed�[0m
�]0;
I'm using ubuntu 14.04 as I was told that it is the one that worked. Any help is welcome!
The text was updated successfully, but these errors were encountered:
Whenever I try to catkin_make I have the same error and it looks like it comes from catkin. This is the output I'm getting (I've highlighted the first two strange outputs I see).
Script started on vie 14 feb 2020 16:52:10 CET
�]0;javier@javier-HP-Pavilion-Notebook:
/simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ script my_console__output.txt�[A
�]0;javier@javier-HP-Pavilion-Notebook:
/simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ ps -ax | tee proce�[1Psses_info�[A�]0;javier@javier-HP-Pavilion-Notebook:
/simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ script my_console_output.txt�[A�]0;javier@javier-HP-Pavilion-Notebook:
/simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ �[K�[K�[A�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�script my_console_
_output.txt�[A
�]0;javier@javier-HP-Pavilion-Notebook:
/simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ ps -ax | tee proce�[1Psses_info�[A�]0;javier@javier-HP-Pavilion-Notebook:
/simulation/ros_catkin_ws�javier@javier-HP-Pavilion-Notebook:/simulation/ros_catkin_ws$ clear�[K�[K�[A�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C�[C����atkin_make -j 4
Base path: /home/javier/simulation/ros_catkin_ws
Source space: /home/javier/simulation/ros_catkin_ws/src
Build space: /home/javier/simulation/ros_catkin_ws/build
Devel space: /home/javier/simulation/ros_catkin_ws/devel
Install space: /home/javier/simulation/ros_catkin_ws/install
�[34m####�[0m
�[34m#### Running command: �[1m"make cmake_check_build_system"�[0m�[34m in �[1m"/home/javier/simulation/ros_catkin_ws/build"�[0m
�[34m####�[0m
�[34m####�[0m
�[34m#### Running command: �[1m"make -j 4"�[0m�[34m in �[1m"/home/javier/simulation/ros_catkin_ws/build"�[0m
�[34m####�[0m
[ 0%] �[34m�[1mPerforming build step for 'glog_src'
�[0m[ 1%] Built target mark_plugin
make[3]: warning: -jN forced in submake: disabling jobserver mode.
[ 1%] Built target std_msgs_generate_messages_py
[ 1%] Built target _mav_msgs_generate_messages_check_deps_CommandAttitudeThrust
[ 2%] Built target mavconn
[ 2%] Built target geometry_msgs_generate_messages_py
[ 2%] [ 2%] Built target _mav_msgs_generate_messages_check_deps_MotorSpeed
Built target _mav_msgs_generate_messages_check_deps_CommandVelocityTrajectory
[ 2%] Built target _mav_msgs_generate_messages_check_deps_CommandRollPitchYawrateThrust
[ 2%] Built target _mav_msgs_generate_messages_check_deps_CommandRateThrust
[ 2%] [ 2%] Built target _mav_msgs_generate_messages_check_deps_CommandTrajectory
Built target _mav_msgs_generate_messages_check_deps_CommandMotorSpeed
[ 2%] Built target geometry_msgs_generate_messages_cpp
[ 2%] Built target std_msgs_generate_messages_cpp
[ 2%] Built target std_msgs_generate_messages_lisp
[ 2%] Built target geometry_msgs_generate_messages_lisp
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ParamGet
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_WaypointList
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_CommandCode
src/signalhandler_unittest.cc:46:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/signalhandler_unittest.cc:46:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
src/signalhandler_unittest.cc: In function ‘int main(int, char**)’:
src/signalhandler_unittest.cc:75:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
ParseCommandLineFlags(&argc, &argv, true);
^
src/signalhandler_unittest.cc:75:43: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/signalhandler_unittest.cc:35:
/usr/local/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’
extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int argc, char** argv, bool remove_flags);
^
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ActuatorControl
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_RCIn
make[3]: *** [src/signalhandler_unittest-signalhandler_unittest.o] Error 1
make[3]: *** Waiting for unfinished jobs....
src/symbolize_unittest.cc:46:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/symbolize_unittest.cc:46:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
In file included from src/symbolize_unittest.cc:41:0:
src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_Symbolize::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:96:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, Symbolize) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:96:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, Symbolize) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:96:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, Symbolize) {
^
[ 2%] src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_SymbolizeWithDemangling::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:119:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemangling) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:119:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemangling) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:119:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemangling) {
^
Built target _mavros_msgs_generate_messages_check_deps_WaypointPush
src/utilities_unittest.cc:37:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/utilities_unittest.cc:37:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
In file included from src/utilities_unittest.cc:32:0:
src/utilities_unittest.cc: In static member function ‘static void Test_utilities_sync_val_compare_and_swap::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:42:1: note: in expansion of macro ‘TEST’
TEST(utilities, sync_val_compare_and_swap) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:42:1: note: in expansion of macro ‘TEST’
TEST(utilities, sync_val_compare_and_swap) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/utilities_unittest.cc:31:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_SymbolizeStackConsumption::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:260:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeStackConsumption) {
^
In file included from src/utilities_unittest.cc:32:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:42:1: note: in expansion of macro ‘TEST’
TEST(utilities, sync_val_compare_and_swap) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:260:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeStackConsumption) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:260:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeStackConsumption) {
^
src/utilities_unittest.cc: In static member function ‘static void Test_utilities_InitGoogleLoggingDeathTest::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:49:1: note: in expansion of macro ‘TEST’
TEST(utilities, InitGoogleLoggingDeathTest) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:49:1: note: in expansion of macro ‘TEST’
TEST(utilities, InitGoogleLoggingDeathTest) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/utilities_unittest.cc:31:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/utilities_unittest.cc:32:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/utilities_unittest.cc:49:1: note: in expansion of macro ‘TEST’
TEST(utilities, InitGoogleLoggingDeathTest) {
^
src/symbolize_unittest.cc: In static member function ‘static void Test_Symbolize_SymbolizeWithDemanglingStackConsumption::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:278:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemanglingStackConsumption) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:278:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemanglingStackConsumption) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/symbolize_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/symbolize_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/symbolize_unittest.cc:278:1: note: in expansion of macro ‘TEST’
TEST(Symbolize, SymbolizeWithDemanglingStackConsumption) {
^
src/demangle_unittest.cc:46:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/demangle_unittest.cc:46:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
In file included from src/demangle_unittest.cc:41:0:
src/demangle_unittest.cc: In static member function ‘static void Test_Demangle_CornerCases::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:66:1: note: in expansion of macro ‘TEST’
TEST(Demangle, CornerCases) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:66:1: note: in expansion of macro ‘TEST’
TEST(Demangle, CornerCases) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/demangle_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:66:1: note: in expansion of macro ‘TEST’
TEST(Demangle, CornerCases) {
^
src/demangle_unittest.cc: In static member function ‘static void Test_Demangle_Clones::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:83:1: note: in expansion of macro ‘TEST’
TEST(Demangle, Clones) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:83:1: note: in expansion of macro ‘TEST’
TEST(Demangle, Clones) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/demangle_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:83:1: note: in expansion of macro ‘TEST’
TEST(Demangle, Clones) {
^
src/demangle_unittest.cc: In static member function ‘static void Test_Demangle_FromFile::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:105:1: note: in expansion of macro ‘TEST’
TEST(Demangle, FromFile) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:105:1: note: in expansion of macro ‘TEST’
TEST(Demangle, FromFile) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/demangle_unittest.cc:41:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/demangle_unittest.cc:105:1: note: in expansion of macro ‘TEST’
TEST(Demangle, FromFile) {
^
src/demangle_unittest.cc: In function ‘int main(int, char**)’:
src/demangle_unittest.cc:128:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
ParseCommandLineFlags(&argc, &argv, true);
^
src/demangle_unittest.cc:128:43: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/demangle_unittest.cc:34:
/usr/local/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’
extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int argc, char** argv, bool remove_flags);
^
src/logging_unittest.cc:64:17: error: ‘GFLAGS_NAMESPACE’ is not a namespace-name
using namespace GFLAGS_NAMESPACE;
^
src/logging_unittest.cc:64:33: error: expected namespace-name before ‘;’ token
using namespace GFLAGS_NAMESPACE;
^
src/logging_unittest.cc: In function ‘int main(int, char**)’:
src/logging_unittest.cc:180:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
ParseCommandLineFlags(&argc, &argv, true);
^
src/logging_unittest.cc:180:43: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’
extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int argc, char** argv, bool remove_flags);
^
In file included from src/logging_unittest.cc:58:0:
src/logging_unittest.cc: In static member function ‘static void Test_DeathNoAllocNewHook_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:297:1: note: in expansion of macro ‘TEST’
TEST(DeathNoAllocNewHook, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:297:1: note: in expansion of macro ‘TEST’
TEST(DeathNoAllocNewHook, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:297:1: note: in expansion of macro ‘TEST’
TEST(DeathNoAllocNewHook, logging) {
^
src/logging_unittest.cc: In function ‘void TestRawLogging()’:
src/logging_unittest.cc:309:3: error: ‘FlagSaver’ was not declared in this scope
FlagSaver saver;
^
src/logging_unittest.cc:309:3: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
src/logging_unittest.cc:309:13: error: expected ‘;’ before ‘saver’
FlagSaver saver;
^
make[3]: *** [src/utilities_unittest-utilities_unittest.o] Error 1
src/logging_unittest.cc: In function ‘void LogWithLevels(int, int, bool, bool)’:
src/logging_unittest.cc:364:3: error: ‘FlagSaver’ was not declared in this scope
FlagSaver saver;
^
src/logging_unittest.cc:364:3: note: suggested alternative:
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
src/logging_unittest.cc:364:13: error: expected ‘;’ before ‘saver’
FlagSaver saver;
^
In file included from src/logging_unittest.cc:58:0:
src/logging_unittest.cc: In static member function ‘static void Test_DeathRawCHECK_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:437:1: note: in expansion of macro ‘TEST’
TEST(DeathRawCHECK, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:437:1: note: in expansion of macro ‘TEST’
TEST(DeathRawCHECK, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:437:1: note: in expansion of macro ‘TEST’
TEST(DeathRawCHECK, logging) {
^
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_Waypoint
[ 2%] make[3]: *** [src/symbolize_unittest-symbolize_unittest.o] Error 1
Built target _mavros_msgs_generate_messages_check_deps_CommandInt
make[3]: *** [src/demangle_unittest-demangle_unittest.o] Error 1
src/logging_unittest.cc: In static member function ‘static void Test_DeathSTREQ_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:587:1: note: in expansion of macro ‘TEST’
TEST(DeathSTREQ, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:587:1: note: in expansion of macro ‘TEST’
TEST(DeathSTREQ, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:587:1: note: in expansion of macro ‘TEST’
TEST(DeathSTREQ, logging) {
^
[ 2%] src/logging_unittest.cc: In static member function ‘static void Test_CheckNOTNULL_Simple::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:597:1: note: in expansion of macro ‘TEST’
TEST(CheckNOTNULL, Simple) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:597:1: note: in expansion of macro ‘TEST’
TEST(CheckNOTNULL, Simple) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
Built target _mavros_msgs_generate_messages_check_deps_Vibration
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:597:1: note: in expansion of macro ‘TEST’
TEST(CheckNOTNULL, Simple) {
^
src/logging_unittest.cc: In static member function ‘static void Test_DeathCheckNN_Simple::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:608:1: note: in expansion of macro ‘TEST’
TEST(DeathCheckNN, Simple) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:608:1: note: in expansion of macro ‘TEST’
TEST(DeathCheckNN, Simple) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:608:1: note: in expansion of macro ‘TEST’
TEST(DeathCheckNN, Simple) {
^
src/logging_unittest.cc: In static member function ‘static void Test_SafeFNMatch_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:868:1: note: in expansion of macro ‘TEST’
TEST(SafeFNMatch, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:868:1: note: in expansion of macro ‘TEST’
TEST(SafeFNMatch, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:868:1: note: in expansion of macro ‘TEST’
TEST(SafeFNMatch, logging) {
^
src/logging_unittest.cc: In static member function ‘static void Test_Strerror_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1043:1: note: in expansion of macro ‘TEST’
TEST(Strerror, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1043:1: note: in expansion of macro ‘TEST’
TEST(Strerror, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1043:1: note: in expansion of macro ‘TEST’
TEST(Strerror, logging) {
^
src/logging_unittest.cc: In static member function ‘static void Test_UserDefinedClass_logging::Run()’:
src/googletest.h:177:25: error: ‘FlagSaver’ was not declared in this scope
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1209:1: note: in expansion of macro ‘TEST’
TEST(UserDefinedClass, logging) {
^
src/googletest.h:177:25: note: suggested alternative:
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1209:1: note: in expansion of macro ‘TEST’
TEST(UserDefinedClass, logging) {
^
In file included from src/glog/logging.h:86:0,
from src/utilities.h:82,
from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note: ‘gflags::FlagSaver’
class GFLAGS_DLL_DECL FlagSaver {
^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
static void Run() { FlagSaver fs; RunTest(); }
^
src/logging_unittest.cc:1209:1: note: in expansion of macro ‘TEST’
TEST(UserDefinedClass, logging) {
^
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_FileOpen
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_OverrideRCIn
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ParamSet
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_ManualControl
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_WaypointClear
make[3]: *** [src/logging_unittest-logging_unittest.o] Error 1
make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-build] Error 2
make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_StreamRate
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_FileClose
[ 2%] Built target _mavros_msgs_generate_messages_check_deps_FileList
make: *** [all] Error 2
�[31mInvoking �[1m"make -j 4"�[22m failed�[0m
�]0;
I'm using ubuntu 14.04 as I was told that it is the one that worked. Any help is welcome!
The text was updated successfully, but these errors were encountered: