Re: cannot to compile extension by meson on windows
От | Pavel Stehule |
---|---|
Тема | Re: cannot to compile extension by meson on windows |
Дата | |
Msg-id | CAFj8pRCXxg4YNAmUFM+BLgmxs+e2_W2C=2fW9DfcXOBkYCOuDQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: cannot to compile extension by meson on windows (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: cannot to compile extension by meson on windows
|
Список | pgsql-hackers |
ne 1. 12. 2024 v 21:06 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:
ne 1. 12. 2024 v 19:23 odesílatel Andres Freund <andres@anarazel.de> napsal:Hi,
On 2024-12-01 19:11:05 +0100, Pavel Stehule wrote:
> ne 1. 12. 2024 v 19:05 odesílatel Andres Freund <andres@anarazel.de> napsal:
> > 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.
Then, presumably, your include paths don't include the relevant directory?it is taken from pg_config.exeOn my linux computer, libintl is in /usr/includeOn windows C:\Program Files\ PostgreSQL\16\includeSo looks so definitionshared_module(
'orafce',
orafce_sources,
include_directories: [includedir_server],
install: true,
install_dir: pkglibdir,
name_prefix: '',
)can works only on Linuxmsvc requiresinclude_directories: [includedir_server / 'port/win32_msvc', includedir_server / 'port/win32', includedir_server, includedir],Another prerequisite is using x64 Native tools command line, but still I have problem, because meson badly detects target cpu
look like my problem - I had to use --wipe
now, I am playing with linking issues
Greetings,
Andres Freund
В списке pgsql-hackers по дате отправления: