From a2057ceca76f4cd408cf45cd6ca67b6dd775be3d Mon Sep 17 00:00:00 2001 From: voltagex <83080728+voltagex@users.noreply.github.com> Date: Fri, 6 Jan 2023 14:20:26 +1100 Subject: [PATCH] Improve README for Windows users As discussed in #226 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 493762fa..197ed6ce 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,12 @@ behind this is that maintaining each sqlite's connection command pool is complicated and error prone. +# Compiling NIF for Windows +When compiling on Windows, you will need the [Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022) or equivalent toolchain. Please make sure you have the correct environment variables, including path to compiler and linker and architecture that matches `erl.exe` (likely x64). + +You may also need to invoke `vcvarsall.bat amd64` _before_ running `mix`. + + ## Contributing Feel free to check the project out and submit pull requests.