Re: [arch-general] FreePascal doesn't see the module 'graph'

2012-02-26 Thread Gerardo Exequiel Pozzi
On 02/26/2012 08:45 PM, Jan Steffens wrote: On Sun, Feb 26, 2012 at 10:39 PM, Gerardo Exequiel Pozzi wrote: Because graph does not exist in x86_64. Anyway if you want to use graph in i686 you need svgalib (from AUR), and who knows if works in these days... Wasn't there an SDL driver for graph

Re: [arch-general] FreePascal doesn't see the module 'graph'

2012-02-26 Thread Jan Steffens
On Sun, Feb 26, 2012 at 10:39 PM, Gerardo Exequiel Pozzi wrote: > Because graph does not exist in x86_64. Anyway if you want to use graph in > i686 you need svgalib (from AUR), and who knows if works in these days... Wasn't there an SDL driver for graph?

Re: [arch-general] FreePascal doesn't see the module 'graph'

2012-02-26 Thread Gerardo Exequiel Pozzi
On 02/26/2012 02:39 PM, Abdourazak Osmanov wrote: When I compile this code: program radar; uses crt, graph; var DriverVar, ModeVar : integer; begin DriverVar := Detect; ModeVar := 2; InitGraph(DriverVar, ModeVar,''); SetColor(4); LineTo(1

Re: [arch-general] FreePascal doesn't see the module 'graph'

2012-02-26 Thread Abdourazak Osmanov
> After a minimum of testing I found that pascal units are stored as ".ppu" > files. Then I tried this: "uses ptccrt, ptcgraph" - and it compiled. > My pascal knowledge is very limited, and the first program pops away just > after > it is started... maybe you could wait for X keyboard events or add

Re: [arch-general] FreePascal doesn't see the module 'graph'

2012-02-26 Thread Martti Kühne
On Sun, Feb 26, 2012 at 08:39:05PM +0300, Abdourazak Osmanov wrote: > mao@mao-note-arch Pascal $ fpc radar.pas > > Free Pascal Compiler version 2.6.0 [2012/01/02] for x86_64 > > Copyright (c) 1993-2011 by Florian Klaempfl and others > > Target OS: Linux for x86-64 > > Compiling radar.pas > > Fatal:

Re: [arch-general] FreePascal doesn't see the module 'graph'

2012-02-26 Thread Abdourazak Osmanov
> 1) Is 'Detect' integer? I can't tell from here. > > 2) Shouldn't InitGraph receive a path? See "PathToDriver" in > http://www.freepascal.org/docs-html/rtl/graph/initgraph.html > No, the reason is different. This code also doesn't work: program radar; > > uses > crt, graph; > > var > Dri

Re: [arch-general] FreePascal doesn't see the module 'graph'

2012-02-26 Thread rafael ff1
2012/2/26 Abdourazak Osmanov <05rnan...@gmail.com>: > When I compile this code: > > program radar; >> >> uses >>     crt, graph; >> >> var >>     DriverVar, ModeVar : integer; >> >> begin >>         DriverVar := Detect; >>         ModeVar := 2; >>         InitGraph(DriverVar, ModeVar,''); >>