PointCloudLibrary/pcl

Error occurs when executing pkg-config

Sirokujira opened this issue · 4 comments

Your Environment

•Operating System and version: Ubuntu 14.04/Mac OS 10.12
•PCL Version: 1.8.1

Current Behavior

Using pkg-config
An error occurs when reading pcl_features_1.8.pc file.

Remove 2d library (contains no symbols) #1679

Possible Solution

Please delete "required: pcl_2d-1.8" of pcl_feature-1.8.

pcl/features/CMakeLists.txt
set(SUBSYS_DEPS common search kdtree octree filters 2d)

set(SUBSYS_DEPS common search kdtree octree filters)

We can not remove 2d from the list because it is a dependency. A proper fix will be to return pkg file generation for 2d module. (See inline comment here.)

Please let us know if this fixes the problem for you.

I checked the modified code in the Ubuntu / MacOSX environment.

After building, in /usr/local/lib/pkgconfig folder,
I confirmed that there is pcl_2d-1.8.pc file.
(After confirming that the file does not exist, I ran the build.)

When pkg-config was executed in this state, no error occurred.

Thank you for your quick response.

This error is still present in pcl 1.8.1. Can you apply #1979 on 1.8.1 and rerelase it as 1.8.1.1 ?