[odb-users] Intermittent problems building solution
Boris Kolpackov
boris at codesynthesis.com
Mon Jul 15 07:14:02 EDT 2013
Hi Adam,
Adam Walters <adam at navigatesurgical.com> writes:
> The code that actually produces the errors is where I try to query
> it and actually when I typedef the query object:
>
> typedef odb::query<Case> query;
>
> This produces the following errors in Visual Studio 2012:
>
> error C2039: 'base_type' : is not a member of 'odb::query_selector<T,DB>'
> error C2065: 'base_type' : undeclared identifier
> error C2146: syntax error : missing ',' before identifier 'base_type'
> error C2504: 'odb::query_selector_impl<T,DB,kind>' : base class undefined
This usually happens when you forget to #include the ODB-generated header
file (case-odb.hxx in your case).
Boris
More information about the odb-users
mailing list