mongofill / mongofill-hhvm

A mix of the original Mongofill extension + BSON implementation in C++
MIT License
32 stars 19 forks source link

Problems compiling #20

Closed dustyfresh closed 9 years ago

dustyfresh commented 9 years ago

Getting this error when trying to build

root@web-01:~/libbson/mongofill-hhvm# ./build.sh \ hphpize complete, now run cmake . && make to build -- Configuring for HHVM API version 20140829 -- bson Include dir: /usr/local/include/libbson-1.0 -- libbson library: /usr/local/lib/libbson-1.0.so -- Configuring done -- Generating done -- Build files have been written to: /root/libbson/mongofill-hhvm Scanning dependencies of target mongo [ 33%] Building CXX object CMakeFiles/mongo.dir/src/bson.cpp.o [ 66%] Building CXX object CMakeFiles/mongo.dir/src/encode.cpp.o /root/libbson/mongofill-hhvm/src/encode.cpp: In function ‘void HPHP::objectToBSON(const HPHP::Object&, const char_, bsont)’: /root/libbson/mongofill-hhvm/src/encode.cpp:86:36: error: ‘class HPHP::ObjectData’ has no member named ‘getClassNam e’ const String& className = value->getClassName(); ^ make[2]: * [CMakeFiles/mongo.dir/src/encode.cpp.o] Error 1 make[1]: * [CMakeFiles/mongo.dir/all] Error 2 make: *\ [all] Error 2

dustyfresh commented 9 years ago

I see there is another issue open for this. Closing this one. Sorry!