<div dir="ltr">I am back on getting back on experimenting with build2 <div>and I was trying to re-do the tutorial but hit an assert violation.</div><div>In the tutorial it's when we try to bind a new project to a build directory containing</div><div>the dependencies of that project. Here is my log and attempts:</div><div><br></div><div><div>G:\perso\experiments\lol>b config.cxx=cl config.import.libhello=../lol-vs2017-debug</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div><br></div><div>G:\perso\experiments\lol>b config.cxx=cl config.import.libhello=G:\perso\experiments\lol-vs2017-debug</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div> 10% of targets updated</div><div>G:\perso\experiments\lol>b config.cxx=cl config.import.libhello="G:\\perso\\experiments\\lol-vs2017-debug"</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div> 20% of targets updated</div><div>G:\perso\experiments\lol>b config.cxx=cl config.import.libhello="G:\perso\experiments\lol-vs2017-debug"</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div>Assertion failed: rt != nullptr, file G:\perso\build2-build\build2-toolchain-0.6.2.tar\build2-toolchain-0.6\build2-0.6.1\build2\algorithm.cxx, line 1231</div><div> 10% of targets updated</div><div>G:\perso\experiments\lol>b --version</div><div>build2 0.6.1</div><div>libbutl 0.6.0</div><div>host x86_64-microsoft-win32-msvc14.0</div><div>Copyright (c) 2014-2017 Code Synthesis Ltd</div><div>This is free software released under the MIT license.</div></div><div><br></div><div><br></div><div><br></div><div>Looking quickly at the code (I'm not familiar with it yet), I suspect that:</div><div> - it might be a "correct" state that should have lead to an error message if the assert was not</div><div>triggered, aka in non-debug build of build2?</div><div> - if the issue is that the path is incorrect, then I should have that info instead of an assert,</div><div>   even if debug?</div><div> - I'm not sure which path syntax is acceptable on Windows for build2 (all my attempts failed anyway);</div><div><br></div><div>Note that everything previous to this point int the tutorial happened as expected (except that the dependencies of hello project changed apparently).</div><div><br></div><div><br></div><div>A. Joël Lamotte</div></div>