Windows Requirements
Platform | default | fips | bindgen required? |
---|---|---|---|
x86_64-pc-windows-msvc | C/C++ Compiler, CMake & NASM | C/C++ Compiler, CMake, NASM, Go & Ninja | Yes |
x86_64-pc-windows-gnu | C/C++ Compiler, CMake & NASM | Not Supported | Yes |
aarch64-pc-windows-msvc | Not Yet Supported | Not Supported | N/A |
Other | Not Supported | Not Supported | N/A |
C/C++ Compiler
Use the following instructions to download Visual Studio Build Tools 2017.
- Download the Build Tools for Visual Studio installer.
- Execute the installer.
- If you have an existing installation chose
Modify
on the existing installation. - Under
Workloads
selectVisual C++ build tools
- Under
Individual componenets
selectC++/CLI support
C++ CMake tools for Windows
- Confirm selections and click
Install
CMake
- Download Windows CMake Installer
- Execute the installer
- Add the CMake installation binary directory to your PATH.
set PATH="C:\Program Files\CMake\bin;%PATH%"
NASM
- Download and install the Netwide Assembler (NASM)
- Add the NASM installation directory to your PATH
set PATH="C:\Program Files\NASM;%PATH%"
No-assembly build
It is possible to avoid the NASM requirement by setting the AWS_LC_SYS_NO_ASM
/AWS_LC_FIPS_SYS_NO_ASM
environment
variables. However, this severely impacts performance and can only be used for un-optimized/debug builds. See the
notes in our troubleshooting section.
Ninja
- Download and install Ninja
- Add the Ninja installation directory to your PATH
set PATH="C:\ninja\ninja_build;%PATH%"
Bindgen
On most platforms, bindgen
requires libclang
or llvm
package to be installed.
See the requirements page in
[The bindgen User Guide] for instructions.
libclang / LLVM
- Download LLVM Installer
- Execute the installer
- Update your environment to set
LIBCLANG_PATH
to the bin directory inside LLVM install directory.set LIBCLANG_PATH="C:\Program Files\LLVM\bin"
bindgen-cli
cargo install --force --locked bindgen-cli
Troubleshooting
See our troubleshooting section.