awslabs / awslabs/aws-lambda-cpp

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

未關閉
#127 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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

貢獻指南

開啟貢獻指南

研究方向

先從 CMake 建置說明和 Windows 相依性設定開始,然後使用所述的 curl 路徑重現回報的 FindPackageHandleStandardArgs 錯誤。完成的標準是 Windows CMake 設定能夠找到 CURL 版本和 CURL_LIBRARY,並繼續通過此錯誤。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cmake, cpp
領域
build-system, operating-systems
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。