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

Error: Library load failed: libgtk-win32-2.0-0.dll

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



Joined: 18 Feb 2008
Posts: 14

PostPosted: Fri Oct 10, 2008 8:39 am    Post subject: Error: Library load failed: libgtk-win32-2.0-0.dll Reply with quote

I wrote an app using gtkd in Linux and want to run it in windows too. Therefore I try to setup the environment needed to build and run the program. I was able to dsss build and dsss install gtkd but when I build the cairo clock example and start the resulting exe afterwards I get:

Quote:
Error: Library load failed: C:\Program Files\Common Files\GTK\2.0\bin\\libgtk-win32-2.0-0.dll


I just installed the gtk installer for windows but I always get this error. If I delete gtk from my system an put libgtk-win32-2.0-0.dll directly into the cairo_clock directory the error message changes to:

Quote:
Error: Library load failed: libgtk-win32-2.0-0.dll
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Fri Oct 10, 2008 3:18 pm    Post subject: Reply with quote

I don't have a Windows machine handy to test but in case i get close to one or someone else wants to try,

Are you using the installer from the GtkD main page?
Are you using Phobos or Tango?

And some thing that are probably not related to the error,

What compiler are you using?
Which GtkD release are you using?
Back to top
View user's profile Send private message
tezem



Joined: 18 Feb 2008
Posts: 14

PostPosted: Sat Oct 11, 2008 6:14 am    Post subject: Reply with quote

Yes I used the GtkD zip file on the file, version 1.0. To install gtk I used the package linked on the GtkD page. DMD compiler 1.030 and the program is written with the help of phobos.
Back to top
View user's profile Send private message
okibi



Joined: 04 Jan 2007
Posts: 170

PostPosted: Tue Oct 14, 2008 10:26 am    Post subject: Reply with quote

Firstly, I apologize for the current downtime with DDev. I'm working to get it back up and running and should have it complete by tomorrow morning.

The latest GTK installer posted was 2.12.10. However, you can try my beta for 2.12.11 (perhaps the last in the 2.12.x series) by downloading it from http://www.mediafire.com/?sharekey=6a77f15904f35188d2db6fb9a8902bda.

Thanks!
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Thu Oct 16, 2008 12:01 pm    Post subject: Reply with quote

Have you tried with the new installer, from the error messages if looks like the demo is able to locate the dll, but fails to load it. This could mean that there is something wrong with the dll.
Back to top
View user's profile Send private message
okibi



Joined: 04 Jan 2007
Posts: 170

PostPosted: Thu Oct 16, 2008 12:19 pm    Post subject: Reply with quote

Like Mike pointed out, there was an issue with GTK+ 2.12.10 and GtkD 1.0, which has been corrected in the 2.12.11 release now posted on the GtkD homepage. Let us know if this fixes your problem.
Back to top
View user's profile Send private message
tezem



Joined: 18 Feb 2008
Posts: 14

PostPosted: Fri Oct 17, 2008 5:07 am    Post subject: Reply with quote

I installed 2.12.10 again and it worked. Don't know what the problem was.
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