Issue using Indy 10 with Lazarus under Mac OS X

Giganews Newsgroups
Subject: Issue using Indy 10 with Lazarus under Mac OS X
Posted by:  sinfoni (asejoun…@sinfoni.fr)
Date: Mon, 31 May 2010

Hi,

Facts are: When building a project using FTP client, you get this error message:

/Developer/lazarus/components/indy-10.2.0.3/fpc/IdFTP.pas(704,11) Fatal: Can't find unit IdFtpCommon used by IdFTP

IdFTPCommon is present, but not IdFtpCommon. If you renamme IdFTPCommon into IdFtpCommon, you get:

/Developer/lazarus/components/indy-10.2.0.3/fpc/IdFTP.pas(704,11) Fatal: Can't find unit IdFTPCommon used by IdFTP

To solve this issue, I had to :

Create a new directory nammed "bug" under this one:
"/Developer/lazarus/components/indy-10.2.0.3/lazarus/lib"

Copy IdFTPCommon.ppu and IdFTPCommon.o
from
"/Developer/lazarus/components/indy-10.2.0.3/lazarus/lib/i386-darwin"
to
"/Developer/lazarus/components/indy-10.2.0.3/lazarus/lib/bug"

Renamme the both files in "bug" directroy into IdFtpCommon.ppu and IdFtpCommon.o

At last, add "/Developer/lazarus/components/indy-10.2.0.3/lazarus/lib/bug" to the "Others unit files (-FU)" compiler option, that is I've now this value:
"/Developer/lazarus/components/indy-10.2.0.3/lazarus/lib/i386-darwin;/Developer/lazarus/components/indy-10.2.0.3/lazarus/lib/bug"

Then, I was able to build my project.
Andr?.

Replies