Windows Command Line Build fails - can't find libcurl (which is installed and path set)

Open
#127 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cmake, cpp

Research direction

Start with the CMake build instructions and the Windows dependency setup, then reproduce the reported FindPackageHandleStandardArgs error with the stated curl paths. Done means the Windows CMake configuration locates both the CURL version and CURL_LIBRARY and proceeds past this error.

Written by the indexing model from the issue text.

Description

I am trying to run cmake as per instructions, and I get:

CMake Error at C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find CURL (missing: CURL_LIBRARY) (found version "7.79.1")

I have ensured curl is in the path, and tried to add all of the following to path:

C:\Program Files\curl-7.79.1-win64-mingw
C:\Program Files\curl-7.79.1-win64-mingw\bin
C:\Program Files\curl-7.79.1-win64-mingw\lib
C:\Program Files\curl-7.79.1-win64-mingw\include

And the same error persists

Dominant language
C++
Stars
465
Forks
98
Avg merge
1h 16m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from awslabs/aws-lambda-cpp

All issues in awslabs/aws-lambda-cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.