GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu May 23, 2013 6:00 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: GLADE error - g_assertion_message could not be located
PostPosted: Sat Nov 21, 2009 2:14 am 
Offline

Joined: Sat Nov 21, 2009 1:56 am
Posts: 1
Newbie alert :)

After downloading the QT SDK (which seems quite nice and well packaged up) I thought I'd also look at GTK+ since its supposed to be the other main option for developing GUIs.

However, after installing Glade (several times now) I keep getting the following error...

int g_assertion_message could not be located in the dynamic link library libglib-2.0-0.dll."

The Glade binary I installed is supposed to come with the version of GTK+ it needed.

Not a very promising start. Have the Glade developers screwed up, or is GTK+ particularly prone to this sort of error?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 21, 2009 2:42 pm 
Offline
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia
Hello and welcome to the GTK+ forums.

The bitter truth is that setting up GTK+ development environment on Windows can be quite challenging at first. You need to know your way around the Windows quite well and you need to understand how PATH and other variables work.

Second thing to note here is that Glade is only GUI designer. Nothing more. When you design your GUI, you'll still need to code your application by hand. Glade won't produce any code at all. I just wanted to make this clear, since most newcomers see Glade as a convenient way of learning about GTK+. The truth is 100% different: you need to know quite a bit about GTK+ itself before you'll be able to use Glade efficiently.

As for the Glade installation producing errors, this seems to me like a PATH trouble. I cannot give you more details right now since I haven't used Windows for quite a while now, but since I intend to reboot into XP sometime this weekend, I'll check the installer out if you provide the link to it.

Tadej


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 22, 2009 10:16 am 
Offline
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia
Hello.

As promised, I tested latest Glade installed under Windows XP. Steps I took are:
  1. Download latest binary from here
  2. Install it into C:\Glade
  3. Run Glade from start menu
Everything worked as expected here, since installer took care of modifying my per-user environment variables (variables that have been set are GTK_HOME, INCLUDE, LIB and PATH).

I'm not sure what went wrong with your installation, but some of the options that are possible are:
  • variables haven't been properly set
  • you have some other GTK+ runtime environment installed in PATH (I think GIMP installs it's own, same goes for Pidgin)

You'll need to investigate a bit on your own to determine what exactly went wrong.

Tadej


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group