首页 文章

无法在Qt创建者中配置mongodb

提问于
浏览
0

你好我在Windows 10中使用Qt creator 4.6.0和MongoDB 4.0,我已经安装了mongo-cxx-dirver-r3.3.0(mongodb的c++ drivers) . 问题是,

#include <mongocxx/client.hpp>
#include <mongocxx/instance.hpp>

每当我包含此文件进行连接时 . 但它给出了错误,

错误:C1083:无法打开包含文件:'bsoncxx / config / config.hpp':没有这样的文件或目录 . (包含.hpp config.hpp) .

但每当我检查驱动程序目录时,没有config.hpp文件,但我找到了config.hpp.in .

1 回答

相关问题