awslabs / awslabs/aws-lambda-cpp

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

Đang mở
#127 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
465
Fork
98
Merge trung bình
12 giờ 47 phút
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cmake, cpp
Lĩnh vực
build-system, operating-systems
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.