[Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

Luca Olivetti luca at ventoso.org
Wed Feb 13 09:30:24 CET 2019


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]


> El 6/2/19 a les 18:51, Sven Barth via fpc-devel ha escrit:
> 
>> Would you nevertheless try with 3.2, please? Just in case it happens 
>> to be the problem I had fixed in regards to Queue().
> 
> The branch is fixes_3_2?

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;" found

OK, 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 type

OK, 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
-- 
Luca



More information about the lazarus mailing list