Jump to content

Recommended Posts

I got an interesting message when I tried to upgrade my project from Delphi 10.3 to Delphi 10.4.1. It says I need to add "getit" package!. This is really a strange message.

(There is no package named getit in my project group and I am sure I don't have any dependency to a package named getit.) 

image.png.a88a09bc217c7f74e16093b63f57d2bc.png

Share this post


Link to post

Just guessing: You are referencing a unit named "Utils" in your project, which you missed to add to the package project directly.

  • Like 1

Share this post


Link to post
3 minutes ago, Uwe Raabe said:

You are referencing a unit named "Utils" in your project

Yes. That is right. I already "fixed" it. 

But it is really strange to say that I have to add "getit" right?

Share this post


Link to post

Not from the IDEs point of view. When a unit is referenced by a package that is not contained in that package, it looks for other installed packages for this unit. In this case it found one in the getit package.

 

That is standard behavior since ages. Try compiling a package that uses VCL.Controls without mentioning anything in the requires clause. Delphi will suggest to add vcl.

Share this post


Link to post

Having a unit called "utils" in the GetIt package is not really a bright idea by Embarcadero. At least they could have prefixed it as getit.utils.

  • Like 5

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×