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

Unable to configure CMake #13

Open
Meqolo opened this issue Jun 17, 2019 · 4 comments
Open

Unable to configure CMake #13

Meqolo opened this issue Jun 17, 2019 · 4 comments

Comments

@Meqolo
Copy link

Meqolo commented Jun 17, 2019

When I try to configure CMake I get the following error: Set CURL_FOUND to TRUE. Set CURL_LIBRARIES to libcurl. Set CURL_INCLUDE_DIRS to C:/Users/#####/Desktop/Projects/cpr-example/opt/cpr/opt/curl/include;C:/Users/#####/Desktop/Projects/cpr-example/build/opt/cpr/opt/curl/include/curl. Using CURL_INCLUDE_DIRS: C:/Users/#####/Desktop/Projects/cpr-example/opt/cpr/opt/curl/include;C:/Users/#####/Desktop/Projects/cpr-example/build/opt/cpr/opt/curl/include/curl. Using CURL_LIBRARIES: CURL_LIBRARY-NOTFOUND. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CURL_LIBRARY linked by target "cpr" in directory C:/Users/#####/Desktop/Projects/cpr-example/opt/cpr/cpr

I have completely cloned the repo and ran the submodules update command.

@JonasBean
Copy link

+1 facing the exact same issue. Any help is greatly appreciated!

@whyliuxing
Copy link

+1 i found "Could NOT find LibSSH2 (missing: LIBSSH2_INCLUDE_DIR LIBSSH2_LIBRARY)"

@peterjmorgan
Copy link

I got around this by installing libcurl (specifically libcurl4-openssl-dev). My build host is raspbian. I had to modify the source to patch out one of the cases in error.cpp, but after that it worked.

@souaremsaidou
Copy link

@Meqolo

Please, can you specify:

  • the OS
  • the dependencies: CURL

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

5 participants