On Linux mint:
1. Installed GNAT-GPL 2014
2. Installed:
sudo apt-get install libwebkit2gtk-3.0-dev
sudo apt-get install libgtk-3-dev
3. make native_gtk
4. make tests
The singleton example uses the native_gtk and compiled fine with no issues.
David Botton
On Fri, Jan 23, 2015 at 2:09 PM, Rabbi David Botton <[email protected]>
wrote:
> The makefile just calls gcc, I guess if you have multiple versions could
> be calling a different version. I would assume that wouldn't matter since
> ABI should be same between versions.
>
> It sounds like there is something wrong though with whatever gcc you are
> using if you are getting errors with that one. Last time I think I saw that
> was on Mac when I had not installed the regular C headers for the platform.
>
> I'm going to install the gtk stuff on my Linux Mint box and give a try
> since if I recall that is what you are using.
>
> David Botton
>
>
> On Fri, Jan 23, 2015 at 1:22 PM, Jeffrey R. Carter <[email protected]>
> wrote:
>
>> On 01/23/2015 11:03 AM, Rabbi David Botton wrote:
>> > Try copying the gnoga_gtk_window.o to the dir of your project's obj
>> files.
>>
>> I realize I used a different compiler for "make native_gtk" than for
>> everything
>> else.
>>
>> When I use the same compiler, I get
>>
>> cd obj && gcc -c ../src/gnoga_gtk_window.c `pkg-config --cflags
>> gtk+-3.0,webkit2gtk-3.0`
>> In file included from /usr/include/features.h:341:0,
>> from /usr/include/limits.h:26,
>> from
>>
>> /opt/gnatpro-7.3.0w-20131123/bin/../lib/gcc/x86_64-pc-linux-gnu/4.7.4/include-fixed/limits.h:169,
>> from
>>
>> /opt/gnatpro-7.3.0w-20131123/bin/../lib/gcc/x86_64-pc-linux-gnu/4.7.4/include-fixed/syslimits.h:7,
>> from
>>
>> /opt/gnatpro-7.3.0w-20131123/bin/../lib/gcc/x86_64-pc-linux-gnu/4.7.4/include-fixed/limits.h:34,
>> from
>> /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:11,
>> from /usr/include/glib-2.0/glib/gtypes.h:34,
>> from /usr/include/glib-2.0/glib/galloca.h:34,
>> from /usr/include/glib-2.0/glib.h:32,
>> from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
>> from /usr/include/gtk-3.0/gdk/gdk.h:30,
>> from /usr/include/gtk-3.0/gtk/gtk.h:30,
>> from ../src/gnoga_gtk_window.c:1:
>> /usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: No such
>> file or
>> directory
>> compilation terminated.
>> make: *** [native_gtk] Error 1
>>
>> --
>> Jeff Carter
>> "English bed-wetting types."
>> Monty Python & the Holy Grail
>> 15
>>
>>
>> ------------------------------------------------------------------------------
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>> _______________________________________________
>> Gnoga-list mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>
>
>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list