I got an issue when compiling glog by running 'make' after running './configure' Then I got an error:
Undefined symbols for architecture x86_64: "testing::internal::StrStreamToString(std::__1::basic_stringstream, std::__1::allocator >)", referenced from: testing::internal::String testing::internal::StreamableToString(void const const&) in logging_unittest-logging_unittest.o testing::internal::String testing::internal::StreamableToString(int const&) in logging_unittest-logging_unittest.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: * [logging_unittest] Error 1
I am using glog-0.3.3 on Mac OS X. SO how can i turn of testing while compiling glog?
In another context, i installed glog and gflags by using Macport, then i run a small program. It will generate a error : "ERROR: unknown command line flag 'logtostderr'"
I believe that's the problem with linking to gflags. So how can i fix it. Thanks