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

C++ mongodb driver not working as expected

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Critical - P2 Critical - P2
    • None
    • 3.0.0-rc0
    • BSON
    • None
    • OSX

    Description

      Get the following error while trying the test program on the Quick start guide page: https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver)

      g++ -c --std=c++11 -Wall -I/usr/local/include/mongocxx/v0.3 -I/usr/local/include/libmongoc-1.0 -I/usr/local/include/bsoncxx/v0.3 -I/usr/local/include/libbson-1.0 -c hellomongo.cpp
      hellomongo.cpp:3:10: fatal error: 'bsoncxx/builder/stream/document.hpp' file not found
      #include <bsoncxx/builder/stream/document.hpp>
      ^
      1 error generated.
      make: *** [hellomongo.o] Error 1

      Attachments

        Activity

          People

            Unassigned Unassigned
            vaidyasmriti@gmail.com Smriti Sharad Vaidya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: