-
Notifications
You must be signed in to change notification settings - Fork 24
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
"Cannot find compiler" error in leptonica Windows build #117
Comments
Hi, Do you have |
The
|
OK, but when I just execute
That's version 19.36, not 19.35. I'll try to figure out why the numbers are disagreeing. |
OK, I believe that our build failure stemmed from those disagreeing version numbers. Due to the way that the conda-forge build environment is set up, the I don't know enough about the Maybe also a message could be added so that if/when this error happens in the future, the user gets a suggestion to check that CMake and Also, for posterity: we worked around this problem by setting CMake to use the |
Is it possible to run that sw command from cmake from your initial post with |
It would be a challenge for me to reproduce the build environment at this point, but I believe that if I manually invoked it that way, everything would work. |
Describe the bug
In the conda-forge project, we are trying to build leptonica with sw. The Windows build is failing at the end of the
sw setup
stage with an error about not being able to find the compiler. (Specifics below.)Expected behavior
No build errors.
To Reproduce
Steps to reproduce the behavior:
Information:
Here's the specific message (after some manual linewrapping):
In our last successful build, instead of the error, the next output was:
The text was updated successfully, but these errors were encountered: