我在我的一台 EC2 服务器(Amazon Linux AMI)中下载了 1.2.4 版本的 AWS SDK C++ 然后我尝试按照 README.md 进行编译,
cmake -DCMAKE_BUILD_TYPE=Release /home/ec2-user/aws-sdk-cpp-1.2.4/
我有很多错误,如下所示:
CMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake
CMake Error: Could not find cmake module file: CMake1.2.4Information.cmake
CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake
CMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_1.2.4_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage
-- Pulse audio header files have been detected, included pulse audio as a possible sound driver implementation.
CMake Error at cmake/utilities.cmake:100 (export):
export Unknown arguments.
Call Stack (most recent call first):
aws-cpp-sdk-text-to-speech/CMakeLists.txt:126 (do_packaging)
CMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake
CMake Error: Could not find cmake module file: CMake1.2.4Information.cmake
CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake
CMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_1.2.4_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage
CMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake
CMake Error: Could not find cmake module file: CMake1.2.4Information.cmake
CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake
CMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_1.2.4_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage
CMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake
CMake Error: Could not find cmake module file: CMake1.2.4Information.cmake
CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake
CMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_1.2.4_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage
CMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake
CMake Error: Could not find cmake module file: CMake1.2.4Information.cmake
CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake
CMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_1.2.4_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage
CMake Error: Could not find cmake module file: CMakeVERSIONInformation.cmake
CMake Error: Could not find cmake module file: CMake1.2.4Information.cmake
CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake
CMake Error: CMAKE_VERSION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_1.2.4_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/ec2-user/aws-sdk-build/CMakeFiles/CMakeOutput.log".
谁知道怎么解决
谢谢