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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -