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

Compiled Examples don't work
Goto page Previous  1, 2
 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
Epileg



Joined: 10 Sep 2009
Posts: 77

PostPosted: Sun Apr 03, 2011 2:06 pm    Post subject: Reply with quote

Did You try to compile Your program with bud/build?
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Mon Apr 04, 2011 2:07 pm    Post subject: Reply with quote

What did you set as the GTK_BASEPATH ?
Back to top
View user's profile Send private message
Drohelf



Joined: 28 Mar 2011
Posts: 15
Location: DE

PostPosted: Mon Apr 04, 2011 2:20 pm    Post subject: Reply with quote

@ Epileg: no, not yet. I don't think it will change anything though since what I get is a runtime error, so to speak. I will try in a few days - I have a lot going on atm.

@ Mike Wey: I set it to what I installed gtk to: "C:\Gtk2\bin".
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Mon Apr 04, 2011 3:20 pm    Post subject: Reply with quote

Could you try adding a backslash after the path.
Back to top
View user's profile Send private message
Drohelf



Joined: 28 Mar 2011
Posts: 15
Location: DE

PostPosted: Tue Apr 05, 2011 3:22 am    Post subject: Reply with quote

With a backslash at the end I get the popup message again.
Back to top
View user's profile Send private message
Epileg



Joined: 10 Sep 2009
Posts: 77

PostPosted: Tue Apr 05, 2011 3:40 am    Post subject: Reply with quote

try bud/build to compile your program and probably You'll get a surprised.

I.E. In Wine, If I compile text_image with dmd in cairo folder of gtkd demos, I got a runtime error. but it nicely compiles/run with bud, even without previously compile gtkd to a library Smile

I just added the path to the gtkd source in "sc.ini" file in dmd bin folder, in my case "-IC:\gtkD\src", quotes included. And then just type from the project folder "bud image_text.d"

Try it out!
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
Goto page Previous  1, 2
Page 2 of 2

 
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