<html><head></head><body><div style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;"><div></div>
            <div><span><div>Hi Boris,</div><div><br></div><div>Thanks for your advice on build2 MSVC installation.<br>I downloaded some files and their sha256 from https://stage.build2.org/0/:<br>1. build2-baseutils-0.7.0-a.0-x86_64-windows.zip<br>2. build2-install-0.7.0-a.0-stage-msvc.bat<br>3. build2-mingw-0.7.0-a.0-x86_64-windows.tar.xz<br>4. build2-toolchain-0.7.0-a.0.20180519162456.33915a524877.tar.xz</div><div><br></div><div>Here is my report:</div><div>1. Following the [installation guide](https://build2.org/build2-toolchain/doc/build2-toolchain-install.xhtml#BOOTSTRAP-MSVC), I got some error and stopped:<br>````<br>...<br>C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\build2>build2\b-boot  config.cxx=cl config.bin.lib=static build2\exe{b}<br>error: unable to parse /showIncludes include error line 'C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\libpkgconf\libpkgconf/config.h(9): fatal error C1083: 无法打开包括文件: “libpkgconf/version.h”: No such file or directory'<br>````</div><div>I copied C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\libpkgconf\libpkgconf\version.h.in to version.h and modified it like:<br>- #define PACKAGE_VERSION "$libpkgconf.version.project_id$"<br>+ #define PACKAGE_VERSION "1.4.0-a.0.z"</div><div>2. The 2nd time I ran .\build-msvc.bat, it yielded:</div><div>````<br>...<br>C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\build2>build2\b-boot  config.cxx=cl config.bin.lib=static build2\exe{b}<br>ver ..\libpkgconf\libpkgconf\version.h.in<br>error: unable to parse /showIncludes include error line 'C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\build2\build2/utility.hxx(36): fatal error C1083: 无法打开包括文件: “build2/version.hxx”: No such file or directory'<br>````</div><div>I copied C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\build2\build2\version.hxx.in to version.h and modified it like:<br>````<br>#define BUILD2_VERSION       9999999990000ULL<br>#define BUILD2_VERSION_STR   "999.999.999"<br>#define BUILD2_VERSION_ID    "999.999.999"</div><div>#define BUILD2_VERSION_MAJOR 999<br>#define BUILD2_VERSION_MINOR 999<br>#define BUILD2_VERSION_PATCH 999</div><div>#define BUILD2_PRE_RELEASE   999</div><div>#define BUILD2_SNAPSHOT      9999999990000ULL<br>#define BUILD2_SNAPSHOT_ID   "999.999.999"</div><div>#include <libbutl/version.hxx></div><div>#ifdef LIBBUTL_VERSION<br>#  if !((LIBBUTL_VERSION > 69990001ULL || (LIBBUTL_VERSION == 69990001ULL && LIBBUTL_SNAPSHOT >= 1ULL)) && LIBBUTL_VERSION < 69990010ULL)<br>#    error incompatible libbutl version, libbutl [0.7.0-a.0.1 0.7.0-a.1) is required<br>#  endif<br>#endif<br>````</div><div>3. The 3rd time I ran .\build-msvc.bat, it yielded:<br>````<br>...<br>C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182>build2\build2\b-boot  install: build2\ bpkg\<br>ver libbpkg\libbpkg\version.hxx.in<br>ver libodb-sqlite\odb\sqlite\version-build2.hxx.in<br>ver libodb\odb\version-build2.hxx.in<br>error: unable to parse /showIncludes include error line 'C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\bpkg\bpkg/utility.hxx(21): fatal error C1083: 无法打开包括文件: “bpkg/version.hxx”: No such file or directory'<br>````</div><div>I copied C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182\bpkg\bpkg\version.hxx.in to version.hxx and modified it like:<br>````<br>#define BPKG_VERSION       9999999990000ULL<br>#define BPKG_VERSION_STR   "999.999.999"<br>#define BPKG_VERSION_ID    "999.999.999"</div><div>#define BPKG_VERSION_MAJOR 999<br>#define BPKG_VERSION_MINOR 999<br>#define BPKG_VERSION_PATCH 999</div><div>#define BPKG_PRE_RELEASE   999</div><div>#define BPKG_SNAPSHOT      9999999990000ULL<br>#define BPKG_SNAPSHOT_ID   "999.999.999"</div><div>#include <libbutl/version.hxx><br>#include <libbpkg/version.hxx><br>#include <odb/version.hxx><br>#include <odb/sqlite/version.hxx><br>````</div><div>4. I ran command: build2\build2\b-boot  install: build2\ bpkg\<br>It finished with:<br>````<br>install bpkg\doc{LICENSE}<br>install bpkg\doc{NEWS}<br>install bpkg\doc{README}<br>install bpkg\manifest{manifest}</div><div>C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182><br>````<br>I guess it means a successful build2 installation?</div><div><br></div><div>I tried <span><span style="outline: transparent 0px; color: rgb(0, 0, 0); line-height: normal; overflow: visible; padding-top: 0px; padding-right: 0px; word-wrap: break-word;"><span style="background-color: transparent; color: rgb(0, 0, 0); display: inline; float: none; font-family: &quot;courier new&quot;,courier,monaco,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">build2-install-0.7.0-a.0-stage-msvc.bat too, but it had the same problems as above.</span></span></span></div><div><span><span style="outline: transparent 0px; color: rgb(0, 0, 0); line-height: normal; overflow: visible; padding-top: 0px; padding-right: 0px; word-wrap: break-word;"><span style="background-color: transparent; color: rgb(0, 0, 0); display: inline; float: none; font-family: &quot;courier new&quot;,courier,monaco,monospace,sans-serif; font-size: 13px; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;"></span></span></span><br></div></span><div><span>Sincerely,<br>Feiyun Wang<br></span><br></div></div>
            
            <div class="yahoo_quoted" id="yahoo_quoted_7793961017">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On ‎Monday‎, ‎May‎ ‎21‎, ‎2018‎ ‎06‎:‎41‎:‎25‎ ‎PM‎ ‎CST, Boris Kolpackov <boris@codesynthesis.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div>Feiyun Wang <<a href="mailto:feiyunw@yahoo.com" shape="rect" ymailto="mailto:feiyunw@yahoo.com">feiyunw@yahoo.com</a>> writes:<br clear="none"><br clear="none">> I suggest to change "-std=c++1y" to "-std=gnu++14" for g++ options.<br clear="none">> BTW, "-std=c++14" doesn't work either.<br clear="none"><br clear="none">c++1y allows building build2 with older compilers (like GCC 4.9) that<br clear="none">don't recognize c++14. And since changing to c++14 didn't make any<br clear="none">difference, there is no reason to change it, is there?<div class="yqt1506726272" id="yqtfd34652"><br clear="none"><br clear="none"><br clear="none">> __POSIX_VISIBLE is ruining my pthreading on cygwin</div><br clear="none"><br clear="none">Cygwin is not our primary platform. If you can come up with a fix,<br clear="none">I would be happy to review/apply, but we ourselves unfortunately<br clear="none">have no resources to investigate this.<br clear="none"><br clear="none">Also, I would suggest that you use staged build2 for your testing<br clear="none">since it included all the latest features/fixes:<br clear="none"><br clear="none"><a href="https://stage.build2.org/0/" target="_blank" shape="rect">https://stage.build2.org/0/</a><div class="yqt1506726272" id="yqtfd43550"><br clear="none"></div></div>
                </div>
            </div></div></body></html>