Home > Database > Mysql Tutorial > MongoDB4.6.1c++driver编译

MongoDB4.6.1c++driver编译

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:56:05
Original
1437 people have browsed it

这个版本已经和之前不一样了,有专门的github的项目。 首先获取源代码: git clone https://github.com/mongodb/mongo-cxx-driver.git git checkout 26compat scons --prefix=/usr --use-system-boost --sharedclient --full install-mongoclient # ls build

这个版本已经和之前不一样了,有专门的github的项目。

首先获取源代码:

git clone https://github.com/mongodb/mongo-cxx-driver.git
Copy after login
git checkout 26compat
Copy after login
scons --prefix=/usr --use-system-boost --sharedclient --full install-mongoclient
Copy after login
# ls build/linux2/use-system-boost/libmongoclient.a -alh
-rw-r--r-- 1 root root 57M  5月 10 23:35 build/linux2/use-system-boost/libmongoclient.a
# ls build/linux2/use-system-boost/libmongoclient.so -alh
-rwxr-xr-x 1 root root 20M  5月 10 23:37 build/linux2/use-system-boost/libmongoclient.so
Copy after login
# ls /usr/lib/libmongoclient.* -alh
-rw-r--r-- 1 root root 57M  5月 10 23:35 /usr/lib/libmongoclient.a
-rwxr-xr-x 1 root root 20M  5月 10 23:37 /usr/lib/libmongoclient.so
Copy after login
# ls /usr/include/mongo/ base bson buildinfo.cpp client db logger pch.cpp pch.h platform s scripting server.h shell targetver.h util经过了两年的等待,终于MongoDB 的C++ driver像一个正常的产品了。 
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template