virtualDBGrid - problems compiling ... lazarus / 16-Databases ---------------------------------------------------------------------- IPguy · 2011-12-30 21:00 I just downloaded the svn containing virtualDBGrid (from http://code.google.com/p/luipack/source) and attempted to install the package, but am having problems getting it to compile. The 2nd line produces the below error messages:Code: [Select]type   TIntegerList = specialize TFPGList ;      QuoteC:\Laz\32432\lazarus\components\virtualdbgrid\VirtualDBGrid.pas(7 40,29) Error: Identifier not found "specialize" C:\Laz\32432\lazarus\components\virtualdbgrid\VirtualDBGrid.pas(740,29 ) Error: Error in type definition C:\Laz\32432\lazarus\components\virtualdbgrid\VirtualDBGrid.pas(740,29 ) Fatal: Syntax error, ";" expected but "identifier TFPGLIST" found I do have the required packages (lclextensions, virtualtreeview, lcl) loaded and working. Any suggestions? 0.9.31-32432-2.5.1,win32-Vista ---------------------------------------------------------------------- LuizAmérico · 2011-12-30 21:45 Seems your compiler version does not like generics. Using fpc 244 without problems ---------------------------------------------------------------------- IPguy · 2011-12-31 02:09 Odd.  the version of 2.5.1 [2011/12/30] included with today's Laz snapshot does not like that line. There are already several reports of generic issues with fpc, but I'll add one more bug report. Thanks. edit: an "fpc" bug report, not a laz bug report. ---------------------------------------------------------------------- LuizAmérico · 2011-12-31 09:01 Try using fpc 260rc or fpc 244, the official releases ---------------------------------------------------------------------- LuizAmérico · 2011-12-31 13:46 Update the svn and try again ---------------------------------------------------------------------- IPguy · 2011-12-31 17:13 Luiz, Thank you.  It now compiles. Should I see a component icon for it in the component tab someplace? The virtualdbgrid_package.pas does not include a RegisterUnit line, but it's CompilerOptions does say "RunAndDesignTime". ---------------------------------------------------------------------- IPguy · 2012-01-01 02:26 re: virtualdbgrid icon - the icon is finally showing up. I did the following: - removed the old version of Laz - added a RegisterUnit line to the virtualdbgrid_package.pas file - exported virtualdbgrid folder from the svn folder to my working laz/component folder. The next issue I had was three errors (see below) when I loaded "megademo", which I resolved by removing those properties from the Umegademo.lfm file. Eror reading NTB.ShowTabs: Unknown property: "ShowTabs" Error reading Page1.Caption: Unknown property: "Caption" Error reading Page2.Caption: Unknown property: "Caption" Luiz, thanks for the demo program.