Re: GTK+2 & Windows



On Tue, 25 May 2004, Tor Lillqvist wrote:


Doesn't the message say what to do? This message comes from this
g_error() call:

    g_error ("Incompatible build!\n"
           "The code using GTK+ thinks GtkWindow is of different\n"
             "size than it actually is in this build of GTK+.\n"
           "On Windows, this probably means that you have compiled\n"
           "your code with gcc without the -fnative-struct\n"
           "(or -mms-bitfields) switch, or that you are using\n"
           "an unsupported compiler.");

I.e. you need to compile your source code with the -mms-bitfields gcc
switch.

I tried that and it did not work. Maybe I placed the -mms-bitfields in the wrong
place in my Dev-C++ IDE ?

---

Regards,
Alf Stockton    www.stockton.co.za

Goldenstern's Rules:
        (1) Always hire a rich attorney
        (2) Never buy from a rich salesman.



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