FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

building on windows

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
yakumo9275



Joined: 07 Oct 2009
Posts: 2

PostPosted: Wed Oct 07, 2009 2:57 am    Post subject: building on windows Reply with quote

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 Wink so much for trying cross platform development with gtk... Smile
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Wed Oct 07, 2009 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
yakumo9275



Joined: 07 Oct 2009
Posts: 2

PostPosted: Wed Oct 07, 2009 5:53 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Epileg



Joined: 10 Sep 2009
Posts: 77

PostPosted: Sat Oct 17, 2009 9:58 pm    Post subject: Reply with quote

this was solved on 1.049 and 2.034 dmd releases
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group