[fpc-devel] Rebuild Lazarus fails for some reason

Michael Van Canneyt michael at freepascal.org
Thu Feb 19 08:31:32 CET 2009

On Wed, 18 Feb 2009, ABorka wrote:

> Hi,
> I'm getting
> "componenttreeview.pas(41,18) Fatal: Can't find unit ComponentTreeView used by
> ObjectInspector"
> On this computer (win32, XP) rebuilding Lazarus does not work.
> Steps:
> 1. Clear all lazarus/fpc directories (except the c:\pp\bin\i386-win32\ so
> there's a working FPC compiler left to build again, included in the PATH
> global environment variable)
> 2. Check out FPC from SVN (or svn update) into c:\fpc_svn\
> 3. cd c:\fpc_svn\ , make clean, make all, make install works OK
> 4. Check out Lazarus from SVN (or svn update) into c:\lazarus_svn\
> 5. cd c:\lazarus_svn\ , make clean, make all, make install works OK
> 6. Start up Lazarus
> 7. Tools -> Build Lazarus produces the above error
> Therefore cannot add any packages.
> in the Environment options
> Lazarus Directory = c:\lazarus
> Compiler path = c:\pp\bin\i386-win32\fpc.exe
> FPC Source dir = c:\fpc_svn\
> Seems to be something like
> http://bugs.freepascal.org/view.php?id=10433
> Any thoughts?

At first sight I would say that the path to the ComponentTreeView is simply
not set.

Without more info it's hard to tell. You would need to supply more of the
error message, for instance why does the compiler want to recompile the
ComponentTreeView unit ? Did it compile it before or not ?


More information about the fpc-devel mailing list