在Linux中按照mongodb官网指导
Quickstart Guide (New Driver)安装mongodb c++driver,
安装的最后
使用命令c++ --std=c++11hellomongo.cpp -o hellomongo $(pkg-config --cflags --libs libmongocxx)时出现错误提示:
The program 'c++' can be found in the following packages:
- g++
- clang
- pentium-builder Try: sudo apt-get install 我此前已安装g++4.8,请问该如何解决????