#1 2018-08-09 12:00:00

sundoctor
Member
Registered: 2018-08-09
Posts: 1

Lazarus 1.8.4 compilation

Gives me some errors such as:

SynFPCTypInfo.pas(92,26) Error: Identifier not found "PRecInitData"
SynFPCTypInfo.pas(168,21) Error: Identifier not found "AlignTypeData"
SynFPCTypInfo.pas(173,31) Error: Identifier not found "AlignTypeData"

So my code tested with SynMongoDB library link failed:

program project1;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Classes,
  SynMongoDB;

var Client: TMongoClient;
    DB: TMongoDatabase;
    serverTime: TDateTime;
    errmsg: RawUTF8;
begin
  Client := TMongoClient.Create('localhost',27017);
end.

Could you please take attention at this?

Last edited by sundoctor (2018-08-09 12:09:49)

Offline

#2 2018-08-09 19:35:52

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

Re: Lazarus 1.8.4 compilation

Use FPC trunk.

Offline

Board footer

Powered by FluxBB