[Gtk-sharp-list] Compilation on Win box

Ales Vojacek alesv at fbl.cz
Tue Jul 26 07:53:23 EDT 2005


Here is output from make -f makefile.win32

Ales

Ales Vojacek wrote:

> Hi,
> I did make -f makefile.w32 as it is written in readme.txt.
>
> The compilation try to find some files *.raw, but in directories are 
> only *2.4.raw and *2.6.raw. I did try to rename *2.6.raw to *.raw it 
> seems to help, but when compile gtk-sharp.dll it ends with errors like 
> : generated\Window.cs(347,31): error CS0030: Cannot convert type 
> 'GLib.Value' to 'Gtk.WindowPosition'.
>
> How can I build gtk-sharp on WIN box?
> Thank you.
> Ales
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
-------------- next part --------------
for i in generator parser glib pango atk gdk gtk glade gtkdotnet; do				\
	(cp gtk-sharp.snk $i; cd $i; CSC="/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32" make -f makefile.win32) || exit 1;\
done;
make[1]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/generator'
/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32 /unsafe /out:codegen.exe *.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

make[1]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/generator'
make[1]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/parser'
/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32 /unsafe /out:gapi-fixup.exe gapi-fixup.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

make[1]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/parser'
make[1]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/glib'
/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32 /unsafe /nowarn:0660,0661 /target:library /out:glib-sharp.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

