#1 2021-09-22 14:03:38

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

mORMot 2 does not compile

In the: mormot.lib.z compilation error

[dcc32 Error] mormot.lib.z.pas(601): E1026 File not found: '..\..\static\delphi\zlibdeflate.obj'
[dcc32 Error] mormot.lib.z.pas(602): E1026 File not found: '..\..\static\delphi\zlibtrees.obj'
[dcc32 Error] mormot.lib.z.pas(603): E1026 File not found: '..\..\static\delphi\zlibinflate.obj'
[dcc32 Error] mormot.lib.z.pas(604): E1026 File not found: '..\..\static\delphi\zlibinftrees.obj'

Delphi 10.4, 32bit

Offline

#2 2021-09-22 14:40:56

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

Re: mORMot 2 does not compile

OK, I've downloaded those files from https://synopse.info/files/mormot2static.7z, that's pity that the files are not included in repository, I've configured my SVN to link mormot folder to https://github.com/synopse/mORMot2/trunk, to automatically synchronize my components\mORMot folder, but this is completely unuseful, if the repository does not contain all required to compile files.

Offline

#3 2021-09-22 15:16:33

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,571
Website

Re: mORMot 2 does not compile

Git itself is not designed for binary files. We try to use a git-lfs extension, but github.com require payments in case git-lfs is used.
So yes, binaries should be downloaded either from synopse.info or from releases page on gihtub - https://github.com/synopse/mORMot2/releases

Offline

#4 2021-09-22 15:40:32

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

Re: mORMot 2 does not compile

The minimal step is to properly install the source and its static requirements, as documented.

Offline

#5 2021-09-23 08:49:19

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

Re: mORMot 2 does not compile

OK, I decided to store all required files in my components repository, except of \src which I've linked to your mORMot repository : https://github.com/synopse/mORMot2/trunk/src, so this folder will be always up to date.

Last edited by radexpol (2021-09-23 10:08:37)

Offline

#6 2021-09-23 14:29:31

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

Re: mORMot 2 does not compile

It is a good way.

On my PC, I never directly expose the github checkout, but I synch & copy manually to the working folder to check for any breaking change.

Offline

Board footer

Powered by FluxBB