安装Gamelift时出现了CMake和OpenSSL的问题。

huangapple go评论142阅读模式
英文:

Installing Gamelift, cmake openssl problem

问题

抱歉,以下是您提供的内容的翻译:

"Hi i'm installing gamelift for unreal engine but for the moment i'm stuck in a prompt command (i'm using Windows 11 and visual studio 2022)"

嗨,我正在为虚幻引擎安装Gamelift,但目前我在命令提示符中遇到了问题(我正在使用Windows 11和Visual Studio 2022)。

"msbuild ALL_BUILD.vcxproj /p:Configuration=Release"

"msbuild ALL_BUILD.vcxproj /p:Configuration=Release"

"For the moment it giving me an error, Cmak don't found OPEN SSL"

目前它给我一个错误,CMake找不到OpenSSL。

"Performing forcebuild step for 'aws-cpp-sdk-gamelift-server'"

执行'aws-cpp-sdk-gamelift-server'的forcebuild步骤。

"Force build of aws-cpp-sdk-gamelift-server"

强制构建aws-cpp-sdk-gamelift-server。

"Performing configure step for 'aws-cpp-sdk-gamelift-server''"

执行'aws-cpp-sdk-gamelift-server'的配置步骤。

"loading initial cache file C:/Users/Saif/Downloads/GameLift-Cpp-ServerSDK-5.0.0/out/aws-cpp-sdk-gamelift-server-prefix/tmp/aws-cpp-sdk-gamelift-server-cache-Release.cmake"

加载初始缓存文件C:/Users/Saif/Downloads/GameLift-Cpp-ServerSDK-5.0.0/out/aws-cpp-sdk-gamelift-server-prefix/tmp/aws-cpp-sdk-gamelift-server-cache-Release.cmake。

"CMake Error at C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):"

在C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake文件中发生CMake错误:

"-- Configuring incomplete, errors occurred!"

“-- 配置不完整,发生错误!”

"Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)"

无法找到OpenSSL,请尝试在系统变量OPENSSL_ROOT_DIR中设置OpenSSL根文件夹的路径(缺少:OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)。

"Call Stack (most recent call first):"

调用堆栈(最近的调用在前):

"C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)"

"C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)"

"C:/Program Files/CMake/share/cmake-3.26/Modules/FindOpenSSL.cmake:670 (find_package_handle_standard_args)"

"C:/Program Files/CMake/share/cmake-3.26/Modules/FindOpenSSL.cmake:670 (find_package_handle_standard_args)"

"CMakeLists.txt:53 (find_package)"

"CMakeLists.txt:53 (find_package)"

"Hope someone can help me !"

希望有人能帮助我!

英文:

Hi i'm installing gamelift for unreal engine but for the moment i'm stuck in a prompt command (i'm using Windows 11 and visual studio 2022)

msbuild ALL_BUILD.vcxproj /p:Configuration=Release

For the moment it giving me an error, Cmak don't found OPEN SSL

    Performing forcebuild step for 'aws-cpp-sdk-gamelift-server'
  Force build of aws-cpp-sdk-gamelift-server
  Performing configure step for 'aws-cpp-sdk-gamelift-server'
  loading initial cache file C:/Users/Saif/Downloads/GameLift-Cpp-ServerSDK-5.0.0/out/aws-cpp-sdk-gamelift-server-prefix/tmp/aws-cpp-sdk-gamelift-server-cache-Release.cmake
  CMake Error at C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  -- Configuring incomplete, errors occurred!
    Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
    system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
    OPENSSL_INCLUDE_DIR)
  Call Stack (most recent call first):
    C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
    C:/Program Files/CMake/share/cmake-3.26/Modules/FindOpenSSL.cmake:670 (find_package_handle_standard_args)
    CMakeLists.txt:53 (find_package)

Hope someone can help me !

答案1

得分: 1

以下是要翻译的内容:

Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)

As found in the comments, you needed to install OpenSSL.

英文:

The part of the error message you should take note of:

Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)

As found in the comments, you needed to install OpenSSL.

huangapple
  • 本文由 发表于 2023年3月15日 19:37:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/75744176.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定