Closed XMNXofficial closed 1 year ago
curlpp can be built,but example can't be build. the command pkg_check_modules(CURLPP REQUIRED curlpp) can't find the pkg
pkg_check_modules(CURLPP REQUIRED curlpp)
[cmake] Not searching for unused variables given on the command line. [cmake] -- Checking for module 'curlpp' [cmake] -- [cmake] CMake Error at C:/Program Files/CMake/share/cmake-3.26/Modules/FindPkgConfig.cmake:607 (message): [cmake] A required package was not found [cmake] Call Stack (most recent call first): [cmake] C:/Program Files/CMake/share/cmake-3.26/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal) [cmake] CMakeLists.txt:4 (pkg_check_modules) [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=C:\Windows\w64devkit\bin\gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=C:\Windows\w64devkit\bin\g++.exe -SC:/curlpp-0.8.1/examples -Bc:/curlpp-0.8.1/examples/build -G "Unix Makefiles" exited with code: 1
curlpp can be built,but example can't be build. the command
pkg_check_modules(CURLPP REQUIRED curlpp)
can't find the pkg