[odb-users] Boost Error While Compiling

Tarik BENZ tenchu.tarik at hotmail.fr
Wed May 15 10:39:40 EDT 2013


Hello

I want to use the Boost date_time element in my program but I have a problem during the compilation.
I compiled the boost library and the libodb-boost. 

My compilation command line is :

..\ODB\odb-2.2.1-i686-windows\bin\odb -I ..\boost_1_53_0\stage\lib -I ..\ODB\libodb-boost-2.2.0\lib --profile boost/date-time/posix-time -d mssql --std c++11 --generate-query --generate-schema Account.hxx

I've got this error message :

odb\odb-2.2.1-i686-windows\mingw\bin\../../mingw/include/odb/boost/date-time/mssql/posix-time-mapping.hxx:8:59: fatal error: boost/date_time/posix_time/posix_time_types.hpp: No such file or directory

Can someone help me to handle this please?

Kind Regards,
   Tarik
 		 	   		  


More information about the odb-users mailing list