You are not logged in.
Pages: 1
File mORMot.pas
type
TFakeCallStack = packed record
ParamRegs: packed array[PARAMREG_FIRST..PARAMREG_LAST] of pointer;
end;
[Error] mORMot.pas(54582): Undeclared identifier: 'PARAMREG_FIRST'
--------------
RegisterIdent := PARAMREG_RESULT;
[Error] mORMot.pas(55565): Undeclared identifier: 'PARAMREG_RESULT'
-------------
Compiled under Delphi 7 Ent, 64 Bit Windows 7, CPU386
Last edited by radexpol (2019-11-29 15:21:44)
Offline
I have no problem to compile with Delphi 7.
compiling D:\dev\lib\SQLite3\TestSQL3.dpr...
Borland Delphi Version 15.0
Copyright (c) 1983,2002 Borland Software Corporation
614491 lines, 2.86 seconds, 3997856 bytes code, 190069 bytes data.
Ensure you get the latest version of the framework, and that you didn't mess with conditionals.
Offline
Strange, did you changed something in configuration files after downloading fresh Mormot repository? How to you compile TestSQL3, command line? What conditionals you are talking about?
Offline
NO conditional is needed.
Most of the time, such compilation problems come from messing with IDE paths in your configuration: there may be some SynPDF/SynCommons units somewhere which make confusion with your main mORMot repository.
Offline
It does not work on my colleague computers too so I don't think this is a problem with my environment. I've added:
{$DEFINE CPUX86}
{$DEFINE NOHTTPCLIENTWEBSOCKETS}
to synopse.inc to make it work.
Offline
Your synopse.inc seems incorrect.
CPUX86 is clearly defined for Delphi 7 in https://github.com/synopse/mORMot/blob/ … e.inc#L437
Offline
Damn, you are right, my synopse.inc pointed to the old SynGDIPlus folder (also containing synopse.inc) which has been added to delphi environment as search path.
Offline
Pages: 1