我正在尝试使用在Windows 8上运行的64位cygwin下使用g ++构建Amazon's C++ AWS SDK。当我从构建目录中调用cmake
时,如下所示:
cmake C:\Users\path\aws-sdk-cpp-master
我收到以下错误:
You have called ADD_LIBRARY for library aws-cpp-sdk-core without any source files.
This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library testing-resources without any source files. This typically indicates a problem with your CMakeLists.
txt file
You have called ADD_LIBRARY for library aws-cpp-sdk-dynamodb without any source files. This typically indicates a problem with your CMakeLis
ts.txt file
You have called ADD_LIBRARY for library aws-cpp-sdk-cognito-identity without any source files. This typically indicates a problem with your
CMakeLists.txt file
You have called ADD_LIBRARY for library aws-cpp-sdk-identity-management without any source files. This typically indicates a problem with yo
ur CMakeLists.txt file
I get those errors for all folders in the directory but I cut them out.
CMake Error at C:/Users/path/aws-sdk-cpp-master/aws-cpp-sdk-core-tests/CMakeLists.txt:59 (add_executable):
add_executable called with incorrect number of arguments
CMake Error at C:/Users/path/aws-sdk-cpp-master/aws-cpp-sdk-core-tests/CMakeLists.txt:60 (target_link_librarie
s):
Cannot specify link libraries for target "runCoreUnitTests" which is not
built by this project.
我对[{1}}并不熟悉,并且非常感谢您解决此问题。