From: Peter Gerwinski peter@gerwinski.de To: "Nathalie Jarosz" jarosz_n@hotmail.com CC: grx@gnu.de Subject: Re: grx-2.3.1 Date: Mon, 10 Jul 2000 15:41:03 +0200
Program fGraphs;
uses GRX; (* Portable Graphics library *)
If I put {$L libgrx20X} between Program fGraphs and uses GRX, the following message appears: fgraph.p:37: module/unit interface `Grx' could not be imported
(may be already present in `grx.pas')
I don't have any grx.pas?...
If I put gpc --automake -o fgraphs fgraphs.pas -lgrx20X -lX11 or gpc --automake -o fgraph fgraph.p -L /usr/local/lib -libgrx20X -lX11
the following message appears: fcourb.p:37: module/unit interface `Grx' could not be compiled
Nathalie ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Nathalie Jarosz wrote:
If I put {$L libgrx20X} between Program fGraphs and uses GRX,
It needn't be at that place - just somewhere in the code. (But this place is okay.:-)
gpc --automake -o fgraphs fgraphs.pas -lgrx20X -lX11
[...] fcourb.p:37: module/unit interface `Grx' could not be compiled
Please make sure that GPC can find `grx.pas'. You can put it into the current directory or into `/usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/units/' or whatever happens to be the unit directory of your GPC distribution. (You can also use GPC's `--unit-path' option to tell GPC the path to your `grx.pas', but I do not want to confuse you with too many options.;-)
Hope this helps,
Peter
Hi Nathalie!
On Mon, Jul 10, 2000 at 04:28:16PM +0200, Nathalie Jarosz wrote:
(may be already present in `grx.pas')
I don't have any grx.pas?...
You need grx.pas; put it in the same directory as the program you try to compile. Maybe it is already in the GRX tarball you downloaded. If not, have a look for it at http://home.pages.de/~gnu-pascal/ . (If you don't find it, I can send you mine.)
If I put gpc --automake -o fgraphs fgraphs.pas -lgrx20X -lX11 or gpc --automake -o fgraph fgraph.p -L /usr/local/lib -libgrx20X -lX11
the following message appears: fcourb.p:37: module/unit interface `Grx' could not be compiled
The compiler complains it cannot compile the grx unit (grx.pas) because it isn't there.
Best wishes,
Anja