C++ mongodb driver not working as expected

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Critical - P2
    • None
    • Affects Version/s: 3.0.0-rc0
    • Component/s: BSON
    • None
    • Environment:
      OSX
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Smriti Sharad Vaidya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: