[odb-users] incomplete types for query/result

Boris Kolpackov boris at codesynthesis.com
Wed May 8 06:46:28 EDT 2013


Hi,

M at trixX <matrixx at underald.net> writes:

> /usr/libexec/odb/i686-linux-gnu/include/odb/query.hxx:89:65: error: no type 
> named 'query_base_type' in 'struct odb::object_traits_impl<vozidlo, 
> (odb::database_id)5u>'

I am pretty sure you forgot to enable query support when compiling your
headers with the ODB compiler. Try adding --generate-query (or -q for
short).

Boris



More information about the odb-users mailing list