[odb-users] Unresolved symbol - ODB 2.5.0-b.27 - PostgreSQL
Lloyd
lloydkl.tech at gmail.com
Wed Aug 14 02:59:51 EDT 2024
On Tue, Aug 13, 2024 at 8:20 PM Boris Kolpackov <boris at codesynthesis.com>
wrote:
> Lloyd <lloydkl.tech at gmail.com> writes:
>
> > I am trying out ODB 2.5 with PostgreSQL. When I link the application, I
> am
> > getting a link error.
> >
> > unresolved external symbol "public: static enum
> > odb::pgsql::details::endian_traits::endian const
> > odb::pgsql::details::endian_traits::host_endian"
> >
> > I am using ODB in shared mode by setting compiler definition
> "LIBODB_SHARED"
>
> I assume this is Windows. Try also adding LIBODB_PGSQL_SHARED.
>
Thanks a lot, this helped to resolve the error. Yes, this is Windows.
More information about the odb-users
mailing list