Unable to compile new CXX driver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 0.2.0
    • Component/s: Build
    • None
    • Environment:
      Ubuntu 14.04, cmake2, ...
      Latest cxx driver git cloned; mongo-c driver and bson library successfully built
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Compilation errors such as
      Scanning dependencies of target mongocxx
      [ 23%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/bulk_write.cpp.o
      In file included from /home/eloise/Downloads/mongo-cxx-driver/src/mongocxx/private/bulk_write.hpp:20:0,
      from /home/eloise/Downloads/mongo-cxx-driver/src/mongocxx/bulk_write.cpp:19:
      /home/eloise/Downloads/mongo-cxx-driver/src/mongocxx/private/libmongoc.hpp:31:63: error: ‘mongoc_bulk_operation_get_write_concern’ was not declared in this scope
      #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name;
      ^
      /home/eloise/Downloads/mongo-cxx-driver/src/mongocxx/private/libmongoc_symbols.hpp:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’
      MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_get_write_concern)
      ^
      make[2]: *** [src/mongocxx/CMakeFiles/mongocxx.dir/bulk_write.cpp.o] Error 1
      make[1]: *** [src/mongocxx/CMakeFiles/mongocxx.dir/all] Error 2
      make: *** [all] Error 2

            Assignee:
            Unassigned
            Reporter:
            Eloise Destelle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: