Lazarus
Programming => Operating Systems => macOS / Mac OS X => Topic started by: sinfoni on May 20, 2010, 05:39:25 am
-
Hello all,
Once again I'm fighting with Indy...
Suddenly, I get this message:
/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é.
-
Make sure that you remove any of the duplicate .inc files that are in default archives.
-
That is ? Could you tell me more ? :o
-
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.
-
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?
-
As I said previously...
That is ? Could you tell me more ?
Which inc do you talk about ?
I've rebuild lazarus, recompiled indy, tried to modify path etc.
-
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.
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
-
I can't rebuild lazarus, again because of Indy. So next question:
HOW to uninstall Indy ?
-
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
-
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.
-
I have completly removed Lazarus directory then reinstalled it .
My code editor is always missing. What next ? Must I format my Mac Book ???????????
-
My code editor is always missing.
how's that? any screenshots? of the problem
how to reproduce?
-
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.