I feel like I am losing my mind trying to make LAZARUS (v4.6) do even the simplest thing.
I need a program to write spreadsheets out from a given data set. fpSpreadsheet seems to be the answer. I tried to use FPC but of course fpSpreadsheet needs to be compiled under Lazarus.
I have downloaded Lazarus, installed it clean and used only the defaults.
It of course fails as there is no fpSpreadsheet installed within Lazarus. I download and install it through the online package manager, then rebuild the IDE.
It still cannot find fpSpreadsheet. It was installed to [AppData]\Local\lazarus\onlinepackagemanager\packages\FPSpreadsheet\source\common. So I point the project's 'additional folders' at this location. (This seems like an incredibly long winded approach - why does that setting (a) not take top level wildcards such as [AppData]\Local\lazarus\onlinepackagemanager\* and why on earth does it not include that as a default that it knows about already?)
It still fails to compile:
fpspreadsheet.pas(25,31) Error: Cannot find avglvltree used by fpSpreadsheet, incompatible ppu=C:\lazarus\components\lazutils\lib\i386-win32\avglvltree.ppu, package LazUtils
'Build' produces the same error. The source is indeed inside "C:\lazarus\components\lazutils"
What on earth is going on? This all seems stupidly complicated. I've just installed it from scratch and would hope that libraries would compile!!