[odb-users] l report a bug , and l want to kown how to maping boost.date to the mysql database

Boris Kolpackov boris at codesynthesis.com
Thu Jul 17 04:06:01 EDT 2014


冯固海 <jme22 at 126.com> writes:

> feng at feng:~/ODBEXAMPLE$ g++ -o main main.o Person-odb.o -lodb-mysql -lodb -lboost_thread -lpthread  -L/usr/local/lib -lboost_system
> Person-odb.o:在函数‘odb::boost::date_time::special_value::special_value()’中:

You need to link to the Boost date_time library. Add -lboost_date_time to
the above linking command line.


More information about the odb-users mailing list