Skip to content
New issue

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

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

Already on GitHub? # to your account

[build_all_examples] how to find curlpp package on windows? #133

Open
xkungfu opened this issue Nov 24, 2021 · 1 comment
Open

[build_all_examples] how to find curlpp package on windows? #133

xkungfu opened this issue Nov 24, 2021 · 1 comment

Comments

@xkungfu
Copy link

xkungfu commented Nov 24, 2021

build_all_examples, Although tried to add many path to cmakelists.txt. the complier couldn't find curlpp package.

error log:
-- Checking for module 'curlpp' -- No package 'curlpp' found
my cmakelists.txt:

set(PKG_CONFIG_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/lib/pkgconfig)
set(PKG_CONFIG_EXECUTABLE I:/CXXTools/PKGCONFIG/pkg-config.exe)
set(CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/bin)
list(APPEND CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild)
list(APPEND CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/lib)
list(APPEND CMAKE_PREFIX_PATH I:/CXXlibs/CURLPP/curlpp20211124/build/winbuild/include)

include(FindPkgConfig)
pkg_check_modules(CURLPP REQUIRED curlpp)

please tell me how to let pkg_check_modules find curlpp library?

environment:
window10
mingw64-810
qt_creator 5

@xkungfu xkungfu changed the title how to find curlpp package on windows? [build_all_examples] how to find curlpp package on windows? Nov 24, 2021
@xCENTx
Copy link

xCENTx commented May 12, 2022

Having the same issue

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

No branches or pull requests

2 participants