#1 2020-05-24 07:01:23

Christope
Member
Registered: 2020-05-23
Posts: 4

Problem compiling SynPDF with Lazarus

I am developping a program using SynPDF. When I try to compile, I have the following error messages:

Code:
type
  /// some type definition to avoid inclusion of TypInfo in SynCommons/mORMot.pas
  PFPCInterfaceData = TypInfo.PInterfaceData;
  PFPCVmtMethodParam = TypInfo.PVmtMethodParam;
  PFPCIntfMethodTable = TypInfo.PIntfMethodTable;
  PFPCIntfMethodEntry = TypInfo.PIntfMethodEntry;
{$ifdef FPC_NEWRTTI}
  PFPCRecInitData = TypInfo.PRecInitData; 

Error messages:
SynFPCTypInfo.pas(93,31) Error: Identifier not found "PInterfaceData"
SynFPCTypInfo.pas(93,45) Error: Error in type definition
SynFPCTypInfo.pas(94,32) Error: Identifier not found "PVmtMethodParam"
SynFPCTypInfo.pas(94,47) Error: Error in type definition
SynFPCTypInfo.pas(95,33) Error: Identifier not found "PIntfMethodTable"
SynFPCTypInfo.pas(95,49) Error: Error in type definition
SynFPCTypInfo.pas(96,33) Error: Identifier not found "PIntfMethodEntry"
SynFPCTypInfo.pas(96,49) Error: Error in type definition

Has anyone encountered that?
Thanks

Offline

#2 2020-05-24 20:25:21

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,182
Website

Re: Problem compiling SynPDF with Lazarus

SynPDF is not compatible with Lazarus.

It is tied to the VCL and Windows. So it is Delphi only.

Offline

#3 2020-05-25 16:21:10

Christope
Member
Registered: 2020-05-23
Posts: 4

Re: Problem compiling SynPDF with Lazarus

Too bad, thanks for the reply.

Offline

Board footer

Powered by FluxBB