-
-
Notifications
You must be signed in to change notification settings - Fork 740
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
On Windows, failed to run custom build command #442
Comments
Did you follow the instructions in the README to point the crate to OpenSSL's headers? Make sure you "cargo clean" after setting it up. |
Yes I create an environment variable I dowload
Rem : No errors under msys2. |
I have a similar problem, with MSVC 64-bit. According to |
|
Huh, not sure why it got me farther in the build. Actually, looking at the |
(I think my issue is different from LeMoussel's, but for posterity, I fixed mine by setting |
The resolution of what libraries are named on windows is a huge ad-hoc mess. I'm not actually totally sure what the right behavior is there. |
If all the values can be passed via env vars, then I can use Cargo.io to fetch/build/produce the correct values for the build/platform. |
I was unable to get static linking to respect the OPENSSL_LIBS env variable... as such, I literally used Thanks to everyone here sharing their own solutions. I'm okay in the short term with filename tweaks... but I'm assuming this will later need to make sure:
frankly, I'm guessing it has to be that way because no one truly owns openssl builds on windows... it's just a charity and these are the breadcrumbs. |
The 0.9 release has heavily overhauled the library lookup process. |
For Windows (MSVC ABI) 32-bit, On cargo build:
The text was updated successfully, but these errors were encountered: