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

Could not find header files

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.1
    • None
    • None

    Description

      I am trying to use mongocxx driver version 3.3.1 but when I am compiling the sample given in the docs, I have the following issue:

      In file included from /usr/local/include/bsoncxx/v_noabi/bsoncxx/document/element.hpp:20:0,
       from /usr/local/include/bsoncxx/v_noabi/bsoncxx/array/element.hpp:20,
       from /usr/local/include/bsoncxx/v_noabi/bsoncxx/array/view.hpp:21,
       from /usr/local/include/bsoncxx/v_noabi/bsoncxx/array/value.hpp:20,
       from /usr/local/include/bsoncxx/v_noabi/bsoncxx/builder/core.hpp:21,
       from /usr/local/include/bsoncxx/v_noabi/bsoncxx/builder/stream/document.hpp:17,
       from test.cpp:3:
      /usr/local/include/bsoncxx/v_noabi/bsoncxx/stdx/string_view.hpp:24:55: fatal error: bsoncxx/third_party/mnmlstc/core/string.hpp: No such file or directory
       #include <bsoncxx/third_party/mnmlstc/core/string.hpp>

      I built and installed the driver as follows:

       

      cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_PREFIX_PATH=/usr/local ..
      sudo make EP_mnmlstc_core
      make 
      make install

       

      What do you think ? Have I forgotten something?

       

       

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            Klaus Klaus [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: