Independant BSON C library

558 views
Skip to first unread message

Nicoolas

unread,
Mar 23, 2012, 12:44:25 PM3/23/12
to BSON
Hello,

I wish to implement BSON to serialize data on a device only
programmable in C (without using MongoDB at all)

I downloaded the MongoDB C driver and compiled the two libraries
libbson and libmongoc.

I was hoping to build the BSON test file (bson_test.c) against the
bson lib only, but it seems to requires both bson and mongdb libraries
(the symbols bson_check_string and bson_check_field_name) only exist
in the mongodb lib).

Therefore here are my questions:
- are those functions mandatory to serialize / unserialize data with
BSON ?
- are they meant to be included in the mongodb lib only ?

Thanks to anyone who could help me out !

Nico

Kyle Banker

unread,
Mar 23, 2012, 12:56:54 PM3/23/12
to bs...@googlegroups.com
Hi Nico,

Were you building using SCons or make? The Makefile wasn't including encoding.o. I've just fixed that in the latest commit. Let me know if it works now.

Kyle

Nicoolas

unread,
Mar 26, 2012, 4:40:56 AM3/26/12
to BSON
Hello Kyle,

Thanks for your prompt reply !

I used make to build the project. I tried the latest version and it
works great.
Thanks again for the fix and your help

Nico

Kyle Banker

unread,
Mar 26, 2012, 2:37:56 PM3/26/12
to bs...@googlegroups.com
Awesome.
Reply all
Reply to author
Forward
0 new messages