Author Topic: MongoDB  (Read 439 times)


  • Newbie
  • Posts: 4
« on: May 22, 2020, 10:24:23 pm »
I work with lazarus 2.08 and fpc 3.04. I need a driver or component to work with MongoDB. I have read that it can be done through mORMot-master, but when trying to install it I get many errors that I do not know how to solve:

Free Pascal Compiler version 3.0.4 [2020/04/11] for x86_64

(3104) Compiling C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(91,31) Error: (5000) Identifier not found "PInterfaceData"
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(91,45) Error: (5007) Error in type definition
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(92,32) Error: (5000) Identifier not found "PVmtMethodParam"
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(92,47) Error: (5007) Error in type definition
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(93,33) Error: (5000) Identifier not found "PIntfMethodTable"
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(93,49) Error: (5007) Error in type definition
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(94,33) Error: (5000) Identifier not found "PIntfMethodEntry"
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(94,49) Error: (5007) Error in type definition
C:\lazarus\components\mORMot-master\SynFPCTypInfo.pas(107,1) Fatal: (10026) There were 8 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: C:\lazarus\fpc\3.0.4\bin\x86_64-win64\ppcx64.exe returned an error exitcode

I appreciate all collaboration


  • Hero Member
  • *****
  • Posts: 2251
  • Compiler Developer
Re: MongoDB
« Reply #1 on: May 23, 2020, 11:44:25 am »
As far as I know FPC 3.0.4 is not supported by mORMot. A 3.1.1 after the integration of the interface RTTI is required according to this blog post. You could use the 3.2.0 RC1 or wait a few more weeks until 3.2 final is released.


TinyPortal © 2005-2018