[odb-users] "The system cannot find the path specified" while trying to use b27 installed from bpkg

Boris Kolpackov boris at codesynthesis.com
Mon Oct 7 08:30:01 EDT 2024


NIkolai Marchenko <enmarantispam at gmail.com> writes:

> I am a bit at a loss... the only custom step I did was installing fresh
> msys and editing the root.build with addition of "config.odb.gxx_name =
> /w/tools/msys/mingw64/bin/g++"

Firstly, ODB is not an an MSYS2 application so you cannot use POSIX paths
with it. You will need to do:

config.odb.gxx_name = 'W:\tools\msys\mingw64\bin\g++'

Secondly, we only officially support ODB on Windows when used with the
MinGW GCC that we prepare and distribute. In particular, we make sure
that it is built with plugins support. The most recent GCC from MSYS2
(14.2.0) happens to have plugins enabled. The previous version (13.2.0)
did not.

Thirdly, if you decide to replace MinGW GCC used by ODB (at your own
risk), make sure that you also build ODB with this version. Only
specifying it in config.odb.gxx_name may not be enough.



More information about the odb-users mailing list