Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 08, recipe 02: Command failed: The system cannot find the file specified #507

Open
bengt-ehn opened this issue Feb 25, 2019 · 2 comments
Labels
appveyor-ci All things wonky with Appveyor CI testing All things wonky about the testing infrastructure

Comments

@bengt-ehn
Copy link

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 #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
cmake windows fail

@robertodr
Copy link
Collaborator

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.

@robertodr robertodr added testing All things wonky about the testing infrastructure appveyor-ci All things wonky with Appveyor CI labels Feb 28, 2019
@bengt-ehn
Copy link
Author

OK, thank you, Roberto. We now use Conan for external libraries. It actually works. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appveyor-ci All things wonky with Appveyor CI testing All things wonky about the testing infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants