Bug in new C++ driver?

From: Xauxatz <claus.skaaning@xxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Mon, 9 May 2016 04:17:41 -0700 (PDT)
Why ads?


When I try to compile my C++ program, I get an error when linking with the 
MongoDB new C++ driver (mongocxx) that there is an undefined reference.


The problem is easy to reproduce. Just try to compile the test example with 
in the quickstart guide (
https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver)). 
This is the error code:


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


I am using the newest 3.0.1 version of the C++ driver. The error was also 
there with 3.0.0.


Host: Ubuntu 64 bit

gcc: 5.1.1


Thanks for any help!


-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/492a1364-1c12-4b36-ab80-9eebda3bcc19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?