Skip to content

Glitches with the pkg-config files (pcl_*.pc) #221

@marlam

Description

@marlam

Hi,

there are a few glitches with the pkg-config files provided by the PCL modules:

  1. 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], [], .....

  2. 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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions