comp.lang.ada
 help / color / mirror / Atom feed
From: ahlan@marriott.org
Subject: Re: Gtkada on Mac using Quartz
Date: Sat, 22 Aug 2015 05:44:22 -0700 (PDT)
Date: 2015-08-22T05:44:22-07:00	[thread overview]
Message-ID: <704291a2-c74a-4ea3-9348-3d4a32cad5cc@googlegroups.com> (raw)
In-Reply-To: <1pwzgwhy55yz3$.s7sid277ggvr.dlg@40tude.net>

Problem solved.
It appears that i can't type.
I used macport to install Gtk and typed +quatz instead of +quartz and so it installed the X11 version instead of Quartz. :-(

After I reinstalled it for +quartz I was able to use the installation of GtkAda to build the bindings.
I was also able to build testgtk and my test program.

Although both of these work under Ubuntu and windows, neither work under Yosemite.

Perhaps the problem lies by my using a newer version of Gtk?
Has anyone any experience with Gtk on Mac?
Should I use an older version?
If so which - 3.8.4 perhaps?


On Saturday, August 22, 2015 at 10:47:21 AM UTC+2, Dmitry A. Kazakov wrote:
> On Sat, 22 Aug 2015 01:30:22 -0700 (PDT), ahlan@marriott.org wrote:
> 
> > I then started the build by issuing the command Make
> > This started - but quickly failed ;-(
> > 
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-mdi.adb
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-intl.adb
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-handlers.ads
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-file_selection.adb
> > /Users/Ahlan/Documents/gtkada-gpl-2015-src/src/misc_osx.m:37:10: fatal error: 
> >       'gdk/gdkquartz.h' file not found
> > #include <gdk/gdkquartz.h>
> >          ^
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-dialogs.adb
> > 1 error generated.
> > 
> >    compilation of misc_osx.m failed
> > 
> > gprbuild: *** compilation phase failed
> > 
> > Has anyone any idea why the file gdkquartz.h is missing?
> 
> Because you didn't install it? I don't know Mac OS, I suppose gdkquartz.h
> is a part of a gtk-quartz developing package you should have installed.
> 
> BTW, gtkada-dialogs might not work under GTK 3.16. Guys are busy loading
> GTK with new incompatibilities... I am going to publish GtkAda
> contributions with replacements for deprecated dialog functions tomorrow.
> 
> > Has anyone ventured down this path - perhaps even getting GtkAda to work?
> 
> I compiled GtkAda for Fedora and Debian. (ARM targets need some work
> because they have gprbuild broken)
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de



On Saturday, August 22, 2015 at 10:47:21 AM UTC+2, Dmitry A. Kazakov wrote:
> On Sat, 22 Aug 2015 01:30:22 -0700 (PDT), ahlan@marriott.org wrote:
> 
> > I then started the build by issuing the command Make
> > This started - but quickly failed ;-(
> > 
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-mdi.adb
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-intl.adb
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-handlers.ads
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-file_selection.adb
> > /Users/Ahlan/Documents/gtkada-gpl-2015-src/src/misc_osx.m:37:10: fatal error: 
> >       'gdk/gdkquartz.h' file not found
> > #include <gdk/gdkquartz.h>
> >          ^
> > gcc -c -gnat05 -gnatQ -O2 -gnatn -gnatws gtkada-dialogs.adb
> > 1 error generated.
> > 
> >    compilation of misc_osx.m failed
> > 
> > gprbuild: *** compilation phase failed
> > 
> > Has anyone any idea why the file gdkquartz.h is missing?
> 
> Because you didn't install it? I don't know Mac OS, I suppose gdkquartz.h
> is a part of a gtk-quartz developing package you should have installed.
> 
> BTW, gtkada-dialogs might not work under GTK 3.16. Guys are busy loading
> GTK with new incompatibilities... I am going to publish GtkAda
> contributions with replacements for deprecated dialog functions tomorrow.
> 
> > Has anyone ventured down this path - perhaps even getting GtkAda to work?
> 
> I compiled GtkAda for Fedora and Debian. (ARM targets need some work
> because they have gprbuild broken)
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

  reply	other threads:[~2015-08-22 12:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-22  8:30 Gtkada on Mac using Quartz ahlan
2015-08-22  8:46 ` Dmitry A. Kazakov
2015-08-22 12:44   ` ahlan [this message]
2015-08-22 15:46 ` ahlan
2015-08-23  8:50 ` ahlan
2015-08-23 13:05 ` ahlan
2015-08-23 13:32   ` Dmitry A. Kazakov
2015-08-23 14:39 ` ahlan
2015-08-23 15:05   ` Dmitry A. Kazakov
2015-08-23 16:06     ` Simon Wright
2015-08-24  9:43   ` Stephen Leake
2015-08-24 12:53 ` ahlan
2015-09-05 19:50 ` ahlan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox