GithubHelp home page GithubHelp logo

aws-samples / amazon-polly-metahumans Goto Github PK

View Code? Open in Web Editor NEW
177.0 18.0 67.0 292 KB

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.

License: MIT No Attribution

C# 5.91% C++ 89.05% C 5.04%
unreal metahumans ue4 aws polly

amazon-polly-metahumans's Introduction

Amazon Polly & MetaHumans Sample Project

A sample project combining Epic Games' MetaHuman digital characters with Amazon Polly text-to-speech.

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 using one of 16 different English language voices spanning 5 dialects. Or extend this project to use any of Polly's 60+ voices covering 20+ languages and 13+ dialects.

Polly.MetaHuman.1080p.mov

With Amazon Polly, you only pay for what you use. You are charged based on the number of characters of text that you convert either to speech audio or to speech metadata. In addition, you can cache and replay Amazon Polly’s generated speech at no additional cost. For full pricing details, see Amazon Polly Pricing.

Contents

Quick Start

🛑 Before proceeding you must have Unreal Engine 4.26 or 4.27 installed as well as the Microsoft Visual Studio development tools required for UE4 C++ development (Windows) or the Xcode development tools (Mac). If you need help with these setup steps, refer to the Unreal Engine 4 documentation, especially "Setting Up Visual Studio for Unreal Engine". Disclaimer: This was only tested with Visual Studio 2019 with UE4.26, although with slight modifications to the build script it should work with Visual Studio 2022 as well. I couldn't get this to work with UE5.

1. Create AWS credentials for the project

In order for this Unreal Engine project to interact with the Amazon Polly service, you must provide it with AWS credentials that allow access to that service. The easiest way to generate these credentials is to create a new AWS Identity Access & Management (IAM) user in your AWS account.

Create a new IAM user and assign to it the permissions policy named "AmazonPollyReadOnlyAccess". Although the name you give this user is not important, we suggest naming it "MetaHumans Sample" or something equally distinctive. Be sure to save the Access Key ID and the Secret Access Key that are generated during the user creation process. You'll need them later.

💡 Tip: For more help, see "Creating an IAM user in your AWS account" in the AWS IAM documentation.

2. Install and configure the AWS Command Line Interface

You will need to configure your local computer to communicate with AWS services using the credentials you created above. The easiest way to do this is to install and configure the AWS Command Line Interface (AWS CLI).

Install the AWS CLI to your local computer following these instructions.

Use the aws configure command to create a default profile for the AWS CLI. Be sure to use the Access Key ID and Secret Access Key values you saved above.

💡 Tip: For more help, see "Configuration basics" in the AWS CLI documentation.

3. Compile the Polly C++ SDK

🛑 This next step requires cmake and git. If you don't already have cmake installed, you can download it here. After you download cmake, launch cmake and click 'Tools' -> 'How To Install For Command Line Use' and follow one of the instructions. E.g. for Mac - One may add CMake to the PATH: PATH="/Applications/CMake.app/Contents/bin":"$PATH"

This project makes use of the C++ Polly API – a part of the AWS SDK for C++ – to communicate with the Polly service. We've provided scripts to automatically download and compile the appropriate binaries for you. Run one of the following scripts:

Windows: Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/BuildAwsSdkWin64.bat

Mac: Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/BuildAwsSdkMac.sh

4. Open the Unreal Engine project

Open the project by double-clicking on the AmazonPollyMetaHuman.uproject file.

Click "Yes" on the dialog that appears.

Module compile prompt

5. Run the project

To try out the project, simply click the "Play" button in the Unreal Engine editor. The MetaHuman will come alive using speech and lip sync generated by Amazon Polly. After the MetaHuman stops speaking you can enter your own custom speech text into the on-screen text field.

Play button

⚠️ Wait until the "Compiling Shaders" process completes before running this project for the first time.

"Compiling Shaders" message

🛠 Troubleshooting: This project includes extensive error messaging that can help you debug common problems. If the project doesn't work properly, open the Output Log tab in the Unreal Engine editor and look for error messages.

Developer Guide

This repository includes a full Developer Guide which describes the project's architecture and explains how to customize the project with your own MetaHuman characters.

Getting Help

If you have questions as you explore this sample project post them to the Issues section of this repository. To report bugs, request new features, or contribute to this open source project see CONTRIBUTING.md.

