-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.3.1
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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?