building with configuration VC-WIN64A fails #22385
-
I tried to build I used a bat file containing the following lines:
The first
Then both |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I should note that if I call |
Beta Was this translation helpful? Give feedback.
-
This normally occurs because of a discrepancy between the toolchain being used and the architecture that you are attempting to build for, i.e. using the x86 VC toolchain but attempting to build for VC-WIN64A (i.e. x86_64). If you run the compiler ( See: Lines 65 to 73 in eaee176 |
Beta Was this translation helpful? Give feedback.
-
thanks for your reply, Matt. you were right that I did not have the VC toolchain initialized correctly. I set it correctly now like so:
Unfortunately, I am still not able to build using VC-WIN64A.
I hit the following failure in the
it seems like the option |
Beta Was this translation helpful? Give feedback.
This normally occurs because of a discrepancy between the toolchain being used and the architecture that you are attempting to build for, i.e. using the x86 VC toolchain but attempting to build for VC-WIN64A (i.e. x86_64).
If you run the compiler (
cl.exe
) by itself with no arguments it should tell you what architecture it is targeting.See:
openssl/NOTES-WINDOWS.md
Lines 65 to 73 in eaee176