Recent

Author Topic: [SOLVED] mormot  (Read 752 times)

delphi2pk

  • New Member
  • *
  • Posts: 15
[SOLVED] mormot
« on: June 19, 2025, 02:54:17 pm »
How to add mormot 2.3 source path in Lazarus 4?
« Last Edit: June 23, 2025, 01:43:51 pm by delphi2pk »

PierceNg

  • Sr. Member
  • ****
  • Posts: 409
    • SamadhiWeb
Re: mormot
« Reply #1 on: June 19, 2025, 03:22:50 pm »
Add the mormot LPK(s) to the project. LPKs in <mormot-src>/packages/lazarus/.

delphi2pk

  • New Member
  • *
  • Posts: 15
Re: mormot
« Reply #2 on: June 20, 2025, 08:12:44 am »
Add the mormot LPK(s) to the project. LPKs in <mormot-src>/packages/lazarus/.

Still not working .. :-\

PierceNg

  • Sr. Member
  • ****
  • Posts: 409
    • SamadhiWeb
Re: mormot
« Reply #3 on: June 20, 2025, 09:07:05 am »
"Still not working" doesn't convey much info. Describe what you're trying to do, or show some code.

delphi2pk

  • New Member
  • *
  • Posts: 15
Re: mormot
« Reply #4 on: June 20, 2025, 02:17:37 pm »
"Still not working" doesn't convey much info. Describe what you're trying to do, or show some code.

I've download installed mormot following these steps:

Setup your favorite IDE:
On Lazarus:
Just open and compile the /packages/lazarus/mormot2.lpk package;
and mormot2ui.lpk if needed.

Then I write a simple program:

program Project1;
uses
   mormot.core.basic;
begin

end.

Error: mormot.core.basic unit not found.
   

korba812

  • Sr. Member
  • ****
  • Posts: 476
Re: mormot
« Reply #5 on: June 20, 2025, 02:42:58 pm »
Have you added the mormot package as a requirement to your project?
(project inspector -> Add -> New Requirement)

PierceNg

  • Sr. Member
  • ****
  • Posts: 409
    • SamadhiWeb
Re: mormot
« Reply #6 on: June 20, 2025, 02:49:57 pm »
uses
   mormot.core.basic;

Error: mormot.core.basic unit not found.

I don't see mormot.core.basic in the source tree. There is mormot.core.base.

Thaddy

  • Hero Member
  • *****
  • Posts: 17414
  • Ceterum censeo Trumpum esse delendum (Tnx Charlie)
Re: mormot
« Reply #7 on: June 20, 2025, 03:01:26 pm »
Yup.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

delphi2pk

  • New Member
  • *
  • Posts: 15
Re: mormot
« Reply #8 on: June 21, 2025, 09:28:45 am »
uses
   mormot.core.basic;

Error: mormot.core.basic unit not found.

I don't see mormot.core.basic in the source tree. There is mormot.core.base.

Sorry, It was a type mistake. but its still not working after change it to mormot.core.base

delphi2pk

  • New Member
  • *
  • Posts: 15
Re: mormot
« Reply #9 on: June 21, 2025, 09:31:05 am »
Have you added the mormot package as a requirement to your project?
(project inspector -> Add -> New Requirement)

So much happy to find your solution. Its working now.
A bundle of Thanx bro. ;D

 

TinyPortal © 2005-2018