[gimpwin-users] Re: Can't Build the GIMP

Tor Lillqvist <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Kevin Myers writes:
 > 1. Had to comment out the lines in configure that were enabling
 > the -fnative_struct (undocumented?) compiler flag.  Apparantly that is
 > incompatible with the MinGW version of gcc that I downloaded (version 3.2
 > mingw special 20020817-1).

Use -mms-bitfields instead. It is *essential* to use these flags when
compiling code to use the prebuilt GTK+ DLLs. Otherwise your GIMP will
think various GTK structs have fields at different offsets than where
GTK+ thinks they are, and mysterious bugs will result.

 > 2. Had to delete intl from the SUBDIRS variable in the top level
 > Makefile.

Good...

 > 3. Had to change DATADIR to GDATDIR in the Makefile for libgimp and in
 > gimpenv.c, because MinGW had a conflicting definition and use of DATADIR in
 > one of its windows related header files.

Hmm, I haven't noticed that. Maybe it's some quite new addition to the
mingw headers (I have a relatively old mingw installtion). What header
file, and what's the value of DATADIR in it?

--tml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.