Recent

Author Topic: Libraries needed for ptcgraph  (Read 2838 times)

segfault

  • Full Member
  • ***
  • Posts: 107
Libraries needed for ptcgraph
« on: May 22, 2017, 05:08:37 pm »
Hi,

I'm using FP 3.0.2 on a Linux 32 bit system (Debian based distro) and am getting errors when trying to compile a program which calls the ptcgraph unit, which I found out about on the Wiki (http://wiki.freepascal.org/ptc). They are:

/usr/bin/ld: cannot find -lXxf86vm
/usr/bin/ld: cannot find -lXxf86dga

I'm pretty new to Linux but assume these are telling me that I'm missing some libraries. I know how to use apt-get but what are the exact names of the libraries? Google hasn't been much help. Thanks in advance for any help and sorry for being such a noob.  :D

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11446
  • FPC developer.
Re: Libraries needed for ptcgraph
« Reply #1 on: May 22, 2017, 07:48:16 pm »
Try to install xorg-devel or whatever your distribution uses as -dev or -devel version of X.

Handoko

  • Hero Member
  • *****
  • Posts: 5150
  • My goal: build my own game engine using Lazarus
Re: Libraries needed for ptcgraph
« Reply #2 on: May 22, 2017, 07:53:25 pm »
The TS double-posted the question. It's already solved.

http://forum.lazarus.freepascal.org/index.php/topic,36966

segfault

  • Full Member
  • ***
  • Posts: 107
Re: Libraries needed for ptcgraph
« Reply #3 on: May 22, 2017, 09:05:38 pm »
Try to install xorg-devel or whatever your distribution uses as -dev or -devel version of X.

Yeah sorry, I also posted in the Linux section and should have deleted this thread afterwards. Correct libraries now installed, thanks for replying.

 

TinyPortal © 2005-2018