User forums > Using Code::Blocks

Compiling GTK+

(1/1)

hoffmany:
Hello all, I am using codeblocks to compile GTK+ code on WindowsXP. But after successfully compiling, the program cannot be run. I get error message such as "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 -mms-bitfields switch, or that you are using an unsupported compiler aborting...". How can I solve this problem? Where should the -mms-bitfields be used?

Thank you in advance.

Navigation

[0] Message Index

Go to full version