Re: WIN32 build of a GTK2 app
- From: Klaehn t-online de (Joachim Klähn)
 
- To: gtk-list gnome org
 
- Subject: Re: WIN32 build of a GTK2 app
 
- Date: Wed, 05 Feb 2003 08:26:28 +0100
 
Graham Swallow schrieb:
I'm trying to compile/link/run a GTK app on WIN32 (it works on Linux).
I'm using:
	MinGW-2.0.0-3.exe
	MSYS-1.0.8-rc-1.exe
	gtk+-dev-2.2.0-20030119.zip
It links, but at run time says (in a popup dialog):
	Gtk-ERROR Incompatible build
	The code using GTK+ thinks GtkBox is of different
	size than it actually is on this build of GTK+
	On Windows ... without the -fnative-struct
	[or -mms-bitfields] switch, or ar using an unsupported
	compiler ...
So I go back to using the option and get the compile error:
	
	cc1plus.exe: unrecognised option '-fnative-struct'
Can someone please help me out here, what g++/msys works?
Hi,
Todd Kuleza answered to a similar question on gimpwin-dev list:
I believe this option was renamed -mms-bitfield or -mms-bitfields for 
gcc 3.0.
Achim
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]