mongodb - Mongo new c++ driver error -


when try compile c++ program, error when linking mongodb new c++ driver (mongocxx) there undefined reference.

the problem easy reproduce. try compile test example in quickstart guide (https://github.com/mongodb/mongo-cxx-driver/wiki/quickstart-guide-(new-driver)). error code:

hellomongo.cpp:(.text+0x3f): undefined reference `mongocxx::v_noabi::uri::k_default_uri[abi:cxx11]' 

i using newest 3.0.1 version of c++ driver. error there 3.0.0.

i've replied identical question on mongodb-user list:

https://groups.google.com/forum/#!topic/mongodb-user/bqvtonyd9pe


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -