WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pkg-config looking for wrong gl lib  (Read 2303 times)

Offline malbo

  • Newbie
  • *
  • Posts: 22
pkg-config looking for wrong gl lib
« on: May 12, 2014, 05:24:25 AM »
I'm trying to compile Ganv (http://drobilla.net/software/ganv/), to ultimately get patchage up and running, however pkg-config is failing when trying to find 'gl.pc'.

Ganv requires gtk+2.0, which requires cairo, which contains 'cairo-gl.pc', but pkg-config seems to be looking for just 'gl.pc'.

Is this something I should bring up to the author of the Ganv? Is that something that needs to be set on his end or can I make the change somewhere, so the waf configure script looks for cairo-gl instead?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: pkg-config looking for wrong gl lib
« Reply #1 on: May 12, 2014, 05:30:40 AM »
The "provides" function of the apps gui shows gl.pc to be in the libGL-dev extension.

I would have thought that loading gtk2-dev would load libGL-dev?
« Last Edit: May 12, 2014, 05:40:23 AM by Juanito »

Offline malbo

  • Newbie
  • *
  • Posts: 22
Re: pkg-config looking for wrong gl lib
« Reply #2 on: May 12, 2014, 06:27:48 AM »
I did look there, but figured gtk2 should be loading all required deps. That being said, it seems as though gtk2-dev does not load libGL-dev. I will download libGL-dev, however. Thank you!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: pkg-config looking for wrong gl lib
« Reply #3 on: May 12, 2014, 07:31:52 AM »
It looks like libGL-dev should have been a dep of cairo-dev - added now.