我在我的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".
谁知道如何解决它
感谢