[Lazarus] Fwd: newbie

duilio foschi octopushole at gmail.com
Sat Jan 11 23:12:19 CET 2014


the compiler says "Can't find unit ComponentTreeView used by ObjectInspector".

This message in plain English language seems clear to me, also because
I am accustomed to it (I have been working with Delphi since v. 1).

Nothing of that.

The compiler wants to mean "I found unit ComponentTreeView and want to
compile it again but I should not".

As in the old joke, this clearly shows that Lazarus is female :)

I hope you are wrong, because I wont work with a tool that gives so
misleading messages.

Anyway your suggestions didnt work ... or I didnt apply them in the correct way.

This is what I did

1. added switch -vut to CONFIGURE BUILD LAZARUS
http://it.tinypic.com/r/f24u83/5

2. opened the package I am interested in
http://it.tinypic.com/r/rc8tok/5

3. compiled the package
http://it.tinypic.com/r/s2fd3s/5

4. tried to install it...
http://it.tinypic.com/r/2a7bpg9/5
http://it.tinypic.com/r/qqx17l/5

5. after a few minutes, I see the same error message as before
http://it.tinypic.com/r/2il24ur/5


I hope that Lazarus _really_ cant find unit ComponentTreeView and that
there is a way to tell Lazarus where to search for it... :)

Thank you

Peppe

2014/1/10 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> On Fri, 10 Jan 2014 22:49:53 +0100
> duilio foschi <octopushole at gmail.com> wrote:
>
>>[...]
>> type to Lazarus package (*.lpk), locate and open GR32_DSGN_L.dpk
>>[...]
>> Only at the last step, when Lazarus compiles itself, I get the
>> following error message:
>> ..\ideintf\objectinspector.pp(47,3) Fatal: Can't find unit
>> ComponentTreeView used by ObjectInspector
>>
>> A screenshot with the error message was uploaded at
>> http://it.tinypic.com/r/v4s76w/5
>
> The screenshot shows that componenttreeview.ppu was found, but the
> compiler thinks it needs to be recompiled.
>
>
>> I searched for file
>> ComponentTreeView.pas
>
> Wrong track. The compiler has already compiled this source to a ppu
> file. The problem is that it wants to compile it again, which it
> should not.
>
> Please compile the IDE with the compiler verbosity options "-vut", which
> you can add to the IDE build options (Tools / Configure build Lazarus
> options).
> This gives lot of output, so you better start the IDE with command
> line parameter "--debug-log=log.txt".
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list