Sign in Join

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

Mailing lists / lazarus / 2010-01

vga dependency

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

tim launchbury

Hello all

I am learning free pascal / lazarus by porting a delphi application at work to lazarus on linux ( Mandriva 2010 ). So far I have got it to compile but when I tried to run it it complained about a missing lvga dependency. I installed libvga and now the message is that /dev/mem is not accessible and i need to run the programme suid root. However, I cannot understand the dependency on lvga as I have specified in the compiler options to use the gtk2 widget set.
This problem has only occurred sice I updated to fpc 2.2.4 and lazarus 0.9.28.2 ( both installed from the lazarus repositories. None of my other programming work ( in C ) using gtk2 has required lgva to be linked as a dependency.

Tim

Reply by email

Michael Van Canneyt
to tim launchbury
tim launchbury wrote 14 lines
Hello all I am learning free pascal / lazarus by porting a delphi application at work to lazarus on linux ( Mandriva 2010 ). So far I have got it to compile but when I tried to run it it complained about a missing lvga dependency. I installed libvga and now the message is that /dev/mem is not accessible and i need to run the programme suid root. However, I cannot understand the dependency on lvga as I have specified in the compiler options to use the gtk2 widget set. This problem has only occurred sice I updated to fpc 2.2.4 and lazarus 0.9.28.2 ( both installed from the lazarus repositories. None of my other programming work ( in C ) using gtk2 has required lgva to be linked as a dependency.

Check if one of the uses clause contains the 'graph' unit. If so, remove it.

Michael.

Reply by email

tim launchbury
Show quoted text 19 lines
> > Hello all > > I am learning free pascal / lazarus by porting a delphi application at > work to lazarus on linux ( Mandriva 2010 ). So far I have got it to > compile but when I tried to run it it complained about a missing lvga > dependency. I installed libvga and now the message is that /dev/mem is > not accessible and i need to run the programme suid root. However, I > cannot understand the dependency on lvga as I have specified in the > compiler options to use the gtk2 widget set. > This problem has only occurred sice I updated to fpc 2.2.4 and lazarus > 0.9.28.2 ( both installed from the lazarus repositories. > None of my other programming work ( in C ) using gtk2 has required lgva > to be linked as a dependency. Check if one of the uses clause contains the 'graph' unit. If so, remove it. Michael.

Thnaks, that fixed it

Tim

Reply by email