Can not compile transcribe with CURL support with Visual Studio 2022 #2855
Labels
bug
This issue is a bug.
build-problem
problems with building this sdk
closing-soon
This issue will automatically close in 4 days unless further comments are made.
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 2 days.
Describe the bug
Hi I’m trying to compile cpp SDK on widows with CURL to get transcribe api to work with http2.
I’m following this documentation:
https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup-windows.html
I have Visual studio 2022 community edition and I tried using cmake 3.21 as well as cmake included and i got errors in the step 6 when i have to run “cmake --build . --config=Debug”
The error is the following:
I tried to change the source code of CurlHttpClient and force it to use memset
then i got this other error:
fix that as well and finally got into this:
Expected Behavior
have the sdk compiled successfully with CURL support
Current Behavior
Some compilation errors and a general failure
Reproduction Steps
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_ONLY=transcribe;transcribestreaming -DCUSTOM_MEMORY_MANAGEMENT=ON -DFORCE_CURL=ON -DCURL_INCLUDE_DIR="C:/DATA/TOOLS/curl/include" -DCURL_LIBRARY="C:/DATA/TOOLS/curl/lib/libcurl.dll.a"s -DCMAKE_INSTALL_PREFIX="%SDK_INSTALL_DIR%"
cmake --build . --config=Debug
Possible Solution
maybe:
Additional Information/Context
No response
AWS CPP SDK version used
1.11.263
Compiler and Version used
Visual Studio 2022 Community
Operating System and version
Windows server 2022
The text was updated successfully, but these errors were encountered: