comp.lang.ada
 help / color / mirror / Atom feed
From: JPWoodruff@gmail.com
Subject: Re: An easy way to simple scientific plots (in Ada)?
Date: Wed, 26 Dec 2007 20:07:29 -0800 (PST)
Date: 2007-12-26T20:07:29-08:00	[thread overview]
Message-ID: <d23b7c8c-927f-40d2-b51e-15c24d2222ae@e10g2000prf.googlegroups.com> (raw)
In-Reply-To: kKzcj.6286$Ux2.4072@attbi_s22

Original poster asks further advice after following Jeff's suggestion:

On Dec 26, 2:30 pm, "Jeffrey R. Carter"
<spam.jrcarter....@acm.nospam.org> wrote:
> JPWoodr...@gmail.com wrote:
> > I'm an old Ada hobbyist who would like to plot some data from a
> > computation.
> >  < .... >
>
> > So can I ask for a suggestion: which library would be simplest for me
> > to install and use for my task?
>
> Package Plot_Windows from Win_IO seems to do what you want. It's small and easy
> to use, and doesn't require that you do anything different with the rest of your
> application.


I tried to follow Jeff's suggestion - installed fresh new gtkada2.8
from adacore, then installed fresh Win_IO 3.0 from its source.

Sorry to say, result is very much as I recalled from nearly a year
ago:

test_plot_window compiles and links OK, but the elaboration of
Plot_Window_Type:=Plot_Window("Test Plot Window","Degrees","Value");

at the very beginning of that test program results in:

(test_plot_window.exe:4076): GLib-GObject-WARNING **: gsignal.c:1268:
parameter 2 of type `<unknown>' for signal
"GtkPlotCanvas::select_item" is not a value type

(test_plot_window.exe:4076): GLib-GObject-WARNING **: gsignal.c:1268:
parameter 1 of type `<unknown>' for signal "GtkPlotCanvas::move_item"
is not a value type

(test_plot_window.exe:4076): GLib-GObject-WARNING **: gsignal.c:1268:
parameter 1 of type `<unknown>' for signal
"GtkPlotCanvas::resize_item" is not a value type

(test_plot_window.exe:4076): GLib-GObject-WARNING **: gsignal.c:1268:
parameter 1 of type `<unknown>' for signal
"GtkPlotCanvas::delete_item" is not a value type

(test_plot_window.exe:4076): GLib-GObject-WARNING **: cannot retrieve
class for invalid (unclassed) type `<unknown>'

raised PROGRAM_ERROR : EXCEPTION_ACCESS_VIOLATION
-------------------------------------------------

(Some) other parts of the library appear to work properly.

I'd welcome some advice on this...

John



  parent reply	other threads:[~2007-12-27  4:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26 18:37 An easy way to simple scientific plots (in Ada)? JPWoodruff
2007-12-26 21:30 ` Jeffrey R. Carter
2007-12-26 22:49   ` Manuel Collado
2007-12-27  4:07   ` JPWoodruff [this message]
2007-12-27  9:10     ` Dmitry A. Kazakov
2007-12-27 18:19       ` JPWoodruff
2007-12-27 22:52     ` Jeffrey R. Carter
2007-12-27  2:15 ` Jeffrey Creem
2007-12-27 13:56 ` Vadim Godunko
2007-12-29 22:28   ` I. Levashew
2007-12-30 18:40     ` JPWoodruff
2007-12-27 20:23 ` Jerry
2007-12-28 19:53   ` JPWoodruff
2007-12-30 21:25     ` Jerry
2007-12-31  3:40       ` JPWoodruff
2007-12-31 10:02         ` Jerry
2008-01-01 20:58 ` Gautier
replies disabled

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