8000 ERROR: something wrong with flag 'folly_hazptr_use_executor' in file 'Hazptr.cpp'. One possibility: file 'Hazptr.cpp' is being linked both statically and dynamically into this executable. · Issue #2428 · facebook/folly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ERROR: something wrong with flag 'folly_hazptr_use_executor' in file 'Hazptr.cpp'. One possibility: file 'Hazptr.cpp' is being linked both statically and dynamically into this executable. #2428

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

Open
Ruwen14 opened this issue Apr 30, 2025 · 0 comments

Comments

@Ruwen14
Copy link
Ruwen14 commented Apr 30, 2025

I installed folly version 2025.02.24.00 via vcpkg and attempted to link it statically into my library. However, I encountered the following runtime error:

ERROR: Something is wrong with the flag 'folly_hazptr_use_executor' in the file 'Hazptr.cpp'. One possibility is that 'Hazptr.cpp' is being linked both statically and dynamically into this executable.

Based on #1495, it seems the problem might be related to gflags. Unfortunately, I haven’t been able to successfully link folly statically to gflags.

Does anyone have any suggestions or solutions?

Thanks in advance!

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
0