awslabs / awslabs/aws-lambda-cpp
Windows Command Line Build fails - can't find libcurl (which is installed and path set)
- 主要语言
- C++
- 星标
- 465
- 派生
- 98
- 平均合并
- 12 小时 47 分钟
- 30 天内合并 PR
- 3
描述
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
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cmake, cpp
- 领域
- build-system, operating-systems
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100