Re: UPDATE Need help getting a project to compile



Le ven 18/06/2004 à 05:45, Chris W a écrit :
> Chris W wrote:
> 
> I added a symbolic link in /target to the lib and include dirs that
> point to the corresponding folders in the GTK install dir.  Now it
> compiles but wouldn't you know it, it won't run.  Here is the pop up
> error... since I can't copy and past the text there will probably be
> some typos....
> 
> Gtk-ERROR **: Incompatible build!
> The code using GTK+ thinks GtkBox is of different
> size than it actually is in this build of GTK+
> On Windows, this probably means that you have compiled
> your code with gcc without the -fnative-struct
> (or -mms-bitfields) switch, or that you are using
> an unsupported complier.
> aborting. . .
> 
> I looked in the make file and didn't find the options it mentioned but I
> don't know where to add them.

To add a flag to your build, on unix we type something as:

CFLAGS="-fnative-struct" ./configure

I suppose it also work with cygwin.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]