[odb-users] Cannot find Boost header file
Boris Kolpackov
boris at codesynthesis.com
Mon Jul 29 09:23:47 EDT 2024
Seiler Matthias SIGCH <Matthias.Seiler at stadlerrail.com> writes:
> 1>C:\odb\debug\include/odb/boost/date-time/mssql/gregorian-mapping.hxx:7:10: fatal error: boost/date_time/gregorian/gregorian_types.hpp: No such file or directory
> 1> 7 | #include <boost/date_time/gregorian/gregorian_types.hpp>
> 1> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I also added the path to boost (i.e.
> -I "C:\Program Files\boost\boost_1_85_0\boost"), which results in the
> same error.
Try adding -I "C:\Program Files\boost\boost_1_85_0" instead (as can be
seen from the above error, the Boost headers are included with the boost/
prefix).
More information about the odb-users
mailing list