Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-05

Missini graph unit

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Elio Fabri

Hi, I downloaded fpc-2.4.4.x86_64-linux.tar and installed OK. But the compiler cannot find the Graph unit. Apparently the graph.ppu file is missing.
Where can I find it, or a valid substitute?

Thx

---------------------------------- Elio Fabri c/o Dip. di Fisica - Univ. di Pisa ----------------------------------

Reply by email

Elio Fabri
to Nikolay Nikolov

I tried ptcgraph by a mere change of names, and it works, more or less. However, the graph unit still appears in the doc, whereas I cant't find no doc for pctgraph.
Some help?

---------------------------------- Elio Fabri c/o Dip. di Fisica - Univ. di Pisa ----------------------------------

Reply by email

Nikolay Nikolov
to Elio Fabri
Elio Fabri wrote
I tried ptcgraph by a mere change of names, and it works, more or less. However, the graph unit still appears in the doc, whereas I cant't find no doc for pctgraph. Some help?

It's a new unit (first included with fpc 2.4.4) and therefore not yet mentioned in the fpc docs. It should work like a normal TP7-compatible graph unit. There's also a 'ptccrt' unit, which works together with ptcgraph and allows reading keyboard input. Internally, they both use the PTCPas graphics library:

http://ptcpas.sourceforge.net/

But this shouldn't matter much from a user point of view (ptcpas requires no extra dlls or .so files)

The standard linux 'graph' unit uses svgalib (which is outdated and probably does not run on modern graphics hardware) and is only available for i386.

Reply by email