awslabs / awslabs/aws-lambda-cpp

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
Dominant language
C++
Stars
465
Forks
98
Avg merge
12h 47m
Merged PRs (30d)
3

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

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.