Error building for 64-bit Windows (10)

The Post Office <noreply@postgresql.org>

From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: brian.y.ye@gmail.com
Date: 2021-05-17T20:07:02Z
Lists: pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/install-windows-full.html
Description:

The Solution.pm file has the following lines:
	if ($self->{options}->{gss})
	{
	    $proj->AddIncludeDir($self->{options}->{gss} . '\inc\krb5');
	    $proj->AddLibrary($self->{options}->{gss} . '\lib\i386\krb5_32.lib');
	    $proj->AddLibrary($self->{options}->{gss} .
'\lib\i386\comerr32.lib');
	    $proj->AddLibrary($self->{options}->{gss} .
'\lib\i386\gssapi32.lib');
	}
I had to change them to the following or the compiling failed:
	if ($self->{options}->{gss})
	{
		$proj->AddIncludeDir($self->{options}->{gss} . '\include');
		$proj->AddIncludeDir($self->{options}->{gss} . '\include\krb5');
		$proj->AddLibrary($self->{options}->{gss} . '\lib\amd64\krb5_64.lib');
		$proj->AddLibrary($self->{options}->{gss} . '\lib\amd64\comerr64.lib');
		$proj->AddLibrary($self->{options}->{gss} . '\lib\amd64\gssapi64.lib');

Commits

  1. Fix MSVC scripts when building with GSSAPI/Kerberos