comp.lang.ada
 help / color / mirror / Atom feed
From: tolkamp <f.tolkamp@gmail.com>
Subject: Re: How to include Win_IO for my project?
Date: Sun, 18 Jan 2009 12:42:04 -0800 (PST)
Date: 2009-01-18T12:42:04-08:00	[thread overview]
Message-ID: <a8fe0306-e968-4852-b5a2-d8b3d6f644d3@w24g2000prd.googlegroups.com> (raw)
In-Reply-To: H0qcl.295119$Mh5.287698@bgtnsc04-news.ops.worldnet.att.net

On 17 jan, 20:08, a...@anon.org (anon) wrote:
> The current values are the default ones, but they can be replaced.
>
> So, add the dir(s) and separate them by comma, like in the example below.
>
> For a more in depth explaination of each line see:
>
> http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/GNAT-Project-Manager.html
>
> Example from the net:
>
>      Project Hello_4 is
>         for Source_Dirs use (".", "..");
>      end Hello_4;
>
> another example:
>
> project Cando is
>
>    for Languages use ("Ada");
>    for Source_Dirs use (".", "src", "\win_io");
>    for Object_Dir use "obj";
>    for Exec_Dir use ".";
>
>    ...
>
> end Cando;
>
> In <92dda95d-161e-4337-8a60-698c3c837...@r15g2000prd.googlegroups.com>, tolkamp <f.tolk...@gmail.com> writes:
>
>
>
> >On 16 jan, 20:31, a...@anon.org (anon) wrote:
> >> From the web site:
> >> =A0 Then, you should configure the project to include the sources for
> >> =A0 =A0 Win_IO. You can do this by adding the Win_IO directory to the
> >> =A0 =A0 "Sources" part of the "Edit Project Properties" window.
>
> >> So:
> >> =A0 use =A0"sources dirs" for dir of win_io sources files ( *.ads )
> >> =A0 use =A0"objects" =A0 =A0 =A0for dir of win_io object files =A0( *.o )
> >> =A0 use =A0"Library" =A0 =A0 =A0for win_io lib file, if one exist.
>
> >> In <c58da3f0-a88d-4c3a-889c-ad36d6900...@o40g2000prn.googlegroups.com>, t=
> >olkamp <f.tolk...@gmail.com> writes:
>
> >> >On 14 jan, 08:14, a...@anon.org (anon) wrote:
> >> >> In command-line version of GNAT:
>
> >> >> =3DA0gnat <bind/compile/link/make> file<.adb> =3DA0 -Idir -Ldir
>
> >> >> use "-Idir" for a dir that contains the "*.ads", "*.ali" and "ali.o"
> >> >> and "-Ldir" for a dir that contains extra libraries.
>
> >> >> other options are listed by using
>
> >> >> =3DA0 gnat make -gnath
>
> >> >> In <e618495b-d7db-43ec-8af4-f8993333b...@v18g2000pro.googlegroups.com>=
> >, t=3D
> >> >olkamp <f.tolk...@chello.nl> writes:
>
> >> >> >To make it possible to plot results of my project I have downloaded
> >> >> >GtkAda and Win_IO.
> >> >> >After this I have created a dependency between my project and GtkAda.
> >> >> >Now the project should be configured to include the sources for
> >> >> >Win_IO.
> >> >> >How can I add the Win_IO directory to my project?- Tekst uit oorspron=
> >kel=3D
> >> >ijk bericht niet weergeven -
>
> >> >> - Tekst uit oorspronkelijk bericht weergeven -
>
> >> >I am not using the command line.
> >> >At this websitehttp://www.ctr.unican.es/Win_IO
> >> >I found the text:
>
> >> >Then, you should configure the project to include the sources for
> >> >Win_IO.
> >> >You can do this by adding the Win_IO directory to the "Sources" part
> >> >of the "Edit Project Properties" window.
>
> >> >When I select "Edit Project Properties" the =A0"Sources" part is not
> >> >available, only:
> >> >- General
> >> >- Languages
> >> >- VCS
> >> >- Source dirs
> >> >- Source files
> >> >- Objects
> >> >- Main files
> >> >- Library
> >> >- Naming
> >> >- Switches.
>
> >> >Which of these selections must be used?- Tekst uit oorspronkelijk berich=
> >t niet weergeven -
>
> >> - Tekst uit oorspronkelijk bericht weergeven -
>
> >When source dirs is clicked the window with source directories C:\GNAT
> >\bin appears.
> >When objects is clicked the window with Build/Exec directory C:\GNAT
> >\bin appears.
> >When Library is clicked for General the follwing can be selected:
> >- Library Name
> >- Library Directory
> >- Library ALI Kirectory
> >- Libray kind
> >- Version
>
> >How to continue?- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Thank you for this explanation. Now I have successful added the
directory win_io_3.0_scr_dos to my project.
After this I have added the following source code of my project:
- Time, Speed : Float;
- My_Plot : Plot_Window_Type;
- Plot_Window (My_Plot, "Time", "Speed"); -- create plot window
- Add_Point (My_Plot, Time, Speed);

Compilation is error free, but when an executable is made the
following error occurs in package plot_windows.adb:
"Add_Plot" is undefined.

What do I wrong?




  reply	other threads:[~2009-01-18 20:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 16:07 How to include Win_IO for my project? tolkamp
2009-01-14  7:14 ` anon
2009-01-16 18:34   ` tolkamp
2009-01-16 19:15     ` Anh Vo
2009-01-16 19:31     ` anon
2009-01-17 13:06       ` tolkamp
2009-01-17 19:08         ` anon
2009-01-18 20:42           ` tolkamp [this message]
2009-01-18 22:48             ` anon
2009-01-19 13:06               ` tolkamp
2009-01-19 14:14                 ` Petter
2009-01-19 15:51                   ` Jean-Pierre Rosen
2009-01-19 16:20                   ` tolkamp
2009-01-20  1:50             ` Ali Bendriss
2009-01-20 11:32               ` tolkamp
2009-01-20 19:03                 ` Ali Bendriss
replies disabled

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