Debugging postgres on Windows - could not open directory "/lib"

From: Cathy Xie <cathy(dot)xyy(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Debugging postgres on Windows - could not open directory "/lib"
Date: 2023-02-21 22:12:06
Message-ID: 9042A6D0-93C2-40ED-A6EF-172407531F8C@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

To whom it may concern,

I'm trying to build and debug postgresql on Windows. After building successfully, a file named pgsql.sln was generated. I opened it in Visual Studio 2022, and set 'postgres' as the single startup project. But when I started debugging it, the error came out:

'FATAL: could not open directory "/lib": No such file or directory.

Here is my 'pgsql' Property setting in Visual Studio:

I would greatly appreciate it if someone could give me some suggestions on how to fix this issue.

Best regards,
Cathy

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brad White 2023-02-21 22:28:09 Re: Is Autovacuum running?
Previous Message David Rowley 2023-02-21 20:56:40 Re: Is Autovacuum running?