View previous topic :: View next topic |
Author |
Message |
yakumo9275
Joined: 07 Oct 2009 Posts: 2
|
Posted: Wed Oct 07, 2009 2:57 am Post subject: building on windows |
|
|
So I am running d1.0, I have dsss and I installed the gtk 2.16.1 from the gtkd site, and i have gtkd 1.2
I have my GTK includes setup via include;
Code: |
set include="%GTK_BASEPATH%\include";
"%GTK_BASEPATH%\include\gtk-2.0";
"%GTK_BASEPATH%\include\gtk-2.0\gtk";
"%GTK_BASEPATH%\include\gtk-2.0\gdk";
"%GTK_BASEPATH%\include\glib-2.0";
"%GTK_BASEPATH%\include\atk-1.0";
"%GTK_BASEPATH%\include\cairo";
"%GTK_BASEPATH%\include\gail-1.0";
"%GTK_BASEPATH%\include\pango-1.0";
"%GTK_BASEPATH%\include\libpng12";
|
doing a dsss build shows me;
Code: |
C:\D\gtkD>c:\d\dsss\bin\dsss.exe build
undemofy
Creating imports for DD-atk
Creating imports for DD-cairo
Creating imports for DD-gdk
Creating imports for DD-gdkpixbuf
Creating imports for DD-gio
Creating imports for DD-glade
Creating imports for DD-glib
Creating imports for DD-gobject
Creating imports for DD-gthread
Creating imports for DD-gtk
Creating imports for DD-gtkc
Creating imports for DD-pango
atk => DD-atk
gdk\Drawable.d(131): Error: identifier 'ObjectG' is not defined
gdk\Drawable.d(131): Error: ObjectG is used as a type
gdk\Drawable.d(131): Error: class gdk.Drawable.Drawable base type must be class or interface, not void
gdk\Drawable.d(145): Error: function gdk.Drawable.Drawable.getStruct does not override any function
gdk\Drawable.d(172): Error: identifier 'Pixbuf' is not defined
gdk\Drawable.d(172): Error: Pixbuf is used as a type
gdk\Drawable.d(172): Error: cannot have parameter of type void
gdk\Drawable.d(178): Error: identifier 'GC' is not defined
gdk\Drawable.d(178): Error: GC is used as a type
gdk\Drawable.d(178): Error: cannot have parameter of type void
|
which basically tells me it cant find GTK/GLib if its missing GObject...
there is a million lines in the output
I dont have these worries on my linux box so much for trying cross platform development with gtk... |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Wed Oct 07, 2009 5:14 am Post subject: |
|
|
I'm gessing you're using dmd 1.047 or 1.048 whitch due to a regression (Bugzilla #3301) in the compiler are not able to compile GtkD.
You'll need to use 1.046. |
|
Back to top |
|
|
yakumo9275
Joined: 07 Oct 2009 Posts: 2
|
Posted: Wed Oct 07, 2009 5:53 am Post subject: |
|
|
lol! bangs head. yeah I upped to latest versions this morning. sigh.
thanks for letting me know its nothing I did on my end to screw things up |
|
Back to top |
|
|
Epileg
Joined: 10 Sep 2009 Posts: 77
|
Posted: Sat Oct 17, 2009 9:58 pm Post subject: |
|
|
this was solved on 1.049 and 2.034 dmd releases |
|
Back to top |
|
|
|