<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {mso-style-priority:99;
        mso-style-link:"Header Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {mso-style-priority:99;
        mso-style-link:"Footer Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.HeaderChar
        {mso-style-name:"Header Char";
        mso-style-priority:99;
        mso-style-link:Header;}
span.FooterChar
        {mso-style-name:"Footer Char";
        mso-style-priority:99;
        mso-style-link:Footer;}
span.EmailStyle21
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:black">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">I am trying to bootstrap build2 on a work computer.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">I am using the following compiler<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">>>C:\compilers\build2_build\build2-toolchain-0.14.0> c:\compilers\mingw64\bin\g++ --version<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">g++ (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 11.2.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Copyright (C) 2021 Free Software Foundation, Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">This is free software; see the source for copying conditions.  There is NO<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">So I first just tried the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">>>C:\compilers\build2_build\build2-toolchain-0.14.0>.\build-mingw.bat c:\compilers\mingw64\bin\g++<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">And got the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">error: C:\build2\bin\ does not exist<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">So I changed line 96 of the .bat file to:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">set "idir=C:\compilers\build2"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">from set "idir=C:\build2"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">This got further. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Now I get the this error<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">..\libbutl\libbutl\process.cxx: In constructor 'butl::process::process(const butl::process_path&, const char**, butl::process::pipe, butl::process::pipe, butl::process::pipe, const char*, const char* const*)':<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">..\libbutl\libbutl\process.cxx:1386:7: error: 'unique_ptr' was not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">1386 |       unique_ptr<char, void (*)(char*)> pevars (<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">      |       ^~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">..\libbutl\libbutl\process.cxx:104:1: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> 103 | #include <libbutl/process-details.hxx><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">  +++ |+#include <memory><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">  104 |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Is this because of the version of the compiler?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Will just doing as the note suggests work? Or will I have other unintended problems if I do this?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;color:#193661;mso-fareast-language:EN-AU">Phillip Shelton</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"> <br>
</span><span style="font-size:9.0pt;color:#8B9398;mso-fareast-language:EN-AU">SENIOR TRANSPORT MODELLER
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><br>
</span><span style="font-size:9.0pt;color:#8B9398;mso-fareast-language:EN-AU">CARDNO</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><br>
<br>
</span><a href="http://www.cardno.com/" target="''"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-AU;text-decoration:none"><img border="0" width="300" height="29" style="width:3.125in;height:.302in" id="_x0000_i1030" src="cid:image001.png@01D81942.D96DD760"></span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><br>
<br>
</span><span style="font-size:9.0pt;color:#193661;mso-fareast-language:EN-AU">Phone
</span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">+61 7 3369 9822  </span><span style="font-size:9.0pt;color:#193661;mso-fareast-language:EN-AU">Direct
</span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">+61 7 3877 6991  </span><span style="font-size:7.5pt;color:#003359;mso-fareast-language:EN-AU"><br>
</span><span style="font-size:9.0pt;color:#193661;mso-fareast-language:EN-AU">Address
</span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">Level 11, 515 St Paul's Terrace</span><span style="font-size:9.0pt;color:#565A5C;mso-fareast-language:EN-AU">,
</span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">Fortitude Valley</span><span style="font-size:9.0pt;color:#565A5C;mso-fareast-language:EN-AU">,
</span><span style="font-size:7.5pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"> </span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">Queensland</span><span style="font-size:7.5pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"> </span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">4006</span><span style="font-size:7.5pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"> </span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">Australia</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><br>
</span><span style="font-size:9.0pt;color:#193661;mso-fareast-language:EN-AU">Postal
</span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">Locked Bag 4006, Fortitude Valley 4006</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><br>
</span><span style="font-size:9.0pt;color:#193661;mso-fareast-language:EN-AU">Email
</span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">phillip.shelton@cardno.com.au
</span><span style="font-size:7.5pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"> </span><span style="font-size:9.0pt;color:#193661;mso-fareast-language:EN-AU">Web
</span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU">www.cardno.com</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="300" style="width:225.0pt">
<tbody>
<tr style="height:15.75pt">
<td width="160" valign="bottom" style="width:120.0pt;padding:0cm 0cm 6.75pt 0cm;height:15.75pt">
<p class="MsoNormal"><span style="font-size:9.0pt;color:#565A5C;mso-fareast-language:EN-AU">CONNECT WITH CARDNO</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
<td width="31" valign="top" style="width:23.25pt;padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal"><a href="http://www.linkedin.com/company/cardno"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-AU;text-decoration:none"><img border="0" width="21" height="21" style="width:.2187in;height:.2187in" id="_x0000_i1029" src="cid:image002.png@01D81942.D96DD760"></span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
<td width="31" valign="top" style="width:23.25pt;padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal"><a href="http://twitter.com/cardno"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-AU;text-decoration:none"><img border="0" width="21" height="21" style="width:.2187in;height:.2187in" id="_x0000_i1028" src="cid:image003.png@01D81942.D96DD760"></span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
<td width="31" valign="top" style="width:23.25pt;padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal"><a href="http://www.facebook.com/CardnoGlobal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-AU;text-decoration:none"><img border="0" width="21" height="21" style="width:.2187in;height:.2187in" id="_x0000_i1027" src="cid:image004.png@01D81942.D96DD760"></span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm;height:15.75pt">
<p class="MsoNormal"><a href="http://www.youtube.com/channel/UChnRtfJ_XrGJkMOgsrDmqBw"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-AU;text-decoration:none"><img border="0" width="21" height="21" style="width:.2187in;height:.2187in" id="_x0000_i1026" src="cid:image005.png@01D81942.D96DD760"></span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;display:none;mso-fareast-language:EN-AU"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td width="45" style="width:33.75pt;padding:11.25pt 0cm 11.25pt 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt">
<span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU"><img border="0" width="45" height="32" style="width:.4687in;height:.3333in" id="_x0000_i1025" src="cid:image006.png@01D81942.D96DD760" alt="Reconciliation Action Plan Icon"></span><span style="font-size:9.0pt;color:#5C6266;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:9.75pt">
<i><span style="font-size:7.0pt;color:#333C42;mso-fareast-language:EN-AU">Cardno acknowledges the Traditional Owners of the land upon which we live and work and pay our respects to their Elders past, present and emerging -
<a href="https://www.cardno.com/media/5170/cardno-reflect-reconciliation-action-plan.pdf" target="_blank">
<span style="color:#333C42">learn more</span></a>.<o:p></o:p></span></i></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;display:none;mso-fareast-language:EN-AU"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td style="padding:0cm 0cm 11.25pt 0cm">
<p class="MsoNormal"><span style="font-size:7.0pt;color:#193661;mso-fareast-language:EN-AU">Cardno’s management systems are certified to ISO9001 (quality) and AS/NZS4801/OHSAS18001 (occupational health and safety)</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 11.25pt 0cm">
<p class="MsoNormal"><span style="font-size:7.0pt;color:#8B9398;mso-fareast-language:EN-AU">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 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.</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black;mso-fareast-language:EN-AU"><br>
<br>
<br>
</span><o:p></o:p></p>
</div>
</body>
</html>