Re: Can't Build the GIMP

"Kevin Myers" <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <006f01c27a0a$f6902a60$66c8a8c0@gusher>
See below...

----- Original Message -----
From: "Tor Lillqvist" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, October 22, 2002 3:13 PM
Subject: [gimpwin-users] Re: [gimpwin-dev] Can't Build the GIMP


> 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.

Thanks, I was concerned about that.  I did just see this in your newsgroup
thread as well.  I haven't yet subscribed to the gimp newsgroup, but plan to
do so now that I'm aware of it.


>
>  > 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?

DATADIR is in my d:\MinGW\include\objidl.h file.  As you can see below, it
has been defined as typedef that is completely unrelated to the usage in the
GIMP.  By the way, I am using Windows binary distributions of both MinGW
2.0.0-3 and mSys 1.0.7, downloaded from sourceforge.  Here is the relevant
extract:

typedef enum tagDATADIR {
    DATADIR_GET=1,
    DATADIR_SET
} DATADIR


>
> --tml
>
>
>
>
> To Post a message, send it to:   [email protected]
> To Unsubscribe, send a blank message to:
[email protected]
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
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.