Tom
Tom

Reputation: 3044

How to install Indy on Delphi 10.3 Rio?

The help says "You can use GetIt Package Manager to discover and install additional third-party software onto RAD Studio." but Indy is not available in GetItenter image description here

I dowloaded newest files from Github. I run the Fullc_Rio.bat file then opened Indy260.groupproj but when compiling I got:

[Fatal Error] Cannot compile package 'IndySystem260' which is currently required by Delphi 10.3.

Upvotes: 3

Views: 5710

Answers (2)

Remy Lebeau
Remy Lebeau

Reputation: 597941

Indy comes pre-installed in every IDE version, and has been for a very long time.

However, if you want to install a newer version than what Embarcadero ships, you have to first remove the pre-installed version. This is mentioned in Indy's installation notes:

All package names are followed by X0 (where X0 is your Delphi/C++Builder/RAD Studio product version).

...

If Indy 10 is already installed, it needs to be uninstalled first:

  • Remove the pre-compiled design-time BPL files - dclIndyCoreX0.bpl and dclIndyProtocolsX0.bpl - from the IDE via the "Components > Install Packages" dialog.
  • Delete all of the existing binaries - IndySystemX0.*, (dcl)IndyCoreX0.*, and (dcl)IndyProtocolsX0.*
  • Delete any Indy 10 source files, if present.
  • Be sure to check for files in the IDE's \bin, \lib, and \source folders, \Indy subfolders, and OS system folders.

...

You can either:

  • Use the command-line FULLD#.BAT script that corresponds to your Delphi version.

  • Open the individual DPK files in the IDE and compile them, in the following order:

  1. IndySystemX0.dpk (in Lib\System)
  2. IndyCoreX0.dpk (in Lib\Core)
  3. IndyProtocolsX0.dpk (in Lib\Protocols)
  4. dclIndyCoreX0.dpk (in Lib\Core)
  5. dclIndyProtocolsX0.dpk (in Lib\Protocols)

...

Refer to the installation notes for full instructions.


UPDATE: the installation notes have been moved to Indy's GitHub repo:

Updating Indy

Upvotes: 6

Ken White
Ken White

Reputation: 125749

Indy is already installed in Rio during the product installation. It's used in parts of the RTL. It's already installed in all versions of Delphi.

If you open a new VCL or FMX application, click on a form to activate the designer, and go to the component palette, and enter TId in the search box, you can find the Indy related component pages in the palette.

Upvotes: 3

Related Questions