Value.cs(275,17): warning CS0612: 'GLib.Boxed' is obsolete
Value.cs(277,15): warning CS0612: 'GLib.Boxed' is obsolete
../gapi-cdecl-insert --keyfile=gtk-sharp.snk glib-sharp.dll
cd glue && make -f makefile.win32
make[2]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/glib/glue'
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o error.o error.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o list.o list.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o object.o object.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o slist.o slist.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o type.o type.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o unichar.o unichar.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o value.o value.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o valuearray.o valuearray.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gobject-2.0` -o win32dll.o win32dll.c 
dllwrap -mno-cygwin -mms-bitfields --target i386-mingw32 --export-all-symbols --output-lib=libglibsharpglue-2.a --dllname=glibsharpglue-2.dll --driver-name=gcc --output-def=glibsharpglue-2.def error.o list.o object.o slist.o type.o unichar.o value.o valuearray.o win32dll.o `pkg-config --libs gobject-2.0`
make[2]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/glib/glue'
make[1]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/glib'
make[1]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/pango'
cp pango-api.raw pango-api.xml
chmod u+w pango-api.xml
../parser/gapi-fixup.exe --api=pango-api.xml --metadata=Pango.metadata
../generator/codegen --generate pango-api.xml --outdir=generated --customdir=. --assembly-name=pango-sharp --gluelib-name=pangosharpglue-2 --glue-filename=glue/generated.c --glue-includes=pango/pango.h && touch generated-stamp
Name: attribute Type: PangoAttribute*  in callback PangoAttrFilterFunc **** Stubbing it out ****
rettype: PangoAttribute* in method Get in Object Pango.AttrIterator
Name: attr Type: PangoAttribute* in pango_attr_list_change in Object Pango.AttrList
Name: attr Type: PangoAttribute* in pango_attr_list_insert_before in Object Pango.AttrList
Name: attr Type: PangoAttribute* in pango_attr_list_insert in Object Pango.AttrList
Name: char** Type: G_CONST_RETURN in pango_script_iter_get_range in Object Pango.ScriptIter

Generation Summary:
  Enums: 15  Structs: 9  Boxed: 3  Opaques: 12  Interfaces: 0  Objects: 8  Callbacks: 3
  Properties: 0  Signals: 0  Methods: 201  Constructors: 8  Throttled: 5
Total Nodes: 264

/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32 /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /out:pango-sharp.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

../gapi-cdecl-insert --keyfile=gtk-sharp.snk pango-sharp.dll
make[1]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/pango'
make[1]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/atk'
cp atk-api.raw atk-api.xml
chmod u+w atk-api.xml
../parser/gapi-fixup.exe --api=atk-api.xml --metadata=Atk.metadata
../generator/codegen --generate atk-api.xml --outdir=generated --customdir=. --assembly-name=atk-sharp --gluelib-name=atksharpglue --glue-filename=glue/generated.c && touch generated-stamp
Defaulting FocusHandler param to 'call' scope in method NoOpObject.AddFocusHandler
Defaulting PropertyChangeHandler param to 'call' scope in method Object.ConnectPropertyChangeHandler
Property has unknown Type value_array in Object Atk.Relation
Name: listener Type: GSignalEmissionHook in atk_add_global_event_listener in Object Atk.Global
Defaulting KeySnoopFunc param to 'call' scope in method Global.AddKeyEventListener
Defaulting EventListener param to 'call' scope in method Global.AddFocusTracker
Defaulting EventListenerInit param to 'call' scope in method Focus.TrackerInit

Generation Summary:
  Enums: 10  Structs: 5  Boxed: 1  Opaques: 0  Interfaces: 12  Objects: 11  Callbacks: 6
  Properties: 20  Signals: 21  Methods: 274  Constructors: 5  Throttled: 2
Total Nodes: 367

/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32 /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:atk-sharp.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

../gapi-cdecl-insert --keyfile=gtk-sharp.snk atk-sharp.dll
make[1]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/atk'
make[1]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/gdk'
cp gdk-api.raw gdk-api.xml
chmod u+w gdk-api.xml
../parser/gapi-fixup.exe --api=gdk-api.xml --metadata=Gdk.metadata
../generator/codegen --generate gdk-symbols.xml gdk-api.xml --include ../atk/atk-api.xml ../pango/pango-api.xml --outdir=generated --customdir=. --assembly-name=gdk-sharp --gluelib-name=gdksharpglue-2 --glue-filename=glue/generated.c --glue-includes=gdk/gdk.h && touch generated-stamp
Defaulting InvalidateMaybeRecurseChildFunc param to 'call' scope in method Window.InvalidateMaybeRecurse
Field Attr has unknown Type PangoAttribute in Struct Gdk.PangoAttrEmbossed
Field Attr has unknown Type PangoAttribute in Struct Gdk.PangoAttrStipple
Name: group Type: GOptionGroup* in gdk_add_option_entries_libgtk_only in Object Gdk.Global
Name: flags Type: GSpawnFlags in gdk_spawn_on_screen_with_pipes in Object Gdk.Spawn
Name: flags Type: GSpawnFlags in gdk_spawn_on_screen in Object Gdk.Spawn
Name: enter_fn Type: GCallback in gdk_threads_set_lock_functions in Object Gdk.Threads

Generation Summary:
  Enums: 54  Structs: 20  Boxed: 3  Opaques: 8  Interfaces: 0  Objects: 22  Callbacks: 8
  Properties: 9  Signals: 9  Methods: 469  Constructors: 25  Throttled: 6
Total Nodes: 633

/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32 /unsafe /nowarn:0660,0661 /target:library /r:System.Drawing.dll /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:gdk-sharp.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

generated\PixbufLoader.custom(56,5): warning CS0618: 'Gdk.PixbufLoader.Write(byte[], uint)' is obsolete: 'Replaced by Write (byte[], ulong) for 64 bit portability'
generated\PixbufLoader.custom(124,5): warning CS0618: 'Gdk.PixbufLoader.Write(byte[], uint)' is obsolete: 'Replaced by Write (byte[], ulong) for 64 bit portability'
../gapi-cdecl-insert --keyfile=gtk-sharp.snk gdk-sharp.dll
cd glue && make -f makefile.win32
make[2]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/gdk/glue'
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gdk-win32-2.0` -o dragcontext.o dragcontext.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gdk-win32-2.0` -o device.o device.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gdk-win32-2.0` -o event.o event.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gdk-win32-2.0` -o generated.o generated.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gdk-win32-2.0` -o selection.o selection.c 
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gdk-win32-2.0` -o win32dll.o win32dll.c 
dllwrap -mno-cygwin -mms-bitfields --target i386-mingw32 --export-all-symbols --output-lib=libgdksharpglue-2.a --dllname=gdksharpglue-2.dll --driver-name=gcc --output-def=gdksharpglue.def dragcontext.o device.o event.o generated.o selection.o win32dll.o `pkg-config --libs gdk-win32-2.0`
make[2]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/gdk/glue'
make[1]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/gdk'
make[1]: Entering directory `/cygdrive/e/alv/svn/gtk-sharp/gtk'
cp gtk-api.raw gtk-api.xml
chmod u+w gtk-api.xml
../parser/gapi-fixup.exe --api=gtk-api.xml --metadata=Gtk.metadata
../generator/codegen --generate gtk-api.xml gtk-symbols.xml --include ../atk/atk-api.xml ../pango/pango-api.xml ../gdk/gdk-api.xml ../gdk/gdk-symbols.xml --outdir=generated --customdir=. --assembly-name=gtk-sharp --gluelib-name=gtksharpglue-2 --glue-filename=glue/generated.c --glue-includes=gtk/gtk.h && touch generated-stamp
Name: scanner Type: GScanner* in gtk_accel_map_load_scanner in Object Gtk.AccelMap
Defaulting ClipboardTargetsReceivedFunc param to 'call' scope in method Clipboard.RequestTargets
Defaulting ClipboardImageReceivedFunc param to 'call' scope in method Clipboard.RequestImage
Defaulting ClipboardReceivedFunc param to 'call' scope in method Clipboard.RequestContents
Defaulting ClipboardTextReceivedFunc param to 'call' scope in method Clipboard.RequestText
Ellipsis parameter in gtk_container_child_set in Object Gtk.Container
Name: cclass Type: GObjectClass* in gtk_container_class_list_child_properties in Object Gtk.Container
Name: cclass Type: GObjectClass* in gtk_container_class_find_child_property in Object Gtk.Container
Ellipsis parameter in gtk_container_child_get in Object Gtk.Container
Ellipsis parameter in gtk_container_add_with_properties in Object Gtk.Container
Name: cclass Type: GtkContainerClass* in gtk_container_class_install_child_property in Object Gtk.Container
Ellipsis parameter in gtk_dialog_add_buttons in Object Gtk.Dialog
Ellipsis parameter in gtk_dialog_set_alternative_button_order in Object Gtk.Dialog
Defaulting IconViewForeachFunc param to 'call' scope in method IconView.SelectedForeach
Name: gchar** Type: G_CONST_RETURN in gtk_image_get_icon_name in gtk_image_get_icon_name in gtk_image_get_icon_name in Object Gtk.Image
Defaulting DestroyNotify param to 'call' scope in method ItemFactory.PopupWithData
Ellipsis parameter in gtk_list_store_insert_with_values in Object Gtk.ListStore
Defaulting MenuDetachFunc param to 'call' scope in method Menu.AttachToWidget
Ellipsis parameter in gtk_message_dialog_format_secondary_text in Object Gtk.MessageDialog
Ellipsis parameter in gtk_message_dialog_format_secondary_markup in Object Gtk.MessageDialog
Defaulting DestroyNotify param to 'call' scope in method Object.Weakref
Defaulting DestroyNotify param to 'call' scope in method Object.SetDataFull
Defaulting DestroyNotify param to 'call' scope in method Object.Weakunref
Defaulting DestroyNotify param to 'call' scope in method Object.SetDataByIdFull
Defaulting RcPropertyParser param to 'call' scope in method Settings.InstallPropertyParser
Ellipsis parameter in gtk_text_buffer_create_tag in Object Gtk.TextBuffer
Name: klass Type: GtkWidgetClass* in gtk_widget_class_list_style_properties in Object Gtk.Widget
Name: klass Type: GtkWidgetClass* in gtk_widget_class_install_style_property in Object Gtk.Widget
Name: klass Type: GtkWidgetClass* in gtk_widget_class_install_style_property_parser in Object Gtk.Widget
Name: klass Type: GtkWidgetClass* in gtk_widget_class_find_style_property in Object Gtk.Widget
Name: scanner Type: GScanner* in gtk_binding_parse_binding in Object Gtk.Global
Ellipsis parameter in gtk_show_about_dialog in Object Gtk.Global
rettype: GOptionGroup* in method GetOptionGroup in Object Gtk.Global
Name: entries Type: GOptionEntry* in gtk_init_with_args in Object Gtk.Init
Defaulting Function param to 'call' scope in method Init.Add
Defaulting KeySnoopFunc param to 'call' scope in method Key.SnooperInstall
Name: scanner Type: GScanner* in gtk_rc_parse_color in Object Gtk.Rc
rettype: GScanner* in method ScannerNew in Object Gtk.Rc
Name: scanner Type: GScanner* in gtk_rc_parse_state in Object Gtk.Rc
Name: scanner Type: GScanner* in gtk_rc_parse_priority in Object Gtk.Rc
Name: scanner Type: GScanner* in gtk_rc_find_pixmap_in_path in Object Gtk.Rc

