码迷,mamicode.com
首页 > 数据库 > 详细

windows下Mongodb的C++驱动编译

时间:2018-09-10 11:14:05      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:static   https   fir   2.7   for   file   com   blog   ati   

安装说明:

  https://github.com/mongodb/mongo-cxx-driver/wiki/Download-and-Compile-the-Legacy-Driver#get-the-source-code

必要软件:

   scons-2.5.0   http://scons.org/pages/download.html

   python 2.7    因为工作需要,我直接安装了Anaconda2 (32-bit) 2.7

       boost_1_61_0   https://sourceforge.net/projects/boost/files/boost/1.61.0/

驱动源码

 https://github.com/mongodb/mongo-cxx-driver

 备注:如果因为DNS问题无法上github,可以使用谷歌的DNS(4.4.4.4和8.8.8.8)

 

 解决boost库编译问题

http://blog.163.com/tfn2008@yeah/blog/static/11032131920146811957865/

 解决mongodb无法链接问题

 使用x64编译VC工程

编译boost库

http://blog.csdn.net/gyy930324/article/details/51556694

参考

http://blog.csdn.net/firebird321/article/details/49634221

windows下Mongodb的C++驱动编译

标签:static   https   fir   2.7   for   file   com   blog   ati   

原文地址:https://www.cnblogs.com/yankeyan/p/5737669.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!