You are not logged in.
Pages: 1
Hi.
In Delphi 10.4, I get this error: Undeclared identifier system.@varclr
The error happens on line 39972 of syncommpons.pas (dated 12/27/2019) , and is called on line 895 of Sqlite2pages.pas (dated 02/2920)..
Is there any fix for this, or maybe am I doing something wrong?
Everything worked fine in Delphi 10.2. It broke with 10.4.
Thanks for your help
Offline
Did you try a more recent version from https://github.com/synopse/SynPDF or https://github.com/synopse/mORMot ?
I can't reproduce the problem here.
Offline
Thanks.
Yes I did try the newer versions. However I see these lines in syncommons.pas
{$ifdef LVCL}
dd @@err
{$else} dd System.@VarClr
{$endif LVCL}
What is LVCL and where is it defined? Maybe I should undefine it? Where would I do it?
Offline
I forgot to mention that I am on 64bit. Now I see that if CPU64 is defined, the line that causes the error would be ignored.
Where should I define COU64? I tried in Projects->Options, but that givesme an error in NexusDB4.
Offline
If you don't what LVCL is, you don't need it.
It should never be defined for standard process.
I guess there is something wrong with your setup.
I don't have problem on my side:
********** mORMot integration using Delphi 10.4 Win32 *********
Switches=-B -Q -GD -O\dev\lib\SQLite3 -R\dev\lib -Ec:\temp\tempbuild\exe -Nc:\temp\tempbuild\dcu -B -Q -DINCLUDE_FTS3 -GD -U\dev\lib;\dev\lib\sqlite3;\dev\lib\syndbdataset;\dev\lib\crossplatform;\dev\lib\sqlite3\DDD\dom;\dev\lib\sqlite3\DDD\infra -I\dev\lib;\dev\lib\crossplatform -NSSystem;Xml;Data;Datasnap;Web;Soap;Winapi;Vcl;System.Win
Embarcadero Delphi for Win32 compiler version 34.0
Copyright (c) 1983,2020 Embarcadero Technologies, Inc.
365287 lines, 6.39 seconds, 5488016 bytes code, 292060 bytes data.
Offline
HI.
Mine is win64. However I have no idea of what "Switches=-B -Q -GD -O\dev\lib\SQLite3 -R\dev\......" means. I just put all source files in a folder and I add the files I need to the Project. Do I need to run some kind of installation instead?
Offline
Did you read the doc about Delphi setup?
https://synopse.info/files/html/Synopse … l#TITL_113
Offline
Pages: 1