[odb-users] Problem linking my project: undefined reference to `odb::access::object_traits_impl

Faissal Elamraoui amr.faissal at gmail.com
Thu May 14 09:19:44 EDT 2015

Hello everyone,

I keep getting this error while linking my C++ project on NetBeans :

/usr/local/include/odb/database.txx:38: undefined reference to
(odb::database_id)0>::persist(odb::database&, BGOParams&)'
collect2: error: ld returned 1 exit status

odb and odb-mysql libraries are already passed to the Linker, but no

Any pointers? Am i missing something?

Thank you guys,

More information about the odb-users mailing list