Recent

Author Topic: Help ! Annoying error using ... INDY...  (Read 8090 times)

sinfoni

  • Jr. Member
  • **
  • Posts: 56
Help ! Annoying error using ... INDY...
« 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é.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7495
Re: Help ! Annoying error using ... INDY...
« Reply #1 on: May 20, 2010, 05:40:38 am »
Make sure that you remove any of the duplicate .inc files that are in default archives.


sinfoni

  • Jr. Member
  • **
  • Posts: 56
Re: Help ! Annoying error using ... INDY...
« Reply #2 on: May 20, 2010, 06:05:10 am »
That is ? Could you tell me more ? :o

sinfoni

  • Jr. Member
  • **
  • Posts: 56
Re: Help ! Annoying error using ... INDY...
« Reply #3 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.
« Last Edit: May 27, 2010, 04:36:48 am by sinfoni »

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7495
Re: Help ! Annoying error using ... INDY...
« Reply #4 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?

sinfoni

  • Jr. Member
  • **
  • Posts: 56
Re: Help ! Annoying error using ... INDY...
« Reply #5 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.
« Last Edit: May 27, 2010, 05:31:10 pm by sinfoni »

fredycc

  • Sr. Member
  • ****
  • Posts: 265
Re: Help ! Annoying error using ... INDY...
« Reply #6 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
« Last Edit: May 27, 2010, 06:15:11 pm by fredycc »

sinfoni

  • Jr. Member
  • **
  • Posts: 56
Re: Help ! Annoying error using ... INDY...
« Reply #7 on: May 29, 2010, 03:57:09 am »
I can't rebuild lazarus, again because of Indy. So next question:

HOW to uninstall Indy ?

sinfoni

  • Jr. Member
  • **
  • Posts: 56
Re: Help ! Annoying error using ... INDY...
« Reply #8 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


sinfoni

  • Jr. Member
  • **
  • Posts: 56
Re: Help ! Annoying error using ... INDY...
« Reply #9 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.

sinfoni

  • Jr. Member
  • **
  • Posts: 56
Re: Help ! Annoying error using ... INDY...
« Reply #10 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 ???????????

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2280
    • havefunsoft.com
Re: Help ! Annoying error using ... INDY...
« Reply #11 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?
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

evoshroom

  • Full Member
  • ***
  • Posts: 157
Re: Help ! Annoying error using ... INDY...
« Reply #12 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.