cannot to compile extension by meson on windows

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: cannot to compile extension by meson on windows
Date: 2024-12-01 17:52:48
Message-ID: CAFj8pRDWp+uZL1K_k1Fr7CkbGiANO_Q=AoO=8CAGXiiu83UYUw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

Did somebody test compilation of any extension on the WIN platform by using
meson?

I prepared meson.build
https://github.com/orafce/orafce/blob/master/meson.build

I tested it successfully on Linux.

But it fails on Windows - a lot of compilation fails on missing libintl.h

DOCDIR = C:/PROGRA~1/POSTGR~1/16/doc
HTMLDIR = C:/PROGRA~1/POSTGR~1/16/doc
INCLUDEDIR = C:/PROGRA~1/POSTGR~1/16/include
PKGINCLUDEDIR = C:/PROGRA~1/POSTGR~1/16/include
INCLUDEDIR-SERVER = C:/PROGRA~1/POSTGR~1/16/include/server`

looks so msvc cannot work with just this configuration.

I can compile orafce when I use setup described by
https://github.com/orafce/orafce/blob/master/README.msvc

Regards

Pavel

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2024-12-01 18:05:11 Re: cannot to compile extension by meson on windows
Previous Message Andreas Karlsson 2024-12-01 17:47:20 INSERT ... ON CONFLICT DO SELECT [FOR ...] take 2