PointCloudLibrary / PointCloudLibrary/pcl

Bad info in pkgconfig file

Open
#4,240 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

effort: low good first issue kind: bug kind: todo
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

Just installed via All-In-One-Installer and wanted to point out that all of the pkgconfig .pc files installed have the wrong prefix path, it appears to be a relic of whoever builds the all-in-one-installer where their install prefix is set.
The installer suggested to install into C:/Program Files/PCL 1.11.0 but wherever you install it, the pkgconfig files will always point to C:/Program Files/PCL
image

I use PCL as an external dependency in another project I know how to get this working with the pkgconfig prefix issue, so I don't exactly need help. Just more a comment on what might give some people issues.

Originally posted by @WargodHernandez in https://github.com/PointCloudLibrary/pcl/issues/4069#issuecomment-652173534

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the All-In-One-Installer installation and inspect the installed pkgconfig .pc files. Compare their prefix path with the directory selected during installation. Done means the files consistently reference the user's chosen installation prefix rather than the builder's C:/Program Files/PCL path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.