#1 2018-07-19 09:17:27

perell
Member
Registered: 2018-07-13
Posts: 2

Samles - 01 In Memory ORM error

Hi all,

I tried to compile In Memory ORM sample on lazarus 1.8.4 and received this error message:

type
  /// some type definition to avoid inclusion of TypInfo in main SynCommons.pas
  PRecInitData = TypInfo.PRecInitData;

Free Pascal Compiler version 3.0.4 [2018/05/19] for i386
(3104) Compiling Project01.lpr
(3104) Compiling C:\aplic\mormot\trunk\SQLite3\mORMot.pas
(3104) Compiling C:\aplic\mormot\trunk\SynZip.pas
(3104) Compiling C:\aplic\mormot\trunk\SynFPCTypInfo.pas
C:\aplic\mormot\trunk\SynFPCTypInfo.pas(92,26) Error: (5000) Identifier not found "PRecInitData"
C:\aplic\mormot\trunk\SynFPCTypInfo.pas(92,38) Error: (5007) Error in type definition
C:\aplic\mormot\trunk\SynFPCTypInfo.pas(94,1) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: C:\lazarus\fpc\3.0.4\bin\i386-win32\ppc386.exe returned an error exitcode

any advice?
thanks all

Offline

#2 2018-07-19 16:59:34

Alek
Member
From: Russia
Registered: 2014-07-04
Posts: 44

Re: Samles - 01 In Memory ORM error

I had the same problem. I used newpascal to compile and it's all become ok. You need unit - fpcsrc\rtl\objpas\typinfo.pp.

Offline

#3 2018-07-20 23:23:12

perell
Member
Registered: 2018-07-13
Posts: 2

Re: Samles - 01 In Memory ORM error

Thanks alek

Offline

Board footer

Powered by FluxBB