-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Hi,
there are a few glitches with the pkg-config files provided by the PCL modules:
-
The package version should never be encoded into the module filename. For example it should be just pcl_io.pc, not pcl_io-1.7.pc. Otherwise users of libpcl have to hardcode version numbers into their build scripts. For example, I now have
PKG_CHECK_MODULES([libpcl_io], [pcl_io >= 1.6], [],
[PKG_CHECK_MODULES([libpcl_io], [pcl_io-1.7 >= 1.7], [],
[PKG_CHECK_MODULES([libpcl_io], [pcl_io-1.6 >= 1.6], [], .....
and I have to extend this with each new version. That should just be one line:
PKG_CHECK_MODULES([libpcl_io], [pcl_io >= 1.6], [], ..... -
pcl_io-1.7.pc and pcl_visualization-1.7.pc list 'openni-dev' as a dependency. At least on Ubuntu, that package does not exist; it should be replaced with 'libopenni2' (or similar?)