× General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.

Question mORMot 1.18 support, please

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #16016 by Alexander
mORMot 1.18 support, please was created by Alexander
Hello, mr. Sternas and whole PilotLogic team.
Can you please add support for mORMot 1.18  in CodeTyphon or help me to find out what am i doing wrong? This is stable version, it compiles well, but completely unusable - even samples fails to run with segmentation fault error. I suppose that's all about FPC version, but can't figure out what exactly going wrong.
mORMot2  works well with CodeTyphon, but it's currently in early beta stage and lack many features.
Sorry for my lame english
Best wishes,
Alexander

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #16017 by Alexander
Replied by Alexander on topic mORMot 1.18 support, please
CT version 7.50
Windows 10 PRO, 32gb RAM
Both Typhon32 and Typhon64 have the same issue

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 days ago #16018 by Sternas Stefanos
Replied by Sternas Stefanos on topic mORMot 1.18 support, please
Thanks Sir
We never test mORMot or mORMot2 to our LAB.
Please give us time to test and report.

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #16019 by Alexander
Replied by Alexander on topic mORMot 1.18 support, please
Thank you, Sir

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #16020 by Alexander
Replied by Alexander on topic mORMot 1.18 support, please
Here is information about installation in FPC/Lazarus and supported versions.
Trunk version of FreePascal should work but it doesn't.

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago - 1 week 2 days ago #16021 by LuZZZZi
Replied by LuZZZZi on topic mORMot 1.18 support, please
Hi guys,

I have adopted mORMot2 to CT 7.5 with a successfully test. i have made some changes of strings like ctpz...... to lpz.


Oh sorry, I saw that mORmot2 is working well. Forget that post.
Attachments:
Last edit: 1 week 2 days ago by LuZZZZi.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 days ago #16022 by Sternas Stefanos
Replied by Sternas Stefanos on topic mORMot 1.18 support, please
Thanks
Tomorrow we will try mORMot2.
 

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #16023 by Alexander
Replied by Alexander on topic mORMot 1.18 support, please
Mormot2 works almost out-of-the-box, i noticed it in first message in thread. But it's in "Work in progress" state since 2020.
Mormot1.18 is the stable and recommended version, but doesn't work in CT 7.50.
There is workaround using fpcupdeluxe, FPC 3.2.0 and Lazarus 2.0.10. In this combination mormot1.18 works well. But with CT 7.50 no luck.

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #16024 by Alexander
Replied by Alexander on topic mORMot 1.18 support, please
1.18, please, if possible.Mormot2, particulary lacks UI part of mormot1.18 such as "Grid to display", "orm-driven toolbar", "reporting tool" and such kind of bells and whistles.
Mormot2 works almost out-of-the-box, i noticed it in first message in thread. But it's in "Work in progress" state since 2020.
Mormot1.18 is the stable and recommended version, but doesn't work in CT 7.50.
There is workaround using fpcupdeluxe, FPC 3.2.0 and Lazarus 2.0.10. In this combination mormot1.18 works well. But with CT 7.50 had no luck.

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 1 day ago #16028 by Alexander
Replied by Alexander on topic mORMot 1.18 support, please
Ooops...
I missed this part of installation instruction, what a shame for me.

In synopse.inc:
{$if not defined(VER3_0) and not defined(VER3_2) and not defined(VER2)}
{$define FPC_PROVIDE_ATTR_TABLE} // to be defined since SVN 42356-42411 <
// on compilation error in SynFPCTypInfo, undefine the above conditional
// see  lists.freepascal.org/pipermail/fpc-annou...019-July/000612.html
{$ifend}

Just uncomment this line and everything work perfectly

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 day ago #16029 by Sternas Stefanos
Replied by Sternas Stefanos on topic mORMot 1.18 support, please
Sir NO luck with mORMot

But we port mORMot2 to new CT pl_mORMot package.
mORMot2 has better source structure

Screen from our tests in Win10-64

 

PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

  • Alexander
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 1 day ago #16030 by Alexander
Replied by Alexander on topic mORMot 1.18 support, please
Sir, see my previous post
Have luck with stable mormot 1.18, just need to uncomment one line in synopse.inc
Please do not port  mormot2,do port mormot1.18 instead, it's stable and well-documented.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 day ago #16031 by Sternas Stefanos
Replied by Sternas Stefanos on topic mORMot 1.18 support, please
We will test again mormot 1.18
tomorrow

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.