comp.lang.ada
 help / color / mirror / Atom feed
* help building ada with glade
@ 2012-02-22 23:43 Patrick
  2012-02-23  8:44 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 11+ messages in thread
From: Patrick @ 2012-02-22 23:43 UTC (permalink / raw)



I am learning ada gtk (ver 2.14 ). I am still pretty clueless but I
can follow along with the makefiles in the examples folder, they are
also building fine.

In the testgtk folder there are some examples that use glade, I can't
build them. I actually can't build using the makefile in this folder
or the folder above it. Here are the results of these


typing make in build/gtkada-gpl-2.18.0-src

make -C src
make[1]: Entering directory `/media/fast60/Programming/ada/AdaCore/
GtkAda/build/gtkada-gpl-2.18.0-src/src'
mkdir -p lib-obj
gnatmake -Pgtkada_src -u -fPIC -XBUILD=Production -XOPENGL=True -
XGNOME=True -XGLADE=True
gcc-4.4 -c -gnatec=/media/fast60/Programming/ada/AdaCore/GtkAda/build/
gtkada-gpl-2.18.0-src/src/gnat.adc -gnatec=/media/fast60/Programming/
ada/AdaCore/GtkAda/build/gtkada-gpl-2.18.0-src/src/gnat.adc -gnatQ -O2
-gnatn -gnatws -fPIC -I- -gnatA /media/fast60/Programming/ada/AdaCore/
GtkAda/build/gtkada-gpl-2.18.0-src/src/gtk-about_dialog.adb
gtk-about_dialog.ads:231:04: pragma "Obsolescent" misplaced, must
immediately follow a declaration
gtk-about_dialog.ads:235:04: pragma "Obsolescent" misplaced, must
immediately follow a declaration
gnatmake: "/media/fast60/Programming/ada/AdaCore/GtkAda/build/gtkada-
gpl-2.18.0-src/src/gtk-about_dialog.adb" compilation error
make[1]: *** [ada] Error 4
make[1]: Leaving directory `/media/fast60/Programming/ada/AdaCore/
GtkAda/build/gtkada-gpl-2.18.0-src/src'
make: *** [src] Error 2

typing make in gtkada-gpl-2.18.0-src/examples/gtk_examples

gnatprep -r -c -DHAVE_GL=True -DWIN32=False \
	  opengl/view_gl.gpb opengl/view_gl.adb
gnatprep: unable to create output file "opengl/view_gl.adb"
make: *** [opengl/view_gl.adb] Error 4


I tried to use the same commands used in the makefiles that worked but
ended up with this error when typing this:

gnatmake -gnata -gnaty -gnatwu  create_builder `gtkada-config`


gcc-4.4 -c -gnata -gnaty -gnatwu -I/usr/share/ada/adainclude/gtkada2
create_builder.adb
create_builder.adb:34:06: file "gtk-builder.ads" not found
create_builder.adb:43:06: file "common.ads" not found
gnatmake: "create_builder.adb" compilation error

I have these packages installed:
libgnomeada2
libgtkada-glade
libgtkada

I am on Mint linux now, (based on Ubuntu)

Sorry for this very long email, if anyone has a few pointers for me or
could point me to some documentation that would be really great-
Patrick









^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-09-10  6:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-22 23:43 help building ada with glade Patrick
2012-02-23  8:44 ` Dmitry A. Kazakov
2012-02-23  9:58   ` Patrick
2012-02-24  5:53   ` J-P. Rosen
2012-02-24  8:39     ` Dmitry A. Kazakov
2012-02-24 23:12       ` J-P. Rosen
2012-02-25  9:06         ` Dmitry A. Kazakov
2012-02-26  6:55           ` J-P. Rosen
2012-02-26  8:36             ` Dmitry A. Kazakov
2013-09-07 20:37               ` Patrick
2013-09-10  6:40           ` briot.emmanuel

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