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

Problem with gtkD on windows

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



Joined: 30 Sep 2010
Posts: 8

PostPosted: Mon Jan 16, 2012 8:54 am    Post subject: Problem with gtkD on windows Reply with quote

I have checked out latest d on windows , installed latest bud (renamed to build.,exe) compiled with dmd 2.0.56 and used installed according to instructions with
http://freefr.dl.sourceforge.net/project/gtk-win/GTK%2B%20Runtime%20Environment/GTK%2B%202.24/gtk2-runtime-2.24.8-2011-12-03-ash.exe

however when trying to run sample apps



"The procedure entry point pango_fc_font_create_metrics_for_context" could not be located in the dynamic link library libpangoft2-1.0-0.dll

Tried to find this function in the source but it seems that it is not there but created "somehow"and fed to the dll. any help?
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Jan 17, 2012 3:49 pm    Post subject: Reply with quote

I don't know whats causing this error.

You could try an other Gtk+ installer and see if that helps.
The one from the gnome ftp for example: ftp://ftp.gnome.org/Public/gnome/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.8-20111122_win32.zip
Back to top
View user's profile Send private message
fithisux



Joined: 30 Sep 2010
Posts: 8

PostPosted: Wed Jan 18, 2012 11:36 am    Post subject: Reply with quote

I found that my mono install defines gtk_basepath.

After unsetting it and resetting to my install (the proposed one) the app is crashing.


multiple assertion drawable != null;

and finally

object.Error : access violation

Any ideas?[/quote]
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Wed Jan 18, 2012 3:11 pm    Post subject: Reply with quote

With one of the demos or with something else?
Back to top
View user's profile Send private message
fithisux



Joined: 30 Sep 2010
Posts: 8

PostPosted: Thu Jan 19, 2012 6:35 am    Post subject: Reply with quote

With examples pangocairo and PopupMenu.

I am still investigating.

Can you recommend a D debugger to take a look?

I will try to make a debug build and find what happens.

Platform details : Windows XP SP3 x86/ DMD2.057

by the way the dmd -gc option gives /PAGESIZE:256 too small error

Any idea how to rectify it?
Back to top
View user's profile Send private message
fithisux



Joined: 30 Sep 2010
Posts: 8

PostPosted: Thu Jan 19, 2012 7:15 am    Post subject: Reply with quote

Anyway it seems to be resolved somehow. Maybe a forgotten gtk_basepath.

Whatever. The option for the librarian was -LIBOPT-p512 to compile in debug mode.
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