[gtkada] Compile GtkAda
Pascal
p.p14 at orange.fr
Sun Dec 2 11:39:21 CET 2018
> Le 1 déc. 2018 à 20:33, Adam Puleo <apuleo at cox.net> a écrit :
>
> I did some more digging on this.
>
> When gprbuild generates the gtkada.lexch file it’s adding two lines:
> -Wl,-Wl,-framework
> -Wl,-Wl,CoreFoundation
>
> The repeated -Wl is causing the problems. If I edit gtkada.lexch file and remove one of the duplicate -Wl’s gprlib then runs successfully.
Hello Adam,
Could you share your modifications?
I've done also some changes available on Github:
https://github.com/AdaCore/gtkada/compare/master...Blady-Com:xnadalib-2018
Is it similar to yours?
Did you activate OpenGL?
Here is an extract from my howto (in French):
http://blady.pagesperso-orange.fr/telechargements/gtkada/Install-GTKAda-Quartz_wf.pdf
$ PATH=/usr/local/gnat/bin:$PATH
$ instxada=/usr/local/xnadalib-2018
$ PATH=$instxada/bin:$PATH
$ cd /usr/local/src-2018
$ git clone https://github.com/Blady-Com/gtkada.git
$ cd gtkada
$ git checkout xnadalib-2018
$ CPPFLAGS=-I$instxada/include LDFLAGS=-L$instxada/lib ./configure --prefix=$instxada --enable-build=Debug --disable-shared
$ make
$ make install
$ cp -p po/build_skeleton.pl $instxada/bin
PS: you can download prebuilt GTKAda binaries on:
https://sourceforge.net/projects/gnuada/files/GNAT_GPL%20Mac%20OS%20X/2018-high-sierra/
HTH, Pascal.
http://blady.pagesperso-orange.fr
More information about the gtkada
mailing list