Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4141272
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

分类: NOSQL

2018-05-14 23:44:02

最好禁掉OPENSSL和SASL,
-DENABLE_SASL=[CYRUS|SSPI|AUTO|OFF] -DENABLE_SSL=[OPENSSL|WINDOWS|DARWIN|AUTO|OFF]

windows脚本
cd c:/path/to/mongoc/ cd src/libbson # Configure and install libbson
cmake.exe -G "Visual Studio 14 2015 Win64" \ -DCMAKE_INSTALL_PREFIX=c:/mongoc
msbuild.exe ALL_BUILD.vcxproj
msbuild.exe INSTALL.vcxproj # Installs libbson

cd ../.. # Go back to the root folder of the release sources # Configure and install mongoc
cmake.exe -G "Visual Studio 14 2015 Win64" \ -DCMAKE_INSTALL_PREFIX=c:/mongoc \ -DCMAKE_PREFIX_PATH=c:/mongoc/lib/cmake \ -DENABLE_AUTOMATIC_INIT_AND_CLEANUP:BOOL=OFF \ -DENABLE_SSL=WINDOWS \ # Use Windows Native TLS, rather then OpenSSL -DENABLE_SASL=SSPI # Use Windows Native SSPI, rather then Cyrus SASL
msbuild.exe ALL_BUILD.vcxproj
msbuild.exe INSTALL.vcxproj
阅读(1452) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~