Re: cannot to compile extension by meson on windows - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: cannot to compile extension by meson on windows
Date
Msg-id CAFj8pRDtg3GUXwZZqQw1RWYnb+hpJY=A4Tdptji49DY2PSRo3Q@mail.gmail.com
Whole thread Raw
In response to Re: cannot to compile extension by meson on windows  (Andres Freund <andres@anarazel.de>)
Responses Re: cannot to compile extension by meson on windows
List pgsql-hackers


ne 1. 12. 2024 v 19:05 odesílatel Andres Freund <andres@anarazel.de> napsal:
Hi,

On 2024-12-01 18:52:48 +0100, Pavel Stehule wrote:
> 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

What windows build are you building against?

windows 11, msvc 2022
 

If it fails due to libintl you're likely missing the libintl headers that the
windows build was built against.

This file is part of PostgreSQL's header files from the EDB installer. I see this file there. I am able to build Orafce when I don't use meson.

Regards

Pavel


Greetings,

Andres Freund

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: cannot to compile extension by meson on windows
Next
From: Andres Freund
Date:
Subject: Re: cannot to compile extension by meson on windows