[fpc-pascal]Graphics. Unit.

Jonas Maebe jonas at zeus.ugent.be
Sun May 11 12:11:34 CEST 2003

On zondag, mei 11, 2003, at 12:05 Europe/Brussels, geoff bagley wrote:

> I can run free pascal in my home directory,  but it cannot find the
> graph unit.  I get "cannot find -lvga"  when linking,  so I guess that
> the problem is a matter of links or paths to the required unit.

No, the problem is that you don't have the lib(s)vga development 
libraries installed. You have to do this using the installer tools that 
your distribution provides (just like you have to install the mysql 
development libraries if you want to use units that provide an 
interface to mysql).

> There are several likely looking units installed in the directory
> /usr/lib/fpc/1.0.4/units/  which include the files svgalib and
> libsvgalib .

Such files should be in /usr/lib or /lib. FPC doesn't have any units 
that are called that way.

> Are there many members of this list with experience of getting the 
> graph
> unit to function ?  I would like to use 1024 by 768 if possible, which
> is higher resolution than the 640 by 480 of my old Turbo 7.0.

That should be no problem under Linux.

> Is fpc version 1.0.4 the most recent to be available in distro form ?
> I only have a 28.8 kb/s internet connection.

No, there is also a 1.0.6, but soon we'll release 1.0.8, so I would 
advise you not to download 1.0.6.


More information about the fpc-pascal mailing list