Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loguru and glog conflict error #231

Open
lfwin opened this issue Nov 16, 2022 · 0 comments
Open

Loguru and glog conflict error #231

lfwin opened this issue Nov 16, 2022 · 0 comments

Comments

@lfwin
Copy link

lfwin commented Nov 16, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant