[EXTERNAL]Re: [odb-users] Cannot find Boost header file

Boris Kolpackov boris at codesynthesis.com
Tue Jul 30 05:47:59 EDT 2024


Seiler Matthias SIGCH <Matthias.Seiler at stadlerrail.com> writes:

> Unfortunately, it now seems not to find odb headers:
> 
> 1>C:\gitlab\ProjectName\generated\Table-odb.cxx(7,10): error C1083: Cannot open include file: 'odb/pre.hxx': No such file or directory
> 1>C:\gitlab\ProjectName\ProjectClass.h(5,10): error C1083: Cannot open include file: 'odb/database.hxx': No such file or directory

Well, this is no longer the ODB compiler, but rather you compiling the
generated code with your C++ compiler, right?

In this case, try adding -I C:\odb\debug\include .



More information about the odb-users mailing list