我正在遵循MongoDB C++驱动程序快速启动指南:https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver)
我在mongo-cxx-driver目录中,当我运行时:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..我得到以下错误:
CMake错误:源目录“/Users/Waley/code/mongo-cxx-驱动程序”似乎不包含CMakeLists.txt。
这是我能治好的吗?
发布于 2015-04-25 06:01:56
当您在mongo-cxx-driver中时,您应该输入文件夹build并从那里执行CMake命令。这正是您所指的网页中所述的内容。
https://stackoverflow.com/questions/29861515
复制相似问题