You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
please add pkg-config support, so user can use library without cmake.
ive trying to add find_package(cpr REQUIRED) on CMakeLists.txt (cpr is installed on /usr/local as prefix ) but cmake couldnt find it.
however when i try to built with command g++ -o test test.cpp -lcpr is built with success, but error comes : ./test error while loading shared libraries: libcpr.so.1: cannot open shared object file: No such file or directory
Possible Solution
pkg-config support or , more detailed instruction to use cmake (for noob as me)
Alternatives
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
please add
pkg-config
support, so user can use library withoutcmake
.ive trying to add
find_package(cpr REQUIRED)
on CMakeLists.txt (cpr is installed on/usr/local
as prefix ) but cmake couldnt find it.however when i try to built with command
g++ -o test test.cpp -lcpr
is built with success, but error comes :./test error while loading shared libraries: libcpr.so.1: cannot open shared object file: No such file or directory
Possible Solution
pkg-config
support or , more detailed instruction to usecmake
(for noob as me)Alternatives
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: