From 574fa4f7e67320fb703117dd84e24fb1d02dfab5 Mon Sep 17 00:00:00 2001 From: Onur Demir <101967110+onrdmr@users.noreply.github.com> Date: Fri, 26 Apr 2024 00:48:06 +0300 Subject: [PATCH 1/2] Update README.md windows sdk required for windows build --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ca791a0..1bbc0af 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ $ make install Windows ------- -There are several ways to build **wal2json** on Windows. If you are build PostgreSQL too, you can put **wal2json** directory inside contrib, change the contrib Makefile (variable SUBDIRS) and build it following the [Installation from Source Code on Windows](http://www.postgresql.org/docs/current/static/install-windows.html) instructions. However, if you already have PostgreSQL installed, it is also possible to compile **wal2json** out of the tree. Edit `wal2json.vcxproj` file and change `c:\pg\16` to the PostgreSQL prefix directory. The next step is to open this project file in MS Visual Studio and compile it. Final step is to copy `wal2json.dll` to the `pg_config --pkglibdir` directory. +There are several ways to build **wal2json** on Windows. If you are build PostgreSQL too, you can put **wal2json** directory inside contrib, change the contrib Makefile (variable SUBDIRS) and build it following the [Installation from Source Code on Windows](http://www.postgresql.org/docs/current/static/install-windows.html) instructions. However, if you already have PostgreSQL installed, it is also possible to compile **wal2json** out of the tree. Edit `wal2json.vcxproj` file and change `c:\pg\16` to the PostgreSQL prefix directory. Also, Windows 10 sdk is required and can be installed from visual studio installer. The next step is to open this project file in MS Visual Studio and compile it. Final step is to copy `wal2json.dll` to the `pg_config --pkglibdir` directory. Configuration ============= From c326ee6cbab7a9268ff90159071543dc60207bf1 Mon Sep 17 00:00:00 2001 From: Onur Demir <101967110+onrdmr@users.noreply.github.com> Date: Sat, 27 Apr 2024 13:58:52 +0300 Subject: [PATCH 2/2] Update wal2json.vcxproj Windows Target platform is not required. visual studio 2022 has already takes last version. if you want to made with specific version. we can add it from solution-> retarget projects on menu --- wal2json.vcxproj | 1 - 1 file changed, 1 deletion(-) diff --git a/wal2json.vcxproj b/wal2json.vcxproj index 09933e3..5daa8ae 100644 --- a/wal2json.vcxproj +++ b/wal2json.vcxproj @@ -14,7 +14,6 @@ 17.0 {185AF5B6-C04A-4710-8330-18A4416BD225} Win32Proj - 10.0