Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-605

Unable to compile new CXX driver

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 0.2.0
    • Build
    • None
    • Ubuntu 14.04, cmake2, ...
      Latest cxx driver git cloned; mongo-c driver and bson library successfully built

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: