tests/test-conveniences.c:822:9: error: use of undeclared identifier 'BSON_TYPE_DECIMAL128'; did you mean 'BSON_TYPE_DOCUMENT'?
case BSON_TYPE_DECIMAL128: return "DECIMAL128";
^~~~~~~~~~~~~~~~~~~~
BSON_TYPE_DOCUMENT
OS and compiler are:
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Is anybody else getting this error?
Hi Guy,
It’s been a while since you posted this question. Have you found the solution ?
I’ve just ran three tests to build the latest of mongo-c-driver:
bc6f7e8d84b7ef7d1fc3dd4b3937655ca206019e
)For the below setup:
Apple LLVM version 7.0.2 (clang-700.1.81)
x86_64-apple-darwin15.4.0
(XCode 7.3)posix
All tests worked as expected (built and installed) by following the steps to build the driver from source.
If you are still having this issue, could you answer the following questions:
./autogen.sh
or ./configure
(depending on whether you are building from a git checkout or from a tarball). The output starting from “libbson was configured with the following options” is sufficient.Kind regards,
Wan.