You are not logged in.
Hi all,
I've installed laz4android with LAMW laz4android1.8.0-FPC3.0.4 and the latest mormot sources version '1.18.4779',
the sample 27 - CrossPlatform Clients\FPC compiles well, but i get this error with the 01 - In Memory ORM .
Perhaps i need some things on the typinf.pp.
Regards,
Offline
I've installed laz4android1.7.0-53387-FPC3.1.1 and get the same error but when i've istalled newpascal with lazarus 1.9 and fpc 3.1.1 all work fine.
I find a différence between the two files and don't understand why !
typinfo.pp from laz4android1.7-FPC3.1.1
{
This file is part of the Free Pascal run time library.
(EDITED / TRUNCATED)
Thnx for the answer
Offline
Please follow the forum rules and don't post huge set of code in the forum !
See https://synopse.info/forum/misc.php?action=rules
8)
Offline
I apologize for my last message, and I promise you that it will not happen again.
But I stumble on the problem and my knowledge on the different types of installation of FPC are limited.
Please can someone give me a start to solve my problem?
Thnx,
Offline
I have the same problem. My server is developed using NewPascal BUT the client was developed using Lazarus/FPC 1.8.4; I have to do that because NewPascal cannot compile certain components that I'm using client-side.
NewPascal compiles the newest mORMot but Lazarus/FPC 1.8.4 does not because of the new typeinfo code
type
/// some type definition to avoid inclusion of TypInfo in main SynCommons.pas
PRecInitData = TypInfo.PRecInitData;
Is there any way to use say {$define} to smartly get around this constraint.
Thanks a million,
JD
Offline
Hi,
I'm running into the same problem when I didn't use NewPascal. Tried out stable and trunk with FPCUPdeluxe, same error message as shown from JD in #6 above. None of the included demos like TestSQL3.lpi aso works anymore.
Is there a way to get back mORMot running against the latest changes in typinfo.pp without the PRecInitData structure?
Thx a lot
Carsten
Offline
With a fresh trunk (installed with fpcupdeluxe), the mORMot (TestSQL3.lpi) compiles and runs fine on my system (win10, 32bit).
Offline
Hm, I'm a little bit confused now, because I have done a fresh installation some days ago and remembered the problem today. How did you get the mORMot into Lazarus, have you used also fpcupdeluxe installing it into ccr? But should not make any difference.
So I will give it a try to clean up my whole installation again. fpc sources now are synced and it seems the structure is inside (again?) in typinfo.pp ?! But I have to wait lazarus is ready with compile.....
You are right, now everything works fine - thanks for your hint!
Offline