Comments (5)
Try including bf/bf.h
. The installation creates an extra directory.
from libbf.
thanks,mavam
i have try it, but it do not work. i also try command "find / -name bf.h" and get nothing.
could you share more detail in the install progress?
from libbf.
My bad, try including bf/all.hpp
, that's the default include for the entire library.
from libbf.
hello,amvam
i get the error when i execute clang++ -std=c++11 -o out/TestBf testbf.cpp -v
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.13.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name testbf.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn -target-linker-version 351.8 -v -dwarf-column-info -debugger-tuning=lldb -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/9.1.0 -stdlib=libc++ -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/nino/Downloads/RTree-master -ferror-limit 19 -fmessage-length 204 -stack-protector 1 -fblocks -fobjc-runtime=macosx-10.13.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/51/gf7zs5q55kx8015hspd22hc40000gn/T/testbf-98f318.o -x c++ testbf.cpp
clang -cc1 version 9.1.0 (clang-902.0.39.1) default target x86_64-apple-darwin17.5.0
ignoring nonexistent directory "/usr/include/c++/v1"
#include "..." search starts here:
#include <...> search starts here:
/Library/Developer/CommandLineTools/usr/include/c++/v1
/usr/local/include
/Library/Developer/CommandLineTools/usr/lib/clang/9.1.0/include
/Library/Developer/CommandLineTools/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o out/TestBf /var/folders/51/gf7zs5q55kx8015hspd22hc40000gn/T/testbf-98f318.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a
Undefined symbols for architecture x86_64:
"bf::basic_bloom_filter::clear()", referenced from:
_main in testbf-98f318.o
"bf::basic_bloom_filter::basic_bloom_filter(double, unsigned long, unsigned long, bool, bool)", referenced from:
_main in testbf-98f318.o
"vtable for bf::basic_bloom_filter", referenced from:
bf::basic_bloom_filter::~basic_bloom_filter() in testbf-98f318.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
my os is os x 10.13.4, i have google the error and i try the all possible methods but not work.
i am so sorry to bother you, thanks.
from libbf.
Looks like linking fails because -lbf
is missing on the command line. If adding -lbf
doesn't do the trick, try adding -L/path/to/libbf-shared-lib
.
from libbf.
Related Issues (20)
- Avoid assert failure on bits_.size() % digests.size() HOT 2
- Path with space
- Possible performance issue when performing look-ups for non-existent entries HOT 3
- N3980: a more flexible way of hashing HOT 3
- make test failure
- Possible performance improvement by replacing % (modulo) with multiply + shift HOT 3
- Wrapping for Python 3 HOT 6
- Conan package HOT 5
- bits.size % digests.size() assert error make this library not friendly. HOT 3
- Remove dependency on Threads HOT 1
- MSVC not supported? HOT 1
- aux is a reserved file name on windows HOT 3
- Error while building on windows using MSVC HOT 1
- Segmentation fault when running in thread HOT 1
- Correction about counting bf. HOT 3
- GCC: Version 10.0.1 "runtime_error’ is not a member of ‘std" in hash.cpp HOT 2
- Incorrect header inclusion
- latest tag release HOT 1
- How can I add raw bytes, or non-null terminated strings? HOT 1
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 libbf.