discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

missing header file - part 2 - libintl.h .. part of gettext but not found in the runtime

V
vulcan_@mac.com
Sat, Sep 27, 2025 11:21 PM

this library libintl by name, should have a .h file which should be included in the gettext package, but it isn’t .. at least it is not in the Gettext for Windows 11 ( 64-bit app ) that i have installed .. i have not found the source code that would have the .h file i need

anyone know where i can get the full source code for gettext .. or at least just the include files

jeff

this library libintl by name, should have a .h file which should be included in the gettext package, but it isn’t .. at least it is not in the Gettext for Windows 11 ( 64-bit app ) that i have installed .. i have not found the source code that would have the .h file i need anyone know where i can get the full source code for gettext .. or at least just the include files — jeff
MK
Marius Kintel
Sat, Sep 27, 2025 11:57 PM

libintl.h is typically generated from libintl.glibc at build time. Source code is here: https://github.com/autotools-mirror/gettext/blob/master/gettext-runtime/intl/libintl.glibc

-Marius

On Sep 27, 2025, at 19:21, vulcan_--- via Discuss discuss@lists.openscad.org wrote:

this library libintl by name, should have a .h file which should be included in the gettext package, but it isn’t .. at least it is not in the Gettext for Windows 11 ( 64-bit app ) that i have installed .. i have not found the source code that would have the .h file i need

anyone know where i can get the full source code for gettext .. or at least just the include files

jeff


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

libintl.h is typically generated from libintl.glibc at build time. Source code is here: https://github.com/autotools-mirror/gettext/blob/master/gettext-runtime/intl/libintl.glibc -Marius > On Sep 27, 2025, at 19:21, vulcan_--- via Discuss <discuss@lists.openscad.org> wrote: > > this library libintl by name, should have a .h file which should be included in the gettext package, but it isn’t .. at least it is not in the Gettext for Windows 11 ( 64-bit app ) that i have installed .. i have not found the source code that would have the .h file i need > > anyone know where i can get the full source code for gettext .. or at least just the include files > > — > > jeff > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JB
Jordan Brown
Sun, Sep 28, 2025 3:30 AM

On 9/27/2025 4:21 PM, vulcan_--- via Discuss wrote:

this library libintl by name, should have a .h file which should be
included in the gettext package, but it isn’t .. at least it is not in
the Gettext for Windows 11 ( 64-bit app ) that i have installed .. i
have not found the source code that would have the .h file i need

It seems like you are doing many of the things that would be required to
build OpenSCAD on a previously-unsupported toolchain. That's a pretty
big project, especially when it's not a UNIX-based platform, and
especially when it doesn't have all of the POSIX header files available.

I'd suggest using one of the supported environments.

anyone know where i can get the full source code for gettext .. or at
least just the include files

On 9/27/2025 4:21 PM, vulcan_--- via Discuss wrote: > > this library libintl by name, should have a .h file which should be > included in the gettext package, but it isn’t .. at least it is not in > the Gettext for Windows 11 ( 64-bit app ) that i have installed .. i > have not found the source code that would have the .h file i need > It seems like you are doing many of the things that would be required to build OpenSCAD on a previously-unsupported toolchain. That's a pretty big project, especially when it's not a UNIX-based platform, and especially when it doesn't have all of the POSIX header files available. I'd suggest using one of the supported environments. > anyone know where i can get the full source code for gettext .. or at > least just the include files > Looks like the glibc version is here: https://sourceware.org/git/?p=glibc.git;a=tree;f=intl;h=9b1bd3a2601c711a84a43600fab06f8e7a57f8b6;hb=HEAD
RV
Roel Vanhout
Sun, Sep 28, 2025 7:16 AM

If you really insist on getting all dependencies installed on Windows, by
far the easiest way in 2025 is to use vcpkg in classic mode. Just run the 3
or 4 commands in the vcpkg 'getting started' guide, then do 'vcpkg install
libintl' or whatever package it is you need and you get everything neatly
installed in one directory so you only need to add one path to your IDE's
include path.

