-
Notifications
You must be signed in to change notification settings - Fork 84
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
Pkgconfig install #10
Conversation
Hi @jheo4 I quickly tested this and at least on my machine,
Am I using pkg-config incorrectly or what could be the issue here? |
Hi @jheo4! What is the status of this PR? We recently had a big update to our CMake system. Do these changes satisfy you, or do you still have interest to work on this PR? |
We have decided to try to get pkg-config working for the next release, since the release is mostly focused on the build system. I will see if this PR could be used. |
# Check PKG_CONFIG_PATH, if not defined, use /usr/local/lib/pkgconfig | ||
if(NOT DEFINED ENV{PKG_CONFIG_PATH}) | ||
set( PKG_CONFIG_PATH "/usr/local/lib/pkgconfig") | ||
message("PKG_CONFIG_PATH is not found. Set it with ${PKG_CONFIG_PATH}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PKG_CONFIG_PATH is not set. Setting it to ${PKG_CONFIG_PATH}.
I think this gives a better impression of what is happening.
For me, this branch just works. I will try to merge it and fix issues afterwards. |
@jrsnen Hi Joni. Sorry for the quiet. It has been quite blasting for me. I checked your comments (thanks for that!) and tested the latest commit of uvgRTP on the clean-slate containers of Ubuntu 18.04 and 20.04. Then, I faced an issue and also resolved it. |
This PR is related to the issue #9
After installing the uvgRTP with pkg-config, uvgRTP can be smoothly used by other projects within their build systems with pkg-config. For the uvgRTP itself, the compile can be done via the below command.