You are not logged in.
Pages: 1
Hello, after install Mormot on Windows 10 - Delphi CE Rio, and after compile and excecute TestSQL3, I can't compile any project from Mormot\SQLite3\Samples
The messages of errors are many (70)
[dcc32 Error] SynTable.pas(4857): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(4951): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(5008): E2003 Undeclared identifier: 'BOOL_UTF8'
[dcc32 Error] SynTable.pas(5023): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(5563): E2003 Undeclared identifier: 'unaligned'
[dcc32 Error] SynTable.pas(5644): E2003 Undeclared identifier: 'unaligned'
I followed the steps from install instructions I seted the library path and browsing path C:\Mormot;C:\Mormot\SQLite3;C:\Mormot\SynDBDataset;C:\Mormot\CrossPlatform
Thanks
Offline
Hello, I have a similar problem.
I downloaded the latest version of the framework today (https://github.com/synopse/mORMot/archive/master.zip)
Unpacked, registered all the paths in the IDE (as described in 26.3.3. "Setup the Delphi IDE"; Library path:
(... existing path ...); D: \ Dev \ mORMot; D: \ Dev \ mORMot \ SQLite3; D: \ Dev \ mORMot \ SynDBDataset).
None of the examples compile. I tried both in Delphi_2007, and in Delphi_10.1 Berlin - the result is the same.
Windows 10.
[DCC Error] SynTable.pas(4857): E2003 Undeclared identifier: 'unaligned'
[DCC Error] SynTable.pas(4951): E2003 Undeclared identifier: 'unaligned'
[DCC Error] SynTable.pas(5008): E2003 Undeclared identifier: 'BOOL_UTF8'
[DCC Error] SynTable.pas(5023): E2003 Undeclared identifier: 'unaligned'
[DCC Error] SynTable.pas(5563): E2003 Undeclared identifier: 'unaligned'
[DCC Error] SynTable.pas(5644): E2003 Undeclared identifier: 'unaligned'
[DCC Warning] SynTable.pas(5645): W1023 Comparing signed and unsigned types - widened both operands
[DCC Warning] SynTable.pas(5647): W1023 Comparing signed and unsigned types - widened both operands
[DCC Error] SynTable.pas(5837): E2003 Undeclared identifier: 'unaligned'
[DCC Error] SynTable.pas(6137): E2003 Undeclared identifier: 'NextGrow'
[DCC Error] SynTable.pas(7189): E2034 Too many actual parameters
[DCC Error] SynTable.pas(7363): E2010 Incompatible types: 'string' and 'Pointer'
[DCC Error] SynTable.pas(8028): E2003 Undeclared identifier: 'DynArray'
[DCC Error] SynTable.pas(8073): E2003 Undeclared identifier: 'DynArray'
[DCC Error] SynTable.pas(8096): E2003 Undeclared identifier: 'DynArray'
[DCC Error] SynTable.pas(8119): E2003 Undeclared identifier: 'DynArray'
[DCC Error] SynTable.pas(8120): E2003 Undeclared identifier: 'Capacity'
[DCC Error] SynTable.pas(8123): E2003 Undeclared identifier: 'DynArray'
[DCC Error] SynTable.pas(8205): E2003 Undeclared identifier: 'SetBitPtr'
[DCC Error] SynTable.pas(8243): E2003 Undeclared identifier: 'GetBitPtr'
[DCC Error] SynTable.pas(8319): E2003 Undeclared identifier: 'unaligned'
[DCC Error] SynTable.pas(9626): E2250 There is no overloaded version of 'Decompress' that can be called with these arguments
[DCC Error] SynTable.pas(9718): E2034 Too many actual parameters
[DCC Error] SynTable.pas(9772): E2003 Undeclared identifier: 'NextGrow'
[DCC Error] SynTable.pas(10254): E2003 Undeclared identifier: 'PosExChar'
[DCC Error] SynTable.pas(10355): E2003 Undeclared identifier: 'PosExChar'
[DCC Error] SynTable.pas(10881): E2034 Too many actual parameters
[DCC Error] SynTable.pas(12289): E2003 Undeclared identifier: 'NewSynLocker'
[DCC Error] SynTable.pas(12289): E2250 There is no overloaded version of 'Create' that can be called with these arguments
[DCC Error] SynTable.pas(12296): E2003 Undeclared identifier: 'DoneAndFreeMem'
[DCC Error] SynTable.pas(13139): E2250 There is no overloaded version of 'KB' that can be called with these arguments
[DCC Error] SynTable.pas(13140): E2250 There is no overloaded version of 'KB' that can be called with these arguments
[DCC Error] SynTable.pas(13161): E2034 Too many actual parameters
[DCC Error] SynTable.pas(13162): E2034 Too many actual parameters
etc
Last edited by BV (2019-12-20 19:29:34)
Offline
Something seems wrong with your configuration.
I guess you are mixing with an old revision of the framework, e.g. from SynPDF.
Ensure you have a single SynCommons.pas in your path.
I have no problem e.g. with Delphi 2007:
********** mORMot integration using Delphi 2007 *********
Switches=-B -Q -GD -O\dev\lib\SQLite3 -R\dev\lib -Ec:\temp\tempbuild\exe -Nc:\te
mp\tempbuild\dcu -B -Q -DINCLUDE_FTS3 -GD -U\dev\lib;\dev\lib\sqlite3;\dev\lib\s
yndbdataset;\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;Wi
napi;Vcl;System.Win
D:\dev\lib\SQLite3
CodeGear Delphi for Win32 compiler version 18.5
Copyright (c) 1983,2007 CodeGear
353199 lines, 12.95 seconds, 3344544 bytes code, 182364 bytes data.
Offline
That's right !! You are right, I completely forgot about the link to a separate directory with SynPDF.
The problem is solved, thank you very much!
Last edited by BV (2019-12-20 22:49:06)
Offline
Pages: 1