[odb-users] odb 2.5.0 b25 installation on windows

Boris Kolpackov boris at codesynthesis.com
Thu Oct 19 08:32:12 EDT 2023


Marc Michalewicz <mmichalewicz6 at gmail.com> writes:

> I am following the build2-instructions for 2.5.0; until the install-step
> everything works seamlessly but coming to this, I get several errormessages
> of which I pasted below the start.
>
> C:\odb-build\odb-mingw>bpkg install odb
> ld odb-2.5.0-b.25\odb\exe{odb}
> error: unknown installation directory name 'root'
>   info: did you forget to specify config.install.root?

The config.install.root value should have been specified as part of the
bpkg create command:

bpkg create -d odb-mingw cc^
  config.cxx=g++^
  config.cc.coptions=-O2^
  config.install.root=C:\build2

Can you make sure you did not omit it by accident?


> Apart from that it seams that the windows-install documentation was copied
> from the linux-installation doc, because there is no "where" command in
> windows

No, the Windows installation instructions were not just copied from
Linux, but they are very similar (which is the key point of build2 --
uniform interface across platforms/compilers).

And there is `where` command on Windows, provided you use a recent
enough version. For background, see:

https://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on-the-windows-command-line

https://ss64.com/nt/where.html



More information about the odb-users mailing list