pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: pradeepdev-1995 (@pradeepdev-1995) <noreply+pradeepdev-1995@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #669: Fails to nmake on PostgreSQL 17 RC1 [Windows]
Date: Wed, 11 Sep 2024 11:38:41 +0000
Message-ID: <gh-pgvector-pgvector-669-c2343430241@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-669@github.com>
References: <gh-pgvector-pgvector-669@github.com>

facing the same issue on Windows.
Following these instructions to enable vector extension on windows os -https://github.com/pgvector/pgvector?tab=readme-ov-file#windows
as part of that 
I'm trying to run the command - ```F Makefile.win install```

But it shows
```

C:\Users\PRADEEP\AppData\Local\Temp\pgvector>nmake /F Makefile.win install

Microsoft (R) Program Maintenance Utility Version 14.41.34120.0
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl /nologo /I"C:\Program Files\PostgreSQL\16\include\server\port\win32_msvc" /I"C:\Program Files\PostgreSQL\16\include\server\port\win32" /I"C:\Program Files\PostgreSQL\16\include\server" /I"C:\Program Files\PostgreSQL\16\include"   /O2 /fp:fast /c src\bitutils.c /Fosrc\bitutils.obj
bitutils.c
src\bitutils.c(1): fatal error C1083: Cannot open include file: 'postgres.h': No such file or directory
NMAKE : fatal error U1077: 'cl /nologo /I"C:\Program Files\PostgreSQL\16\include\server\port\win32_msvc" /I"C:\Program Files\PostgreSQL\16\include\server\port\win32" /I"C:\Program Files\PostgreSQL\16\include\server" /I"C:\Program Files\PostgreSQL\16\include"   /O2 /fp:fast /c src\bitutils.c /Fosrc\bitutils.obj' : return code '0x2'
Stop.

```


view thread (22+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-669-c2343430241@github.com>
Permalink:  ../gh-pgvector-pgvector-669-c2343430241@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox