[odb-users] time stamp problem

Boris Kolpackov boris at codesynthesis.com
Sat Aug 24 02:38:49 EDT 2013


Hi John,

John Elemans <john at navigatesurgical.com> writes:

>      #pragma db type("TIMESTAMP") column ("modified") not_null readonly
>      boost::posix_time::ptime                    _modified;
>
> Error    3    error LNK2001: unresolved external symbol "public: 
> __cdecl odb::boost::exception::exception(struct odb::boost::exception
> const &)"

You need to build and link to libodb-boost. That's where the 
odb::boost::exception class is defined.

Boris



More information about the odb-users mailing list