#1 2016-07-04 12:09:50

swierzbicki
Member
Registered: 2014-11-19
Posts: 28

mORMot Framework cannot be compiled under FPC / Wince platform !

Hello,

Looks like mORMot wasn't designed to be compiled under FPC / Wince platform.
Has anyone successfully modified the sources to make it compatible with WINCE ?

Thank you

Offline

#2 2016-07-04 14:34:47

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

Re: mORMot Framework cannot be compiled under FPC / Wince platform !

Not, the main set of units is not compatible with WinCE.
A server on WinCE doesn't make much sense, I guess..

But the client cross-platform units should work with WinCE.
See http://synopse.info/files/html/Synopse% … DE_TITL_86

Offline

#3 2016-07-12 09:23:40

swierzbicki
Member
Registered: 2014-11-19
Posts: 28

Re: mORMot Framework cannot be compiled under FPC / Wince platform !

SynCrossPlattform units are fine.
There is a small issue on the SynCrossPlattformREST unit :

Compiler is seeing an error here :
fOwner.OnLog := {$ifdef FPC}@{$endif}LogToRemoteServerText;

I guess your are using {$MODE Delphi}. Shouldn't {$ifdef FPC}@{$endif} be removed ?

Offline

#4 2016-07-12 16:13:08

swierzbicki
Member
Registered: 2014-11-19
Posts: 28

Re: mORMot Framework cannot be compiled under FPC / Wince platform !

I've a "big" problem, I need to register some of my class (I use a lot of TObjectlist) but  TJSONSerializer is part of Mormot unit that cannot be compiled under Wince platform...

Last edited by swierzbicki (2016-07-12 16:38:26)

Offline

#5 2016-07-12 16:44:37

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

Re: mORMot Framework cannot be compiled under FPC / Wince platform !

The idea is to define the class with mORMot, then generate the client wrappers for ORM and SOA.

Offline

Board footer

Powered by FluxBB