[odb-users] compiling odb library

Boris Kolpackov boris at codesynthesis.com
Thu Mar 17 10:54:30 EDT 2022

Phillip Shelton <phillip.shelton at cardno.com.au> writes:

> >Yes, that's the problem, your MinGW GCC appears to be mis-configured:
> So strictly I should try to contact winlib and ask then how to
> properly configure MinGW.

More precisely, contact winlibs (note that it's winlibs.com, not
winlib.com) and tell them that their build of MinGW GCC is mis-
configured. I doubt you will be able to do anything about it on
your side short of rebuilding GCC from source.

> And yes, when I do have a c:\mingw\include, the search path
> /mingw/include does find it.

Ok, thanks for confirming. Based on that I went ahead and added
a workaround in build2 to basically do as GCC.

> So at the moment I can not use this compiler to build anything
> that requires build2 and therefore odb.

You can try the latest staged toolchain that includes the above
fix, if you would like:


You will need to build build2 again (this time the staged version).
It's up to you if you want to rebuild the ODB compiler with that
or just use the build you already have. There should be no issue
with the latter if you install the staged build2 version somewhere
else and just use it to build the runtime libraries.

More information about the odb-users mailing list