Lazarus

Programming => Operating Systems => Mac OS X => Topic started by: sinfoni on May 20, 2010, 05:39:25 am

Title: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 20, 2010, 05:39:25 am
Hello all,

Once again I'm fighting with Indy...
Suddenly, I get this message:
Code: [Select]
/Developer/lazarus/components/indy-10.2.0.3/fpc/IdFTP.pas(704,11) Fatal: Can't find unit IdFtpCommon used by IdFTP

Why ? This IdFtpCommon is present ...

Thanks in advance.
André.
Title: Re: Help ! Annoying error using ... INDY...
Post by: marcov on May 20, 2010, 05:40:38 am
Make sure that you remove any of the duplicate .inc files that are in default archives.

Title: Re: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 20, 2010, 06:05:10 am
That is ? Could you tell me more ? :o
Title: Re: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 27, 2010, 04:35:15 am
I have wasted 5 days to try to solve this.
Is there anybody to help me ?
Or maybe Lazarus is definitly not usable for professional project.
Title: Re: Help ! Annoying error using ... INDY...
Post by: marcov on May 27, 2010, 05:01:05 am
I have wasted 5 days to try to solve this.
Is there anybody to help me ?
Or maybe Lazarus is definitly not usable for professional project.

What have you tried? Did you delete duplicates of .inc files in the original source tree as I said?
Title: Re: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 27, 2010, 05:28:56 pm
As I said previously...
Quote
That is ? Could you tell me more ?

Which inc do you talk about ?

I've rebuild lazarus, recompiled indy, tried to modify path etc.
Title: Re: Help ! Annoying error using ... INDY...
Post by: fredycc on May 27, 2010, 06:05:21 pm
If you try to install Indy for Lazarus I recommed you indy-10.2.0.3 version. Try to compile the indylaz.lpk file after that, install. And rebuil lazarus.

If you install any other package to the IDE, and Indy give you problems, go to: tools -> build lazarus -> Advanced Options, just select build for Register packages and nothing for the others, save options and try to install again.

Quote
Or maybe Lazarus is definitly not usable for professional project.

I have made ftp clients and messaging clients with Indy. And works!, I forget say, just have test Indy for win & linux.

mmm I need to test for mac. of couse virtualized  :-X
Title: Re: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 29, 2010, 03:57:09 am
I can't rebuild lazarus, again because of Indy. So next question:

HOW to uninstall Indy ?
Title: Re: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 29, 2010, 04:19:28 am
I have removed indy form lazarus, deleted indy directory, rebuild lazarus.
Then I have copied a new Indy directory, compiled the package, installed it.

Now, I reopen my project, try to compile and

I GET EXACTLY THE SAME ERROR !!!

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

Title: Re: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 29, 2010, 04:58:40 am
And now again, my code editor has disappaered, again.

Anybody has an idea ? I've spent more than 40 days for nothing at this time on this project using lazarus on Mac OS X while the same one developped with Delphi 2007/Windows perfectly works.

Maybe I waste my time and my money trying to use lazarus/indy.
Title: Re: Help ! Annoying error using ... INDY...
Post by: sinfoni on May 29, 2010, 05:19:13 am
I have completly removed Lazarus directory then reinstalled it .
My code editor is always missing. What next ? Must I format my Mac Book ???????????
Title: Re: Help ! Annoying error using ... INDY...
Post by: skalogryz on May 29, 2010, 09:04:31 am
My code editor is always missing.
how's that? any screenshots? of the problem

how to reproduce?
Title: Re: Help ! Annoying error using ... INDY...
Post by: evoshroom on January 24, 2013, 05:11:37 am
I got that problem too.  You need to open the Project Options and under Other Unit Files add the Core, System and Protocols directories.  That will fix it.

This assumes you downloaded off the SVN.  I'm using 10.5.8.  You also need to completely remove and read every file in the LPK to get it to compile and also comment out a line in one of the .inc's involving SelectedSomethingOrOther.