Lazarus

Programming => Packages and Libraries => Topic started by: majid.ebru on February 13, 2018, 02:01:35 pm

Title: [Solved]i can't install VirtualTree??
Post by: majid.ebru on February 13, 2018, 02:01:35 pm
Hi

i can't install VirtualTree??

can someone help me??/
Title: Re: i can't install VirtualTree??
Post by: Pascal on February 13, 2018, 02:11:59 pm
You are probably missing generics support. Which compiler version are you using?
Title: Re: i can't install VirtualTree??
Post by: majid.ebru on February 13, 2018, 02:43:06 pm
Lazarus 1.8.0RC5

windows XP SP3

at first , i install "lclextensions-0.6.1.lpk"

then i try to install "VirtualTreeView" from---> (.../VirtualTreeView-Lazarus-lazarus_master/source/virtualtreeview_package.lpk)
Title: Re: i can't install VirtualTree??
Post by: taazz on February 13, 2018, 03:18:30 pm
Lazarus 1.8.0RC5

windows XP SP3

at first , i install "lclextensions-0.6.1.lpk"

then i try to install "VirtualTreeView" from---> (.../VirtualTreeView-Lazarus-lazarus_master/source/virtualtreeview_package.lpk)
open online package manager and install it from there. what you show might be as simple as a conflict between .inc files or a missing {$Mode delphi} directive or as complicated as a corruption of some kind. Try the menu packages\online package manager and install it from there so we can have a common ground.
Title: Re: i can't install VirtualTree??
Post by: rvk on February 13, 2018, 04:58:49 pm
Lazarus 1.8.0RC5 has FPC 3.0.4.
The newest version 6.x from VirtualTreeView (which you downloaded) clearly stated it needs fpc 3.1 (trunk) or newer.
See https://github.com/blikblum/VirtualTreeView-Lazarus

Using the 5.5.3_R1 from online package manager (or from github releases (https://github.com/blikblum/VirtualTreeView-Lazarus/releases)) should work fine.

On trunk, VirtualTreeView 6.0.0 only needs one change (somewhere with Exit(nil)) to compile.
Title: Re: i can't install VirtualTree??
Post by: majid.ebru on February 16, 2018, 11:18:42 am
@rvk :)

Thank you

i installed it
TinyPortal © 2005-2018