[gtkada] CONSTRAINT_ERROR: glib-object.adb:112 access check failed

Åke Ragnar Dahlgren ake.ragnar.dahlgren at gmail.com
Thu Jun 28 09:59:51 CEST 2012


Dear GtkAda developers,

I am using a MacBook Air (Mac OS X 10.7.4) and have installed Gnat GPL
(downloaded and installed 2012-06-27) from the AdaCore Libre site. GtkAda
(revision 191397) was compiled and installed. Of course I've set up the
PATH and ADA_PROJECT_PATH correctly.

Compiling the images project in the examples directory works but executing
the application gives the following error message in the x-terminal:

Akes-MacBook-Air-2:images ake$ ls
Makefile    README        rect        rect.adb    rect.ali    rect.gpr
rect.o
Akes-MacBook-Air-2:images ake$ ./rect

(process:11723): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.

raised CONSTRAINT_ERROR : glib-object.adb:112 access check failed

I have been searching (Google, Bing, Yahoo, ...) the internet but it has
been very hard to find any information regarding this issue. Has anyone
else encountered this or is it just me?
In my humble opinion Ada is a nice language and I would like to work more
with it. The problem that I am facing is that I would like to develop
applications with GUI:s. That's why I find the idea of developing
crossplatform applications using Ada and GtkAda attractive. What I find
disturbing is that it is not possible to run the example applications.
Maybe Mac OS X is not supported by GtkAda? But on the other hand I can run
GPS without any problem. What am I missing?

Regards,
Åke Dahlgren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20120628/a1eeaea6/attachment.htm 


More information about the gtkada mailing list