<html><head></head><body><div style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;"><div></div>
            <div>Hi,</div><div><br></div><div>It's still incomplete.</div><div>I figured out that if I add the above version.(h|hxx) files in advance, build-msvc.bat can do more.</div><div>I guess I have to do the corrections in <span>C:\build2-build\build2-toolchain-0.7-a.0\ again!</span></div><div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div>Sincerely,</div><div>Feiyun Wang<br></div><div><br></div>
            
            <div class="yahoo_quoted" id="yahoo_quoted_8053138185">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On ‎Wednesday‎, ‎May‎ ‎23‎, ‎2018‎ ‎10‎:‎51‎:‎51‎ ‎PM‎ ‎CST, Feiyun Wang <feiyunw@yahoo.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="yiv9440116091"><div><div style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;"><div></div>
            <div><span></span><div>Hi Boris,</div><div><br clear="none"></div><div>Thanks for your advice on build2 MSVC installation.<br clear="none">I downloaded some files and their sha256 from https://stage.build2.org/0/:<br clear="none">1. build2-baseutils-0.7.0-a.0-x86_64-windows.zip<br clear="none">2. build2-install-0.7.0-a.0-stage-msvc.bat<br clear="none">3. build2-mingw-0.7.0-a.0-x86_64-windows.tar.xz<br clear="none">4. build2-toolchain-0.7.0-a.0.20180519162456.33915a524877.tar.xz</div><div><br clear="none"></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 clear="none">````<br clear="none">...<br clear="none">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 clear="none">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 clear="none">````</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 clear="none">- #define PACKAGE_VERSION "$libpkgconf.version.project_id$"<br clear="none">+ #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 clear="none">...<br clear="none">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 clear="none">ver ..\libpkgconf\libpkgconf\version.h.in<br clear="none">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 clear="none">````</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 clear="none">````<br clear="none">#define BUILD2_VERSION       9999999990000ULL<br clear="none">#define BUILD2_VERSION_STR   "999.999.999"<br clear="none">#define BUILD2_VERSION_ID    "999.999.999"</div><div>#define BUILD2_VERSION_MAJOR 999<br clear="none">#define BUILD2_VERSION_MINOR 999<br clear="none">#define BUILD2_VERSION_PATCH 999</div><div>#define BUILD2_PRE_RELEASE   999</div><div>#define BUILD2_SNAPSHOT      9999999990000ULL<br clear="none">#define BUILD2_SNAPSHOT_ID   "999.999.999"</div><div>#include <libbutl/version.hxx></div><div>#ifdef LIBBUTL_VERSION<br clear="none">#  if !((LIBBUTL_VERSION > 69990001ULL || (LIBBUTL_VERSION == 69990001ULL && LIBBUTL_SNAPSHOT >= 1ULL)) && LIBBUTL_VERSION < 69990010ULL)<br clear="none">#    error incompatible libbutl version, libbutl [0.7.0-a.0.1 0.7.0-a.1) is required<br clear="none">#  endif<br clear="none">#endif<br clear="none">````</div><div>3. The 3rd time I ran .\build-msvc.bat, it yielded:<br clear="none">````<br clear="none">...<br clear="none">C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182>build2\build2\b-boot  install: build2\ bpkg\<br clear="none">ver libbpkg\libbpkg\version.hxx.in<br clear="none">ver libodb-sqlite\odb\sqlite\version-build2.hxx.in<br clear="none">ver libodb\odb\version-build2.hxx.in<br clear="none">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 clear="none">````</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 clear="none">````<br clear="none">#define BPKG_VERSION       9999999990000ULL<br clear="none">#define BPKG_VERSION_STR   "999.999.999"<br clear="none">#define BPKG_VERSION_ID    "999.999.999"</div><div>#define BPKG_VERSION_MAJOR 999<br clear="none">#define BPKG_VERSION_MINOR 999<br clear="none">#define BPKG_VERSION_PATCH 999</div><div>#define BPKG_PRE_RELEASE   999</div><div>#define BPKG_SNAPSHOT      9999999990000ULL<br clear="none">#define BPKG_SNAPSHOT_ID   "999.999.999"</div><div>#include <libbutl/version.hxx><br clear="none">#include <libbpkg/version.hxx><br clear="none">#include <odb/version.hxx><br clear="none">#include <odb/sqlite/version.hxx><br clear="none">````</div><div>4. I ran command: build2\build2\b-boot  install: build2\ bpkg\<br clear="none">It finished with:<br clear="none">````<br clear="none">install bpkg\doc{LICENSE}<br clear="none">install bpkg\doc{NEWS}<br clear="none">install bpkg\doc{README}<br clear="none">install bpkg\manifest{manifest}</div><div>C:\build2-build\build2-toolchain-0.7.0-a.0.20180522141759.4db23615b182><br clear="none">````<br clear="none">I guess it means a successful build2 installation?</div><div><br clear="none"></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: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: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 clear="none"></div><div><span>Sincerely,<br clear="none">Feiyun Wang<br clear="none"></span><br clear="none"></div></div>
            
            <div class="yiv9440116091yqt8088574065" id="yiv9440116091yqt44197"><div class="yiv9440116091yahoo_quoted" id="yiv9440116091yahoo_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 clear="none"></div>
                    <div><br clear="none"></div>
                    <div>Feiyun Wang <<a href="mailto:feiyunw@yahoo.com" target="_blank" rel="nofollow" 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="yiv9440116091yqt1506726272" id="yiv9440116091yqtfd34652"><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" rel="nofollow" shape="rect">https://stage.build2.org/0/</a><div class="yiv9440116091yqt1506726272" id="yiv9440116091yqtfd43550"><br clear="none"></div></div>
                </div>
            </div></div></div></div></div></div>
                </div>
            </div></div></body></html>