AtnNn / librethinkdbxx

RethinkDB driver for C++
Other
98 stars 31 forks source link

failing to link library in main app #38

Open SpY0o2 opened 6 years ago

SpY0o2 commented 6 years ago

I built the latest rethinkdb driver with gcc, and I am failing the linking stage in my main application with the same gcc 5.3.0 (my app is failing to find references)

undefined reference to `RethinkDB::connect(std::1::basic_string<char, std::__1::char_traits, std::1::allocator >, int, std::1::basic_string<char, std::__1::char_traits, std::1::allocator >)'

more undefined references to `RethinkDB::Term::run(RethinkDB::Connection&, std::1::map<std::1::basic_string<char, std::1::char_traits, std::1::allocator >, RethinkDB::Term, std::1::less<std::__1::basic_string<char, std::1::char_traits, std::1::allocator > >, std::1::allocator<std::1::pair<std::1::basic_string<char, std::__1::char_traits, std::__1::allocator > const, RethinkDB::Term> > >&&)' follow clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

would appreciate any pointers!