Questions tagged [glog]

The glog library implements application-level logging. This library provides logging APIs based on C++-style streams and various helper macros

Google GLOG is hosted on Github.

145 questions
0
votes
1 answer

Tensorflow C++ API and Caffe Compatibility issue related to Glog

I am trying to write a code in C++ using the Eclipse IDE without Bazel. To get my project to do this I had to perform some hacks to generate the Tensorflow C++ APIs. Tensorflow C++ seems to be working fine. I can load a model and perform…
Y. Reznichenko
  • 153
  • 2
  • 13
0
votes
0 answers

Error using mex: Unknown file extension ' '

I am trying to mex a cpp file which needs eigen, ceres-solver and glog libraries. This is the command I used: mex ceresRigidError.cpp /usr/local/lib/libceres.a... /usr/lib/x86_64-linux-gnu/libglog.so /usr/include/eigen3/Eigen It displays…
benkyou
  • 45
  • 9
0
votes
0 answers

golang/glog created hundreds of tiny files on my server

I am using glog in my app that is deployed in a docker container and it has created hundreds of tiny files and I am wondering why and how to stop it. Here is a small sample of my directory listing. -rw-r--r--. 1 urbncat urbncat 20 Jun 27…
Paul A. Fortin
  • 315
  • 2
  • 8
0
votes
1 answer

cannot use ceres solver,glog

I install ceres in ubuntu and use the all of the command line in http://ceres-solver.org/installation.html Linux part from sudo apt-get install libgoogle-glog-dev all the way to make install Seems I have installed ceres solver and it…
0
votes
1 answer

Why using this library needs its internal headers?

I have a library A.dll that used google logging library(glog). Now I want to use this library in another project,in my own project I don't want to use glog. I want to just use A.dll, but during compilation, the compiler says that can't find…
payman
  • 300
  • 2
  • 15
0
votes
2 answers

How to compile a c++ program that uses both windows.h and google glog (glog/logging.h)?

I have two libraries A and B. Library B is my own library and I need "windows.h" in it. Also for some functions I need to use a third-party library A. A uses google logging library and here is the problem : The first error was this : Severity Code…
payman
  • 300
  • 2
  • 15
0
votes
1 answer

How to shutdown glog completely to run go tests?

I'm writing test code for my code and would like to get 100% code coverage. This implies testing corner cases that calls glog.Fatal() for instance. So first thing I need is to disable any output by glog because I'm not testing glog. So I can run go…
chmike
  • 20,922
  • 21
  • 83
  • 106
0
votes
1 answer

g++ not finding library in /usr/local/lib

I'm trying to get g++ to find glog on its own (OS X 10.11.5). I installed glog (tried with both cmake from a github pull as well as brew install - same result in both cases). Then I tried to compile this file: #include int main(int…
Sefu
  • 2,404
  • 8
  • 42
  • 59
0
votes
2 answers

caffe error with glog

I have successfully installed caffe. all tests ran fine. when i try to train an example(https://github.com/tenstep/DeepModel) using hdf5 data i get error. I read in some forum that it relates to glog. *** Aborted at 1465829389 (unix time) try "date…
user27665
  • 673
  • 7
  • 27
0
votes
1 answer

Getting UnparsedFlagAccessError when trying to import glog in python

I am trying to use glog in my python code and when I am trying to import, it throws the following error: /usr/local/lib/python2.7/dist-packages/glog.py:171: RuntimeWarning: Trying to access flag verbosity before flags were parsed. This will raise…
jpsagarm95
  • 1
  • 1
  • 4
0
votes
1 answer

Change Glog logging directory of linked library

I have an application that uses Glog. I can use environmental variables or Gflags to change the logging directory of this application. In this application, I link to another library that also uses Glog. The way I changed the directory of the…
cosa0481
  • 1
  • 2
0
votes
1 answer

How to re-initialize GoogleLogging?

I write logging results of working on a data file with my program in a file, which also contains the name of the data file in the log file name, and for reproducibility the data file content is also logged. If the data file is correct, it works OK.…
katang
  • 2,474
  • 5
  • 24
  • 48
0
votes
1 answer

glog always create two files, which has nearly the same content

My test code as blow: std::string strLogPath = "d:/logtest/"; google::InitGoogleLogging("test1"); FLAGS_log_dir = strLogPath; FLAGS_stderrthreshold = google::GLOG_INFO; FLAGS_minloglevel = google::GLOG_INFO; //FLAGS_colorlogtostderr =…
Roger
  • 111
  • 1
  • 6
0
votes
1 answer

mesos configuration error cannot find glog

I have installed glog form source. git clone https://github.com/google/glog.git -b v0.3.3 cd glog sudo ./configure --prefix=/usr --libdir=/usr/lib64 && sudo make && sudo make install then configuring mesos with options as: ../configure…
0
votes
0 answers

Missing header file when CMake-ing glog

I wanted to use logging in my app. In the CMake file I made (the relevant part see below) for a while everything runs smoothly, gflags seems to be installed OK. However, when compiling glog, I receive the error message: fatal error: …
katang
  • 2,474
  • 5
  • 24
  • 48
1 2 3
9
10