[build2] error when trying to compile build2

Phillip Shelton phillip.shelton at cardno.com.au
Wed Feb 9 22:29:32 UTC 2022


Hi,

I am trying to step through the bootstrapping steps for MinGW on Windows and after compiling the first exe the second step fails.

>c:\compilers\build2_build\build2-toolchain-0.15.0-a.0.20220204083418.a451ee2a9b05\build2>build2\b-boot --version
build2 99999.99999.99999
libbutl 99999.99999.99999
host x86_64-w64-mingw32
This is free software released under the MIT license.

>c:\compilers\build2_build\build2-toolchain-0.15.0-a.0.20220204083418.a451ee2a9b05\build2>build2\b-boot config.cxx=c:\compilers\mingw64\bin\g++ config.bin.lib=static build2\exe{b}
terminate called after throwing an instance of 'butl::invalid_basic_path<char>'
  what():  invalid filesystem path

I am not sure what is happening except that something that the above command is trying to do produces an invalid filesystem path. Whatever that means.

Do you have any further pointers that will help?

Phillip Shelton
Senior Transport Modeller
Cardno

Phone +61 7 3877 6991  
Address Level 11, 515 St Paul's Terrace, Fortitude Valley, 4006 Queensland Australia
Postal Locked Bag 4006, Fortitude Valley 4006
Email phillip.shelton at cardno.com.au  Web www.cardno.com

Cardno operates a quality management system that has been certified to ISO 9001.

This email and its attachments may contain confidential and/or privileged information for the sole use of the intended recipient(s). All electronically supplied data must be checked against an applicable hardcopy version which shall be the only document for which Cardno warrants accuracy. If you are not the intended recipient, any use, distribution or copying of the information contained in this email and its attachments is strictly prohibited. If you have received this email in error, please email the sender by replying to this message and immediately delete and destroy any copies of this email and any attachments. The views or opinions expressed are the author's own and may not reflect the views or opinions of Cardno.

-----Original Message-----
From: Boris Kolpackov <boris at codesynthesis.com> 
Sent: Friday, 4 February 2022 6:33 PM
To: Phillip Shelton via users <users at build2.org>
Cc: Phillip Shelton <phillip.shelton at cardno.com.au>
Subject: Re: [build2] error when trying to compile build2

Phillip Shelton via users <users at build2.org> writes:

> For my first problem, it does not help that I don't want to use the 
> default c:\build2\ location so it did not exist. As I said, pointing 
> the idir variable in the bat file to the location that I did want to 
> use "fixed" that location.

Ah, I see. You can use the --install-dir option to achieve the same result (you can see all the available options with --help).



More information about the users mailing list