Generation Summary:
  Enums: 68  Structs: 15  Boxed: 4  Opaques: 13  Interfaces: 8  Objects: 141  Callbacks: 46
  Properties: 550  Signals: 299  Methods: 1614  Constructors: 160  Throttled: 27
Total Nodes: 2945

/cygdrive/C/WINNT/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32 /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /out:gtk-sharp.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

generated\FileSelection.cs(279,25): warning CS0612: 'Gtk.OptionMenu' is obsolete
generated\FileSelection.cs(280,4): warning CS0612: 'Gtk.OptionMenu' is obsolete
generated\Widget.custom(116,2): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(121,2): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(126,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(132,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(138,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(144,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(150,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(156,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(162,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Widget.custom(168,12): warning CS0612: 'Gtk.Widget.Flags' is obsolete
generated\Container.custom(150,2): warning CS0618: 'Gtk.Container.ForAll(bool, Gtk.Container.CallbackInvoker)' is obsolete: 'Override the ForAll(bool,Gtk.Callback) method instead'
generated\Window.cs(347,31): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.WindowPosition'
generated\Window.cs(377,27): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.WindowType'
generated\Arrow.cs(44,27): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.ShadowType'
generated\Arrow.cs(59,26): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.ArrowType'
generated\Frame.cs(97,27): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.ShadowType'
generated\Box.cs(100,26): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.PackType'
generated\ButtonBox.cs(31,31): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.ButtonBoxStyle'
generated\CellRenderer.cs(145,33): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.CellRendererMode'
generated\CellRendererText.cs(83,28): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Underline'
generated\CellRendererText.cs(128,26): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Stretch'
generated\CellRendererText.cs(167,24): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Style'
generated\CellRendererText.cs(212,32): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.EllipsizeMode'
generated\CellRendererText.cs(281,26): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Variant'
generated\Curve.cs(56,26): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.CurveType'
generated\FileSelection.cs(283,50): warning CS0612: 'Gtk.OptionMenu' is obsolete
generated\HandleBox.cs(89,27): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.ShadowType'
generated\MessageDialog.cs(31,28): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.MessageType'
generated\Notebook.cs(260,26): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.PackType'
generated\ProgressBar.cs(196,33): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.ProgressBarStyle'
generated\ScrolledWindow.cs(66,27): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.CornerType'
generated\ScrolledWindow.cs(81,27): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.PolicyType'
generated\ScrolledWindow.cs(114,27): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.PolicyType'
generated\Table.cs(172,31): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.AttachOptions'
generated\Table.cs(217,31): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.AttachOptions'
generated\TextTag.cs(59,24): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Style'
generated\TextTag.cs(143,25): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.WrapMode'
generated\TextTag.cs(278,30): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.TextDirection'
generated\TextTag.cs(338,28): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Underline'
generated\TextTag.cs(428,30): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.Justification'
generated\TextTag.cs(533,26): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Variant'
generated\TextTag.cs(638,26): error CS0030: Cannot convert type 'GLib.Value' to 'Pango.Stretch'
generated\Toolbar.cs(56,29): error CS0030: Cannot convert type 'GLib.Value' to 'Gtk.ToolbarStyle'
make[1]: Leaving directory `/cygdrive/e/alv/svn/gtk-sharp/gtk'


More information about the Gtk-sharp-list mailing list