Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build Landgraf AWS SDK #11

Open
duzzell opened this issue Feb 17, 2024 · 3 comments
Open

Unable to build Landgraf AWS SDK #11

duzzell opened this issue Feb 17, 2024 · 3 comments

Comments

@duzzell
Copy link

duzzell commented Feb 17, 2024

Hello

I am using Delphi 11 on Windows 10. Following the steps for manual installation, I'm unable to build the packages in this library. The error I'm getting is

[dcc64 Fatal Error] awscore.dpk(28): E2225 Never-build package 'awscore' must be recompiled
[dcc64 Fatal Error] awslexruntimeservice.dpk(34): E2202 Required package 'awscore' not found

These errors were generated by choosing Build All on the AWSPackages entry in the Projects window. I get the same error on building awslexruntimev2280.bpl when I try to build the packages individually.

If it helps to know, I have some TMS components installed (Aurelius, BIZ Core Library, FNC). I also have downloaded and compiled the Appercept AWS SDK.

I would appreciate any help you can provide.

Thanks

@wlandgraf
Copy link
Contributor

Sorry, the steps described in manual installation were swapped. We fixed it now. You should first add the folder to library path, and the compile all the packages. This way Delphi can find the compiled awscore compiled .dcp file, which is required to compile the other packages in the project group.

@duzzell
Copy link
Author

duzzell commented Feb 19, 2024

On my system, awscore.dcp is written to C:\Users\david\Documents\Embarcadero\Studio\22.0\CatalogRepository\AWSLandgrafSDK\Packages\d11\Win64\Release. In Delphi 11, I went to Tools->Options->Language->Delphi->Library and added the above path to the 'Library path' dropdown. After cleaning the project and removing all the platform folders I still get the same error in the same place when I try to build the project.

Did I follow the instructions as you intended? I am not at all clear about 'Never-build' code that 'must be recompiled'
.

Thanks

@wlandgraf
Copy link
Contributor

Did I follow the instructions as you intended? I am not at all clear about 'Never-build' code that 'must be recompiled'

That usually means awscore.dcp was not found.

But, the folder you mentioned: C:\Users\david\Documents\Embarcadero\Studio\22.0\CatalogRepository\AWSLandgrafSDK\Packages\d11\Win64\Release in Win64, not Win32.
You must add that directory to Win64 Delphi Library path. Then you can also add C:\Users\david\Documents\Embarcadero\Studio\22.0\CatalogRepository\AWSLandgrafSDK\Packages\d11\Win32\Release to the Win32 Delphi Library path.

Then compile all packages for both WIn32 and WIn64, pay attention to compile them for Release config, not Debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants