loguru icon indicating copy to clipboard operation
loguru copied to clipboard

Loguru and glog conflict error

Open lfwin opened this issue 3 years ago • 0 comments

Hi, I use loguru in my project, and I installed Glog library at the same time. #define LOGURU_REPLACE_GLOG 1 #include <loguru.hpp> ... LOG(1) << ...; When I compiled my project, the error, 'error: ‘COMPACT_GOOGLE_LOG_1’ was not declared in this scope; did you mean ‘COMPACT_GOOGLE_LOG_0’?', occurs.

lfwin avatar Nov 16 '22 07:11 lfwin