简体   繁体   English

如何在 Delphi 10.3 Rio 上安装 Indy?

[英]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."帮助说“您可以使用 GetIt Package Manager 来发现其他第三方软件并将其安装到 RAD Studio 上。” but Indy is not available in GetIt但 Indy 在 GetIt 中不可用在此处输入图像描述

I dowloaded newest files from Github.我从 Github 下载了最新文件。 I run the Fullc_Rio.bat file then opened Indy260.groupproj but when compiling I got:我运行 Fullc_Rio.bat 文件然后打开 Indy260.groupproj 但是在编译时我得到了:

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

Indy comes pre-installed in every IDE version, and has been for a very long time. Indy 预装在每个 IDE 版本中,并且已经存在很长时间了。

However, if you want to install a newer version than what Embarcadero ships, you have to first remove the pre-installed version.但是,如果您想安装比 Embarcadero 发布的新版本,您必须首先删除预安装的版本。 This is mentioned in Indy's installation notes : Indy 的安装说明中提到了这一点:

All package names are followed by X0 (where X0 is your Delphi/C++Builder/RAD Studio product version).所有 package 名称后跟 X0(其中 X0 是您的 Delphi/C++Builder/RAD Studio 产品版本)。

... ...

If Indy 10 is already installed, it needs to be uninstalled first:如果已安装 Indy 10,则需要先将其卸载:

  • Remove the pre-compiled design-time BPL files - dclIndyCoreX0.bpl and dclIndyProtocolsX0.bpl - from the IDE via the "Components > Install Packages" dialog.通过“组件 > 安装包”对话框从 IDE 中删除预编译的设计时 BPL 文件 - dclIndyCoreX0.bpl 和 dclIndyProtocolsX0.bpl。
  • Delete all of the existing binaries - IndySystemX0.*, (dcl)IndyCoreX0.*, and (dcl)IndyProtocolsX0.*删除所有现有的二进制文件 - IndySystemX0.*、(dcl)IndyCoreX0.* 和 (dcl)IndyProtocolsX0.*
  • Delete any Indy 10 source files, if present.删除任何 Indy 10 源文件(如果存在)。
  • Be sure to check for files in the IDE's \bin, \lib, and \source folders, \Indy subfolders, and OS system folders.请务必检查 IDE 的 \bin、\lib 和 \source 文件夹、\Indy 子文件夹和 OS 系统文件夹中的文件。

... ...

You can either:您可以:

  • Use the command-line FULLD#.BAT script that corresponds to your Delphi version.使用与您的 Delphi 版本对应的命令行 FULLD#.BAT 脚本。

  • Open the individual DPK files in the IDE and compile them, in the following order:打开 IDE 中的各个 DPK 文件并按以下顺序编译它们:

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

... ...

Refer to the installation notes for full instructions.有关完整说明,请参阅安装说明。

Indy is already installed in Rio during the product installation.在产品安装期间,Indy 已经安装在 Rio 中。 It's used in parts of the RTL.它用于 RTL 的某些部分。 It's already installed in all versions of Delphi.它已经安装在 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.如果你打开一个新的 VCL 或 FMX 应用程序,点击一个表单激活设计器,go 到组件面板,在搜索框中输入TId ,你可以在面板中找到 Indy 相关的组件页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM