[Lazarus] IDE rebuild fails on raspi4

Tom Lisjac zikon770 at gmail.com
Sun Feb 9 10:09:26 CET 2020


Thanks Werner.

You are correct that oleutils is outside the Windows endif... my apologies.
The monitor I'm using for the pi is very small and I should have used a
magnifying glass to confirm the problem description before posting.

Per your comments, I was able to complete the IDE rebuild after manually
compiling fpdebug, lclextensions, virtualtreeview and the
onlinepackagemanager. However when I restart Lazarus, I have to recompile
them again to do another rebuild. Not sure what's causing the lack of
persistence, but Otto Dominguez also sent me a link to a set of 2.0.6
packages he's made for the pi4 and I think I'll give those a try.

Thanks again for your reply and suggestions,

-Tom




On Fri, Feb 7, 2020 at 11:09 AM Werner Pamler via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> Am 07.02.2020 um 11:16 schrieb Tom Lisjac via lazarus:
> > Trying to get Lazarus working on the raspberry pi 4 with the latest
> > Raspbian (Debian 10.2). Installed 2.0.0+dfsg-2 with synaptic from the
> > Raspbian repos, but haven't been able to install components and
> > rebuild the IDE, due to:
> >
> >   VirtualTrees.pas(70,3) Fatal: Cannot find OleUtils used by
> VirtualTrees.
> >
> > Got past a similar issue with fpdebug buy compiling it manually, but
> > the VirtualTrees source shows OleUtils inside a Windows ifdef which
> > isn't going to resolve on the pi:
> >
> > unit VirtualTrees;
> > {$ifdef Windows}
> >   ...
> >   OleUtils,
>
> I checked several versions of the Lazarus port on Luiz's github
> ((https://github.com/blikblum/VirtualTreeView-Lazarus - the version
> included in Lazarus is based on v5)), and they all have OleUtils outside
> the Windows ifdef, the code is:
>
> uses
>    {$ifdef Windows}
>    Windows,
>    ActiveX,
>    CommCtrl,
>    {$else}
>    laz.FakeActiveX,
>    {$endif}
>    OleUtils,
>    ....
>
> In fact, OleUtils is a unit which provides some Windows-functionality
> for other widgetsets. However, it does not belong the VirtualTreeViews -
> it is contained in the lclextensions package which you must compile
> first, before touching VirtualTreeViews. Maybe it is sufficient to
> simply do a clean rebuild of the IDE.
>
>
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200209/08f5a5db/attachment.html>


More information about the lazarus mailing list