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

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

Open hendryman opened 1 year ago

hendryman commented 1 year ago

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
nickhollowayvid commented 1 year ago

Hi - am having same issue/same error messages displaying as @hendryman as above when attempting to Compile the Polly C++ SDK on Mac M1... any help/advice very much appreciated. Thanks, Nick