Mongo cxx driver issue - undefined reference to `__imp__ZN7bsoncxx7v_

It looks like you’re following the tutorial here: Tutorial for mongocxx

-LC:/mongo-cxx-driver /lib

I think you have an extraneous space before /lib. Also, I don’t see any use of boost in your code, so you might want to remove that include directive.