Security

See CONTRIBUTING for more information.

License

This sample code is licensed under the MIT-0 License. See the LICENSE file.

amazon-polly-metahumans's People

Contributors

cwalkere avatar kris-work avatar krxtopher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amazon-polly-metahumans's Issues

Not able to compile

Getting this error, tried debugging, but not been able to build successfully

Screenshot 2022-06-03 201801

build polly c++ sdk Failed on mac

Build failed on mac:

[----------] Global test environment tear-down
[==========] 475 tests from 76 test cases ran. (7633 ms total)
[ PASSED ] 475 tests.
/repo/aws_downloads/aws-sdk-cpp/aws-cpp-sdk-core-tests/RunTests.cpp:40: Failure
Expected equality of these values:
memorySystem.GetCurrentOutstandingAllocations()
Which is: 16
0ULL
Which is: 0
/repo/aws_downloads/aws-sdk-cpp/aws-cpp-sdk-core-tests/RunTests.cpp:40: Failure
Expected equality of these values:
memorySystem.GetCurrentBytesAllocated()
Which is: 1440
0ULL
Which is: 0
/repo/aws_downloads/aws-sdk-cpp/aws-cpp-sdk-core-tests/RunTests.cpp:40: Failure
Value of: memorySystem.IsClean()
Actual: false
Expected: true
aws-cpp-sdk-core-tests(10932,0x102cac580) malloc: *** error for object 0x6000038f8858: pointer being freed was not allocated
aws-cpp-sdk-core-tests(10932,0x102cac580) malloc: *** set a breakpoint in malloc_error_break to debug
/bin/sh: line 1: 10932 Abort trap: 6 ./aws-cpp-sdk-core-tests --gtest_shuffle --gtest_repeat=3
make[2]: *** [aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests] Error 134
make[2]: *** Deleting file `aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests'
make[1]: *** [aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all] Error 2
make: *** [all] Error 2
mkdir: /repo/aws_downloads/Mac: File exists
cp: /repo/aws_downloads/aws-sdk-cpp/_install/include: No such file or directory
ls: /repo/aws_downloads/aws-sdk-cpp/_install/lib/*.dylib: No such file or directory

cmake version 3.24.0-rc2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Build Error : MSB3073 , exited with code 6

Hello , I followed the steps and when it comes to step4 , I cannot build the project in Rider ,as well as VS. And the error : Microsoft.MakeFile.targets(44, 5): [MSB3073] Command“E:\UE_5.1\Engine\Build\BatchFiles\Build.bat AmazonPollyMetaHumanEditor Win64 Development -Project="C:\Shenziyi\amazonpolly\AmazonPollyMetaHuman.uproject" -WaitMutex -FromMsBuild” exited with code 6.

I am Using Ue5.1.1 . Could anyone help? Thank you.

Upgrade to latest aws sdk

If I want to use the latest aws sdk to use the language code which is not supported in 1.9.0 which this project

The project is using aws sdk 1.9.0 and it doesn't support using language code. For that I need to upgrade the sdk to the the latest one which 1.11.245 as of today.

If i just run BuildAwsSdkWin64.bat by changing the line is it enough ?

SET AWS_SDK_VERSION=1.11.245

i tried to do this but the updated code for generateSpeech with language code is not reflecting in the code

How to add Viseme J

image (65)
image (64)
image (63)
image (62)

How can I add Viseme J? When I test Korean language, NPC stop reading in the middle of speaking. I checked logs in editor and all text messages are successfully sent but Polly can't speak all text. This issue doesn't happen when speaking English.

USpeechComponent crash on mac

System setup

machine: M1 mac pro
build aws-sdk-cpp: cmake "$SDK_REPO_DIR" -DCMAKE_INSTALL_PREFIX="$SDK_INSTALL_DIR" -DBUILD_ONLY="polly" -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_OSX_ARCHITECTURES=x86_64 (have to switch off -DCUSTOM_MEMORY_MANAGEMENT=ON to PASS the build)
UE version: 4.27.2


how I trigger the bug

It successfully start the UE, and I can see the metahuman and the scene, and I can do "Play", there is a text box to input text. When I input some text, no speech is generated. Then I end the "Play", it cratshes:


log

LoginId:1df5aecc93402662665fcead18debcbe
EpicAccountId:c1550b314dfc4ca8b5464c64c553cfc6

Caught signal

Aws::Client::AWSClient::AttemptExhaustively(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod, char const*, char const*, char const*) const Address = 0x1c889e19d (filename not found) [in libaws-cpp-sdk-core.dylib]
Aws::Client::AWSClient::MakeRequestWithUnparsedResponse(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod, char const*, char const*, char const*) const Address = 0x1c88a3c55 (filename not found) [in libaws-cpp-sdk-core.dylib]
Aws::Polly::PollyClient::SynthesizeSpeech(Aws::Polly::Model::SynthesizeSpeechRequest const&) const Address = 0x1c7d29b5e (filename not found) [in libaws-cpp-sdk-polly.dylib]
PollyClient::SynthesizeSpeech(Aws::Polly::Model::SynthesizeSpeechRequest const&) Address = 0x1c7b0ae28 [/Users/test/repo/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/Private/PollyClient.cpp, line 36] [in UE4Editor-AmazonPollyMetaHuman.dylib]
USpeechComponent::SynthesizeAudio(FString const&, EVoiceId) Address = 0x1c7b0c113 (filename not found) [in UE4Editor-AmazonPollyMetaHuman.dylib]
USpeechComponent::GenerateSpeechSync(FString, EVoiceId) Address = 0x1c7b0bf8f [/Users/test/repo/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/Private/SpeechComponent.cpp, line 118] [in UE4Editor-AmazonPollyMetaHuman.dylib]
UE4Function_Private::TFunctionRefCaller<FGenerateSpeechAction::FGenerateSpeechAction(FLatentActionInfo const&, USpeechComponent*, FString const&, EVoiceId const&, EGenerateSpeechExecPins&)::$_0, void ()>::Call(void*) Address = 0x1c7b0a711 [/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Core/Public/Templates/Function.h, line 548] [in UE4Editor-AmazonPollyMetaHuman.dylib]
TGraphTask::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) Address = 0x10cfb5d3c (filename not found) [in UE4Editor-Core.dylib]
FTaskThreadAnyThread::ProcessTasks() Address = 0x10cf987ca (filename not found) [in UE4Editor-Core.dylib]
FTaskThreadAnyThread::ProcessTasksUntilQuit(int) Address = 0x10cf97818 (filename not found) [in UE4Editor-Core.dylib]
FTaskThreadAnyThread::Run() Address = 0x10cf976c9 (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::Run() Address = 0x10d0c9a18 (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x10d03ab84 (filename not found) [in UE4Editor-Core.dylib]
_pthread_start Address = 0x7ff81a5194e1 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7ff81a514f6b (filename not found) [in libsystem_pthread.dylib]

Aws sdk build - cmake error

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.

UE4.26 crashes when trying to trigger Speak function from a Remote API Call

Hi, when combining this sample project with Unreal's Remote Control API , the whole UE4.26 crashes completely.

My function is called ReadMessage, defined solely in the blueprint:

image

And this is the request:

POST http://127.0.0.1:30010/remote/object/call
{
    "objectPath": "/Game/AmazonPollyMetaHuman/Scene/MetaHumanScene.MetaHumanScene:PersistentLevel.BP_Ada2_2",
    "functionName": "ReadMessage",
    "parameters": {
        "messageToRead": "Hello I'm Ada, how are you doing?"
    }
}

The error message that I got is:

LoginId:<redacted>
EpicAccountId:<redacted>

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000

UE4Editor_AmazonPollyMetaHuman_3538!USpeechComponent::SynthesizeAudio() [D:\Repositories\amazon-polly-metahumans\Source\AmazonPollyMetaHuman\Private\SpeechComponent.cpp:124]
UE4Editor_AmazonPollyMetaHuman_3538!USpeechComponent::GenerateSpeechSync() [D:\Repositories\amazon-polly-metahumans\Source\AmazonPollyMetaHuman\Private\SpeechComponent.cpp:118]
UE4Editor_AmazonPollyMetaHuman_3538!<lambda_71e7cd1c01ca36e3ca6a661652370fe3>::operator()() [D:\Repositories\amazon-polly-metahumans\Source\AmazonPollyMetaHuman\Private\GenerateSpeechAction.cpp:39]
UE4Editor_Core!TGraphTask<FAsyncGraphTask>::ExecuteTask() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:886]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasks() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:1065]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasksUntilQuit() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:888]
UE4Editor_Core!FTaskThreadAnyThread::Run() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:965]
UE4Editor_Core!FRunnableThreadWin::Run() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:86]

To clarify, I did manage to successfully make Ada talk if I add UEDPIE_0_ prefix before the Scene name / Object Path inside the POST body, so that it becomes "objectPath": "/Game/AmazonPollyMetaHuman/Scene/UEDPIE_0_MetaHumanScene.MetaHumanScene:PersistentLevel.BP_Ada2_2",.

But the issue is when I try to run it as standalone game, e.g. for Pixel Streaming, the UEDPIE_0_ isn't relevant anymore (since it's not Play In Editor, aka PIE), and when calling the function without the prefix, the whole UE4.26 crashes.

Can someone help me further with this?

Thanks a lot in advance!!

Polly character limit for SSML?

Hi, I have an interesting phenomenon where locally I can only input relatively short text when calling Polly with TextType SSML. But after deploying it on a pretty powerful EC2 instance, I can input a much larger SSML text body to it - albeit still having a limit, but still much less than the theoretically possible 6000 characters according to Polly documentation.

What could be the reason here? It can't be that the Polly SDK uses local computing resource, right? If then, where can I find this statement in the official documentation?

Thanks in advance!

Not able to produce the animation on adding new metahuman

Hello, first of all, thanks for all making it easy for Polly's integration. I am successfully able to run the sample given, now I am trying to add another metahuman as well and followed the steps given in the developer's guide, I am successfully able to import the metahuman and add all the speech blueprints with sequence, now on the next steps I am stuck.

I have some questions
1> after adding the Speech_AnimBP to the face component, the facial animation does not work but the audio plays back successfully.
2.> similar to above but this time on the body component I cant add the Bodyidle animation, even dragging n dropping the Bodyidle animation into anim class doesn't work,

Now I observed that if the face mesh of the new metahuman is changed back to ada_Facemesh with the Speech_AnimBP, it works fine.
So basically animation is only for ada_FaceMesh (Ada)?

I tried to change the face mesh directly by editing the Speech_AnimBP, but was unable, as it doesn't show other face mesh other than Ada.

Please guide. @cwalkere

Error out when starting Unreal

Hello,

I have succesfull done steps 1-3
I have run the bat file and it has created a Win64 folder with all the files.
I then downloaded the git project. When double clicking the uproject i get

The following modules are missing or built with a different engine version
AmazonPollyMetaHuman
would you like to rebuild now

click yes and then it comes up with an error it can not be compiled.
Do i need to put the win64 folder somewhere...
is there any other idea on what can be causing this.

Cannot build AmazonPollyMetahuman (and AmazonPolly is missing?)

Hello, first let me thank you a lot for this project, it really is interesting.

I have followed the quick-guide to the letter, but I get 4 errors at the end with the .bat file.

When I try to open the .uproject file, I get:

Missing AmazonPollyMetaHuman Modules

The following modules are missing or built with a different engine version:

AmazonPollyMetaHuman

Would you like to rebuild them now?

After trying to compile, the error tells me to compile manually, which i have tried with both VS2022 and VS2019, but I still get errors.

I have tried a few times the zip downloaded, but I get different sizes each time (and can only be extracted with 7Zip). Git results in stable size.

I am using W10, UE4..26.2, VS2022 and VS20219.

I'm at my wits' end. Could anyone help here, please?

The polly sdk not working correctly with some unicode language ?

I download the repo and built all SDKs. then add more voiceIds (like Zhiyu for chinse), after the pixel streaming started, when enter some Chinese text in the text box, the polly can only speak few characters. Same for Japanese's voice id. But for English works. Did I missing some configurations ?

Awssdk build error

hirdParty/AwsSdk/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-common/source/posix/system_info.c:196:34: error: this old-style function definition is not preceded by a prototype [-Werror,-Wstrict-prototypes]
const char *s_get_executable_path() {
^
1 error generated.
make[2]: *** [crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_info.c.o] Error 1
make[1]: *** [crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/all] Error 2
make: *** [all] Error 2

The speech component crashes

The editor crashes as soon as the Speak function is executed. In debug mode, it hits a breakpoint, and when I press "continue" in VS, it resumes. Please help. I'm really close

Error when compiling the Polly C++ SDK

Hi everyone,

I'm trying to get this working on my UnrealEngine 4.27 on a Windows OS and have followed all the steps in the readme appropriately up to step 3. I'm now trying to download and compile the appropriate binaries for windows using the BuildAwsSdkWin64.bat script, however, I am faced with the following error messages upon build.

Any assistance in trying to resolve this would be highly appreciated. Thanks.

image

SSML tags support

Hi, I have been digging on the AWS Polly docs and see that the command CLI accepts SSML tags. While I can produce audio file that follow these tags with the CLI, I cannot make it work in UE4.

When I pass a text with such tags (between tag symbols), the metahuman simply speaks the tag as if it is normal text.

Is there any way for Polly CLI to accept these tags from UE?

Thanks!

error when speaking

Any idea why i get this error on start
LogPollyMsg: Error: Polly failed to generate audio file. Error: Invalid DNS Label found in URI host
LogPollyMsg: Error: Failed to start speech. GenerateSpeech must be invoked before StartSpeech.

also get it when i type a message in the box and click speak

Trouble running AmazonPollyMetaHuman, Missing aws-c-auth.dll file

Hello, I downloaded the AmazonPollyMetaHuman project and followed the instructions, but a problem occurred.

I compiled it by running BuildAwsSdkWin64.bat, but the project still does not open.

image

image

I tried several times, but the file named |bin|aws-c-auth.dll does not exist. What should I do?

Error Building SDK on Mac M1 Ventura 13.0.1 (cMake 3.25.1)

BuildAwsSdkMac.sh fails with the errors below (Screenshot + Text).

What can I do?

image

TEXT:

[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_info.c.o
/Users/manuel/Documents/Unreal Projects/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-common/source/posix/system_info.c:196:34: error: this old-style function definition is not preceded by a prototype [-Werror,-Wstrict-prototypes]
const char *s_get_executable_path() {
                                 ^
1 error generated.
make[2]: *** [crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_info.c.o] Error 1
make[1]: *** [crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/all] Error 2
make: *** [all] Error 2
[  0%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_info.c.o
/Users/manuel/Documents/Unreal Projects/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-common/source/posix/system_info.c:196:34: error: this old-style function definition is not preceded by a prototype [-Werror,-Wstrict-prototypes]
const char *s_get_executable_path() {
                                 ^
1 error generated.
make[2]: *** [crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_info.c.o] Error 1
make[1]: *** [crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/all] Error 2
make: *** [all] Error 2
mkdir: Projects/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk: No such file or directory
cp: /Users/manuel/Documents/Unreal Projects/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/aws-sdk-cpp/_install/include: No such file or directory
mkdir: /Users/manuel/Documents/Unreal Projects/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/Mac: No such file or directory
ls: /Users/manuel/Documents/Unreal Projects/amazon-polly-metahumans/Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk/aws-sdk-cpp/_install/lib/*.dylib: No such file or directory

Linux Target

Hi,

is there any particular reason why the Linux target is omitted?
I built the aws sdk for Linux and enabled the platform, now running into this issue:

Caught signal 11 Segmentation fault

libUE4Editor-Core.so!FUnixPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*) [/home/ue4/UnrealEngine/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformStackWalk.cpp:693]
libUE4Editor-Core.so!FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) [/home/ue4/UnrealEngine/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp:191]
libUE4Editor-Core.so!FUnixCrashContext::CaptureStackTrace() [/home/ue4/UnrealEngine/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformCrashContext.cpp:291]
libUE4Editor-UnixCommonStartup.so!CommonUnixCrashHandler(FGenericCrashContext const&) [/home/ue4/UnrealEngine/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:35]
libUE4Editor-Core.so!PlatformCrashHandler(int, siginfo_t*, void*) [/home/ue4/UnrealEngine/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformCrashContext.cpp:853]
libpthread.so.0!UnknownFunction(0x143bf)

This happened after the plugin was successfully compiled.

I was wondering if you ran into issues on Linux as well or just did not work on platform support for it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.