Skip to content

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

@jplflyer

Description

@jplflyer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions