El 6/2/19 a les 19:19, Luca Olivetti ha escrit:
[The original thread was in fpc-devel, but this is a lazarus issue I think]
Show quoted text 6 lines
I'm having difficulties compiling lazarus with this branch. First I tried with lazarus 1.8.4, now I'm trying with lazarus 2.0.
I compiled that branch, installed (make install), created a fpc.cfg with fpmkcfg, put the new compiler directory (d:\pp\bin\i386-win32) as the first one in PATH, cleaned everything in the lazarus directory (make clean and deleting all lib directories).
This is the result of make bigide
(3104) Compiling tadiagram.pas
D:\laz_test\components\tachart\tadiagram.pas(347,38) Error: (3349) Only static methods and static variables can be referenced through an object type tadiagram.pas(989) Fatal: (10026) There were 1 errors compiling module, stopping
make ide generates a lazarus binary, but then I cannot install my components:
VirtualTreeView (checked out from git)
VirtualTrees.pas(772,19) Error: No matching implementation for interface
method "SetData(const tagFORMATETC;var TagSTGMEDIUM;LongBool):LongInt;
StdCall;" foundOK, remove virtualtreeview (I don't need it in this project, after all this is just a test).
Next TAChart fails (wait, this is included with lazarus)
tadiagram.pas(347,38) Error: Only static methods and static variables
can be referenced through an object typeOK, remove it too and jcfidelazarus,turbopoweripro and laz_fpspreadsheet which require it.
Now I have a working ide (without those packages) and I can do some tests, but it worries me that there's no virtualtreeview and the tachart included with lazarus doesn't compile.
Bye
