From 25ecabf1ea2f8b22fba77383da66ab4592f92c7d Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 7 Aug 2023 13:56:00 -0700 Subject: [PATCH] Improved Windows instructions - closes #218 [skip ci] --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e8d573..6d7aada 100644 --- a/README.md +++ b/README.md @@ -432,7 +432,13 @@ Note: Replace `15` with your Postgres server version ### Windows -Support for Windows is currently experimental. Use `nmake` to build: +Support for Windows is currently experimental. Ensure [C++ support in Visual Studio](https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170#download-and-install-the-tools) is installed, and run (update the path as needed): + +```cmd +call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" +``` + +Then use `nmake` to build: ```cmd set "PGROOT=C:\Program Files\PostgreSQL\15"