View previous topic :: View next topic |
Author |
Message |
fithisux
Joined: 30 Sep 2010 Posts: 8
|
Posted: Mon Jan 16, 2012 8:54 am Post subject: Problem with gtkD on windows |
|
|
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 |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
|
Back to top |
|
|
fithisux
Joined: 30 Sep 2010 Posts: 8
|
Posted: Wed Jan 18, 2012 11:36 am Post subject: |
|
|
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 |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Wed Jan 18, 2012 3:11 pm Post subject: |
|
|
With one of the demos or with something else? |
|
Back to top |
|
|
fithisux
Joined: 30 Sep 2010 Posts: 8
|
Posted: Thu Jan 19, 2012 6:35 am Post subject: |
|
|
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 |
|
|
fithisux
Joined: 30 Sep 2010 Posts: 8
|
Posted: Thu Jan 19, 2012 7:15 am Post subject: |
|
|
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 |
|
|
|