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.