6

I'm trying to build OpenSceneGraph's pdf plugin on a win32 box. The plugin is using cmake's PKG_CHECK_MODULES macro to find cairo and poppler libraries. I don't know how to install these in such a way as to help it find them though.

Michael Daum
  • 820
  • 6
  • 12

1 Answers1

0

There is no "special" way to install them. Any time you install (a correctly designed) library it also contains a PACKAGENAME.pc file which is copied in a directory where pkg-config can find it.

At least this happens in Linux. I don't know if pkg-config would work like this under win32

Have you also installed pkg-config as well as poppler and cairo?

kazanaki
  • 7,988
  • 8
  • 52
  • 79
  • 2
    It's not clear to me what "installing" pkg-config means on Windows. That's part of my problem. I'm not using cygwin for this build, so I have to find a way for cmake to find the libraries, or to find a pkg-config that I install. – Michael Daum Mar 26 '10 at 13:46
  • Well the pkg-config page says that it is available for native windows (not cygwin) and there is also a README.win32 in the pkg-config release bundle. Have you looked at this? – kazanaki Mar 26 '10 at 18:57