aws-samples / amazon-polly-metahumans

This Unreal Engine sample project demonstrates how to bring Epic Games' MetaHuman digital characters to life using the Amazon Polly text-to-speech service from AWS. Use this project as a starting point for creating your own Unreal Engine applications that leverage Amazon Polly to give voice to your MetaHumans.
MIT No Attribution
178 stars 67 forks source link

Aws sdk build - cmake error #21

Closed OndrejPliva closed 1 year ago

OndrejPliva commented 1 year ago

Hello, i have some trouble with building aws. I have done everything in readme,

  1. Create AWS credentials for the project DONE
  2. Install and configure the AWS Command Line Interface DONE
  3. Compile the Polly C++ SDK. (Cmake installed, path set) But when i start AmazonPollyMetaHuman/ThirdParty/AwsSdk/BuildAwsSdkWin64.bat it getting that CMakelist is missing.
CMake Warning:
  Ignoring extra path from command line:

   ".."

D:\amazon-polly-metahumans-main\Source\AmazonPollyMetaHuman\ThirdParty\AwsSdk\BuildAwsSdkWin64.bat
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.6.2
** Copyright (c) 2020 Microsoft Corporation
**********************************************************************
CMake Warning:
  Ignoring extra path from command line:

   ".."

CMake Error: The source directory "D:/amazon-polly-metahumans-main/Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/aws-sdk-cpp" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Is it a bug or im missing some configuration with cmake?

Windows 10, visual 2019, cmake tested 3.24.2, 3.23.3 and 3.18.0

Have nice day, O.P.

OndrejPliva commented 1 year ago

I found where was a problem. So solution:

  1. Too long folders path
  2. Delete folder aws-sdk-cpp (i had that folder from frist fail attempt. And cause of this line from bat `@REM Clone the repo IF NOT EXIST "%SDK_REPO_DIR%" rest of attempts didnt download SDK sourcecode.
  3. Added system PATH for git bin folder.