Hello,
I am attempting to use this library to parse BSON:
The source files compile fine, but when I go to link and build the example program I get the following error:
clang++ example1.o base64.o bson.o hex.o json.o parse_number.o time_support.o valid.o -o program
Undefined symbols for architecture x86_64:
"_bson::bsonelement::Obj() const", referenced from:
_bson::bsonelement::Array() const in valid.o
There is a member function of class bsonelement that is declared in bsonelement.h
bsonobj Obj() const;
but it is not defined or instantiated anywhere in the source files, as far as I can tell.
Has anyone used this library? Any suggestions? The error message from the linker is as follows:
Thanks!