Re: Questions I should have asked



Thank you for all the replies I received it makes me feel good that I am not
necessarily the only one on the bleeding edge of using Open Source on Windows.

While I attempt some of the compiler/linker switches suggested may I put the
following problem forward again.

I am now getting Gtk-ERROR** Incompatible Build when I attempt to
 run my Linux developed application on Windows.

Tor Lillqvist <tml iki fi> original reply was:-

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.


Tor thank you for this suggestion but when I attempt it by adding the
-mms-bitfields to the linker options I still get "Incompatible build!" & when I
add it to the compiler switches I get told by cc1.exe that "output filename
specified twice".

I get the same effect if I use -fnative-struct so now I am really confused.




---

Regards,
Alf Stockton    www.stockton.co.za

There's only one way to have a happy marriage and as soon as I learn
what it is I'll get married again.
                -- Clint Eastwood



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