Sign in Join

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

Mailing lists / fpc-pascal / 2006-10

Using Graph unit on Linux Ubuntu...

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

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

Tiziano_mk

On windows I was trying the graph unit with the old BGIDemo of Borland Pascal. It worked nicely, after some adaptations (fpc 2.0.2).

Now I'd like to compile the same on Linux Ubuntu, but have lot of problems with a link error on the following instructions.

{  Link with VGA, gl and c libraries }
{$linklib vga}
{$linklib c}

I am not a linux expert, so after installing the library "libsvga" (the only like "libvga" I found on the ubuntu repository) I don't understand what the linker wants and I'm giving up.

Some hints would be appreciated,

thanks
tiziano

Tiziano_mk
to Tiziano_mk

Tiziano_mk ha scritto:

Show quoted text 10 lines
{ Link with VGA, gl and c libraries } {$linklib vga} {$linklib c} I am not a linux expert, so after installing the library "libsvga" (the only like "libvga" I found on the ubuntu repository) I don't understand what the linker wants and I'm giving up. Some hints would be appreciated,
never mind...
1) I didn't carefully read the rtl.pdf manual;
2) I didn't install libvga-devel;
3) I didn't train enough on linux;

now I can compile and link the program, and catch out all the bugs :-)

bye
tiziano