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

cpr issues #90

Open
Murilo88954 opened this issue Dec 24, 2024 · 1 comment
Open

cpr issues #90

Murilo88954 opened this issue Dec 24, 2024 · 1 comment

Comments

@Murilo88954
Copy link

Flatpak version just dont even start, and normal instalation gives me this error when I get into step "cmake -DCMAKE_BUILD_TYPE=Release -S . -B build":

CMake Error at CMakeLists.txt:29 (find_package):
By not providing "Findcpr.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "cpr", but
CMake did not find one.

Could not find a package configuration file provided by "cpr" with any of
the following names:

cprConfig.cmake
cpr-config.cmake

Add the installation prefix of "cpr" to CMAKE_PREFIX_PATH or set "cpr_DIR"
to a directory containing one of the above files. If "cpr" provides a
separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

Actually I am a monkey on linux, probably this log is showing me exactly what to do but I just cant find it out, sorry

@limo-app
Copy link
Owner

I recommend using the flatpak version when possible. Did you install through an application like Discover? If yes, could you run Limo through a terminal and send me the output? You can use the following command:

flatpak run io.github.limo_app.limo --debug

Or, if you really want to build from source:
Looks like libcpr is missing on your system. You can install it using these commands:

git clone https://github.com/libcpr/cpr.git
cd cpr && mkdir build && cd build
cmake .. -DCPR_USE_SYSTEM_CURL=ON
cmake --build . --parallel
sudo cmake --install .

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