Giter Site home page Giter Site logo

glog_catkin's Introduction

glog_catkin's People

Contributors

dymczykm avatar eggerk avatar fabianbl avatar ffurrer avatar furgalep avatar gawela avatar helenol avatar johannespankert avatar jonbinney avatar mantelt avatar mikebosse avatar shuklaayush avatar simonlynen avatar tcies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glog_catkin's Issues

catkin_make error

I was trying to compile glog for 16.04 Ubuntu following is the error I received :
/bin/sh: 1: cannot open /home/sal/catkin_ws/src/fix-unused-typedef-warning.patch: No such file glog_catkin/CMakeFiles/glog_src.dir/build.make:101: recipe for target 'glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-patch' failed make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-patch] Error 2 CMakeFiles/Makefile2:793: recipe for target 'glog_catkin/CMakeFiles/glog_src.dir/all' failed make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 8%] Built target std_msgs_generate_messages_nodejs [ 8%] Built target geometry_msgs_generate_messages_nodejs [ 8%] Built target geometry_msgs_generate_messages_eus Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
I copied and pasted the fix-unused-typedef-warning.patch into the src folder of the catkin_ws and I got this error:
/bin/sh: 1: autoreconf: not found glog_catkin/CMakeFiles/glog_src.dir/build.make:108: recipe for target 'glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-configure' failed make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-configure] Error 127 CMakeFiles/Makefile2:793: recipe for target 'glog_catkin/CMakeFiles/glog_src.dir/all' failed make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 3%] Built target viso2 [ 7%] Built target gflags_src [ 7%] Built target eigen_catkin Makefile:138: recipe for target 'all' failed make: *** [all] Error 2

Gratitude for helping out!

Error when using catkin build command

After trying to build the packages in the created catkin workspace, I got the following error:

Errors     << gflags_catkin:cmake ~/test_catkin_ws/logs/gflags_catkin/build.cmake.002.log                                                                                                                      
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:291 (message):
  catkin_package() absolute include dir
  '~/test_catkin_ws/devel/.private/gflags_catkin/include' does
  not exist

I used the command "catkin build". Hope getting support. Thank you very much.

Glog extraction

In the latest version, the downloaded zip (v0.3.4.zip) in my case does not extract into the /glog_src/ folder during build. Currently using the catkin build system. When extracted and placed in the folder the system compiled file once I installed a gcc compiler using sudo apt-get install build-essential.

Original Error:

[glog_catkin] ==> '/catkin_ws/build/glog_catkin/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' in '/catkin_ws/build/glog_catkin'
[ 11%] Performing configure step for 'glog_src'
/bin/sh: 1: ./configure: not found
make[2]: *** [glog_src-prefix/src/glog_src-stamp/glog_src-configure] Error 127
make[1]: *** [CMakeFiles/glog_src.dir/all] Error 2
make: *** [all] Error 2
[glog_catkin] <== '/catkin_ws/build/glog_catkin/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' failed with return code '2'

Catkin_make

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!

Build Error

I was building glog_catkin on a Ubuntu 14.04 virtual machine hosted by Mac OS with cmake 3.8.1 but kept getting the following error message:

Errors << glog_catkin:make /media/psf/catkin_ws/logs/glog_catkin/build.make.003.log                                                                                                                
CMake Error: Problem with archive_write_finish_entry(): Can't restore time
CMake Error: Problem extracting tar: /media/psf/catkin_ws/build/glog_catkin/glog_src-prefix/src/v0.3.4.zip
CMake Error at glog_src-stamp/extract-glog_src.cmake:33 (message):
  error: extract of
  '/media/psf/catkin_ws/build/glog_catkin/glog_src-prefix/src/v0.3.4.zip'
  failed

make[2]: *** [glog_src-prefix/src/glog_src-stamp/glog_src-download] Error 1
make[1]: *** [CMakeFiles/glog_src.dir/all] Error 2
make: *** [all] Error 2
cd /media/psf/catkin_ws/build/glog_catkin; catkin build --get-env glog_catkin | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -

Issue with outdated config script in glog v0.3.4

glog will not compile on jetson tx2 (or possibly other 64bit arm processors) due to the outdated config file

config.sub
config.guess

A pull request for a fix has been requested as on Sep.2016 but not merged to glog yet

A quick fix is to manually change the config files to a up to date script in

catkin_ws/build/glog_catkin/glog_src-prefix/src/glog_src

to
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD

fixes the problem

catkin_make error

I followed the tutorial from https://pixhawk.org/dev/ros/sitl

When I run catkin_make at the last step, I get this error.

failed: Connection timed out.
wget: unable to resolve host address ‘github.com’
make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-download] Error 4
make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

My Internet works fine. In chrome github.com opens. I don't know why this issue. Please help.

Cmake files are not generated

After compilation there are no cmake files in ./devel/lib/cmake/glog and it is impossible to do find_package(glog 0.3.5 REQUIRED) in packages depending on glog in the same workspace as described here.

I could not find the difference to gflags_catkin, where everything works as expected.

I'm on ubuntu 18.04 lts xenial and ROS kinetic, using catkin build to build gflags_catkin and glog_catkin.

Minimal example to reproduce:

mkdir -p  ~/testws/src
cd ~/testws
catkin init
wstool init src
wstool set -t src catkin_simple --git https://github.com/catkin/catkin_simple.git
wstool set -t src gflags_catkin --git https://github.com/ethz-asl/gflags_catkin.git
wstool set -t src glog_catkin --git https://github.com/ethz-asl/glog_catkin.git
wstool update -t src
catkin build
ls -R devel/lib/cmake/

produces:

devel/lib/cmake/:
    gflags
devel/lib/cmake/gflags:
    gflags-config.cmake  gflags-config-version.cmake  gflags-targets.cmake  gflags-targets-release.cmake

I would expect to also see a glog subfolder containing .cmake files for glog.

glog-extras.cmake breaks my complation

Hi,
I was compiling ethz_msf with glog_caktin but got a complation error. I find this question:

The CFG_EXTRAS glog-extras.cmake from Line 28 changes ${glog_catkin_LIBRARIES} from glog_catkin to devel//lib/libglog.so. However, in ethz_msf, cmake cannot finds how to make libglog.so with the following error:

make[3]: *** No rule to make target `/home/li/catkin_ws/devel/lib/libglog.so', needed by `/home/li/catkin_ws/devel/lib/libsimilaritytransform.so'.  Stop.

If I remove CFG_EXTRAS glog-extras.cmake then everything compiles good. I am using Ubuntu 14.04, Indigo, CMake 2.8.12.2, with everything installed from apt-get. So just wanna quick question about this. Thank you:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.