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

curlpp-config and pkg-config give imperfect values #110

Open
jplflyer opened this issue Oct 16, 2020 · 1 comment
Open

curlpp-config and pkg-config give imperfect values #110

jplflyer opened this issue Oct 16, 2020 · 1 comment

Comments

@jplflyer
Copy link

The PDF documentation says to do some combination of these commands:

curlpp-config --cflags
pkg-config --cflags curlpp
curlpp-config --libs

When I built, I cloned the repo then did:

mkdir build
cd build
cmake ..
make
sudo make install

There's a complete lack of documentation that I could find suggesting a different set of commands. Things appear to install properly under /usr/local/lib and /usr/local/include, exactly as I'd expect.

But the commands above produce:

$ curlpp-config --cflags
-Iinclude

$ pkg-config --cflags curlpp
-Iinclude -I/usr/include/x86_64-linux-gnu

$ curlpp-config --libs
-Llib -lcurl -lcurlpp

The -Iinclude should actually fit where the code was installed. -I/usr/local/include. The -L command should be -L/usr/local/lib. I'm not sure about the pkg-config desire to list an include the linker already seems to search.

@tastytea
Copy link

Duplicate of #68, fix in #86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants