aws-sdk-cpp icon indicating copy to clipboard operation
aws-sdk-cpp copied to clipboard

Compiling a static library with cmake reports an error, indicating missing aws-c-common and other related DLLs

Open xixi911 opened this issue 1 year ago • 8 comments

Describe the bug

I want to compile AWS using CMake into a static library, but I found that using the compiled static library results in an error indicating that aws-c-common.dll is missing.

Expected Behavior

Use the Static Library with no error

Current Behavior

微信图片_20240110100622 show lack of aws-c-common.dll

Reproduction Steps

cd C:/Users/Lenovo/Desktop/aws/aws-sdk-cpp/build cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:/Users/Lenovo/Desktop/aws/install -DBUILD_ONLY="core;s3" -DFORCE_SHARED_CRT=OFF -DBUILD_SHARED_LIBS=OFF .. cmake --build . --config Release cmake --install . --config Release

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.225 (Built on windows 10)

Compiler and Version used

vs2017 sdk 10.0.22621.0

Operating System and version

Windows 10 Home

xixi911 avatar Jan 10 '24 02:01 xixi911