[fpc-pascal]Graph Unit Usage
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Thu Feb 15 22:39:57 CET 2001
On Thu, 15 Feb 2001, Peter Dobrev wrote:
> Hello everybody!
>
> I soon began using the graph unit in Turbo Pascal 7.0 on Windows.
> I tried it on my linux under fpc-1.0.4..
> I tried to change the "c:\tp\bgi" directory to "/mnt/win/tp/bgi" but it does not helped.
> Here's the error :
>
> peter at sarge:~/code/drebolii$ ppc386 kart.pas
>
> Free Pascal Compiler version 1.0.4 [2001/01/02] for i386
> Copyright (c) 1993-2000 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling kart.pas
> Assembling program
> Linking kart
> /usr/bin/ld: cannot find -lvga
> kart.pas(8) Warning: Error while linking
> Closing script ppas.sh
> 7 Lines compiled, 9.1 sec
You must have the svgalib package installed on your system. the
Graph unit links to libvga, which must be installed on your system.
The borland BGI directory no longer exists, and is not used in the
initgraph call as far as I know. (I may be wrong)
Michael.
More information about the fpc-pascal
mailing list