cmake-cookbook
cmake-cookbook copied to clipboard
Chapter 08, recipe 02: Command failed: The system cannot find the file specified
I get error "Command failed: The system cannot find the file specified" when building ("cmake --build .") Chapter 08, recipe 02, superbuilding with boost.
It seems like it tries to run bootstrap.sh on windows.
This might be partly duplicate to https://github.com/dev-cafe/cmake-cookbook/issues/404 but it is closed so I create new issue.
- CMake version: 3.12.4
- Microsoft Windows [Version 10.0.17134.590]
- Visual Studio version: 15.9.6
- Cmake cookbook example cloned today (2019-02-25).
Error log:
08-02 - cmake boost superbuild fails.txt
bootstrap.sh_causing error in windows cmake-cookbook chapter 8 recipe 2 superbuild.txt

Thanks for the detailed report! We were probably not clear enough in the various README files about what works and what doesn't in CI. This particular recipe only works on AppVeyor when using MSYS and the GNU toolchain I agree that this recipe should work with your toolchain, but neither me nor @bast are expert Windows user and we could not make it to work at the time of writing. Pull requests are always welcome and we can guide you through the CMake issues you might encounter if you decide to tackle it.
OK, thank you, Roberto. We now use Conan for external libraries. It actually works. :-)