[build2] error when trying to compile build2

Phillip Shelton phillip.shelton at cardno.com.au
Sat Feb 12 10:26:35 UTC 2022


Thank you for your quick response.

In order;
 1/ OS Name	Microsoft Windows 10 Enterprise Version	10.0.19042 Build 19042
 2/ yes it is the vanilla command line.
 3/ yes that is my working version of MinGW.  I will download and try the official version soon.

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: Thursday, 10 February 2022 11:44 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:

> >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

Hm, I tried to reproduce this but could not. So there must be something special about your environment. Could you provide more information/try the following:

1. What version of Windows are you using? We have seen reports that
   MinGW GCC has issues with Windows 11.

2. Are you running this from the vanilla Windows Command Prompt? If not,
   could you try that?

3. I assume c:\compilers\mingw64\bin\g++ is your own MinGW GCC you've
   mentioned earlier. If so, could you try these steps with the
   "official" MinGW GCC from build2-mingw packages just to see if
   it makes a difference?



More information about the users mailing list