Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pkg-config] Provide a single package-config .pc file for all pcl libraries #4838

Open
Rapyuta-ConnorPerrin opened this issue Jul 7, 2021 · 2 comments
Labels
kind: request Type of issue needs: author reply Specify why not closed/merged yet

Comments

@Rapyuta-ConnorPerrin
Copy link

pkg-config with pcl needs to be informed of each individual library. It's quite bothersome

Expected behavior

pkg-config --cflags pcl should return the cflags for all PCL libraries

Current Behavior

Need to call pkg-config --cflags pcl_common and so on

Additional context

Every module's CMakeLists.txt creates a pkg-config. This can be done by creating a fake module which depends on all built modules and then generates a pkg-config file

@Rapyuta-ConnorPerrin Rapyuta-ConnorPerrin added kind: request Type of issue status: triage Labels incomplete labels Jul 7, 2021
@mvieth
Copy link
Member

mvieth commented Jul 9, 2021

Could you describe your use case a bit more? Why are you calling pkg-config/ how are you using the cflags? Is it not possible to use cmake in your situation?

@mvieth mvieth added needs: author reply Specify why not closed/merged yet and removed status: triage Labels incomplete labels Jul 9, 2021
@kunaltyagi
Copy link
Member

CMake isn't possible. So far, even integration with compile_commands.json looks to be quite difficult.

An example of the use-case is: https://github.com/rapyuta-robotics/jupyter_ros_utils/blob/main/cpp/notebooks/pcl-1.10.ipynb

(using C++ in Jupyter via cling interpreter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: request Type of issue needs: author reply Specify why not closed/merged yet
Projects
None yet
Development

No branches or pull requests

3 participants