Build Error!
yusufgbagci opened this issue · 1 comments
Hi,
Has anyone attempted to build this plugin? I'm encountering several errors, and one of the main ones is as follows:
Severity Code Description Project File Line Suppression State Details
Error C1083 Cannot open include file: 'aws/core/Aws.h': No such file or directory serviceintegration C:\Users\Administrator\Documents\Unreal Projects\serviceintegration\Plugins\aws-sdk-unreal-main\Source\AwsSdkIntegration\Public\AwsIntegrationSubsystem.h
Can anyone help?
@yusufgbagci I had to manually change the $vcpkgDir
to C:/vcpkg
in aws-sdk-unreal/Extras/Scripts/build-vcpkg.ps1
.
I came across a warning in the log output, "aws-sdk-cpp's build system uses very long paths and may fail on your system. We recommend moving vcpkg to a short path such as 'C:\src\vcpkg' or using the subst command".
The path assigned by the script wasn't short enough for me apparently. None of the AWS libraries were actually installing (there were no logs for any aws-sdk-cpp
dlls).
I already had vcpkg
installed at C:/vcpkg
so I just use that as the directory.
Haven't tested in a packaged build yet, but I'm working on a GameInstanceSubsystem
for cognito-idp
with no issues so far.