Comments (8)
Getting the same error. I tried on a new VM Ubuntu 20.04.3 LTS, still getting the error.
ERROR: flag 'logtostderr' was defined more than once (in files '/home/student/CacheLib/cachelib/external/glog/src/logging.cc' and 'src/logging.cc').
from cachelib.
Thank you for the bug report @vicvicg and @decibel26 - you stumbled on an edge case - building "cachelib" in debug mode (build.sh -d
) and the sample in release mode (the default of the build.sh
script).
I'll commit a fix that allows building the sample in debug mode as well.
As a temporary work-around, please try adding -DCMAKE_BUILD_TYPE=Debug
to the CMAKE_PARAMS
in line 28 of:
CacheLib/examples/simple_cache/build.sh
Line 28 in f200cef
from cachelib.
-DCMAKE_BUILD_TYPE=Debug
Thank you, @agordon - this workaround works.
from cachelib.
Thanks for the quick work-around @agordon !
from cachelib.
Worked for me as well. Thanks, @agordon.
from cachelib.
@vicvicg Is this still an issue for you ?
from cachelib.
@sathyaphoenix What is the recommended way to switch between release and debug builds for samples without modifying the build file itself?
from cachelib.
@agordon is the fix that you mention committed to main branch ?
from cachelib.
Related Issues (20)
- The method config.enableChainedItems() cannot be found. HOT 1
- Some questions in resizing the cachelib pool size HOT 2
- Is there any plan to provide an Java SDK for this cachelib ? HOT 2
- Fail to build dependency fbthrift (with errors reported in fmt) HOT 5
- make clean option for contrib/build.sh HOT 1
- build error about fizz on ubuntu22.04 HOT 2
- CDN trace expected behavior HOT 2
- Enable FDP for CacheBench HOT 26
- qDepth Support for NVM Cache HOT 6
- Questions about trace files when running cachebench HOT 2
- Running simple-cache-example gives an error, flag 'v' was defined more than once HOT 6
- OSS build broken as of May, 2024 -> PRs are all blocked HOT 7
- No build support for Fedora37 OS HOT 4
- failed to build CacheLib following document HOT 2
- Build fails on debian-10 HOT 2
- Segmentation fault while fetching refcount HOT 2
- Minimum Limit For Cache Allocation? HOT 1
- build failed when building dependency 'fbthrift' HOT 3
- Build issue with CacheLib with missing source files HOT 3
- [Seeking Volunteers] Add new builds to CacheLib HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cachelib.