Cheers

On Sun, Sep 28, 2025, 05:31 Jordan Brown via Discuss <
discuss@lists.openscad.org> wrote:

On 9/27/2025 4:21 PM, vulcan_--- via Discuss wrote:

this library libintl by name, should have a .h file which should be
included in the gettext package, but it isn’t .. at least it is not in the
Gettext for Windows 11 ( 64-bit app ) that i have installed .. i have not
found the source code that would have the .h file i need

It seems like you are doing many of the things that would be required to
build OpenSCAD on a previously-unsupported toolchain.  That's a pretty big
project, especially when it's not a UNIX-based platform, and especially
when it doesn't have all of the POSIX header files available.

I'd suggest using one of the supported environments.

anyone know where i can get the full source code for gettext .. or at
least just the include files

Looks like the glibc version is here:
https://sourceware.org/git/?p=glibc.git;a=tree;f=intl;h=9b1bd3a2601c711a84a43600fab06f8e7a57f8b6;hb=HEAD


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

If you really insist on getting all dependencies installed on Windows, by far the easiest way in 2025 is to use vcpkg in classic mode. Just run the 3 or 4 commands in the vcpkg 'getting started' guide, then do 'vcpkg install libintl' or whatever package it is you need and you get everything neatly installed in one directory so you only need to add one path to your IDE's include path. Cheers On Sun, Sep 28, 2025, 05:31 Jordan Brown via Discuss < discuss@lists.openscad.org> wrote: > > On 9/27/2025 4:21 PM, vulcan_--- via Discuss wrote: > > this library libintl by name, should have a .h file which should be > included in the gettext package, but it isn’t .. at least it is not in the > Gettext for Windows 11 ( 64-bit app ) that i have installed .. i have not > found the source code that would have the .h file i need > > It seems like you are doing many of the things that would be required to > build OpenSCAD on a previously-unsupported toolchain. That's a pretty big > project, especially when it's not a UNIX-based platform, and especially > when it doesn't have all of the POSIX header files available. > > I'd suggest using one of the supported environments. > > > anyone know where i can get the full source code for gettext .. or at > least just the include files > > Looks like the glibc version is here: > https://sourceware.org/git/?p=glibc.git;a=tree;f=intl;h=9b1bd3a2601c711a84a43600fab06f8e7a57f8b6;hb=HEAD > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
V
vulcan_@mac.com
Sun, Sep 28, 2025 10:52 AM

Roel Vanhout wrote:

If you really insist on getting all dependencies installed on Windows, by
far the easiest way in 2025 is to use vcpkg in classic mode. Just run the 3
or 4 commands in the vcpkg 'getting started' guide,

that is a great tip Roel, hartelijk bedankt

@JordanBrown i am not trying to build OpenSCAD on Windows .. i am just annoyed that Visual Studio Code shows red squiggly lines on include statements that it cannot find all of the sources for. And it looks all the way to the bottom of every tree of includes ! that is why i am looking for include files that are only available once you have run cmake at least once .. which i cannot do on my Windows machine cause i cannot get all the prerequisites installed .. or at least not where i can find them

i will just disable include file warnings in VSC and the problem will go away

Roel Vanhout wrote: > If you really insist on getting all dependencies installed on Windows, by > far the easiest way in 2025 is to use vcpkg in classic mode. Just run the 3 > or 4 commands in the vcpkg 'getting started' guide, that is a great tip Roel, hartelijk bedankt @JordanBrown i am not trying to build OpenSCAD on Windows .. i am just annoyed that Visual Studio Code shows red squiggly lines on include statements that it cannot find all of the sources for. And it looks all the way to the bottom of every tree of includes ! that is why i am looking for include files that are only available once you have run cmake at least once .. which i cannot do on my Windows machine cause i cannot get all the prerequisites installed .. or at least not where i can find them i will just disable include file warnings in VSC and the problem will go away