#1 2016-01-28 09:41:57

lzs
Member
Registered: 2016-01-28
Posts: 1

mormot compile error

Hello,

I just downloaded the mormot framework and tried to compile one of the samples. (project06clientmain)
I am using Delphi XE7 Professional

I always get the following compile errors:

[dcc32 Error] SynZip.pas(4916): E2065 Unsatisfied forward or external declaration: 'z_errmsg'
[dcc32 Error] SynZip.pas(4916): E2065 Unsatisfied forward or external declaration: 'memset'
[dcc32 Error] SynZip.pas(4916): E2065 Unsatisfied forward or external declaration: 'memcpy'
[dcc32 Fatal Error] mORMot.pas(1751): F2063 Could not compile used unit 'SynZip.pas'

Clicking on the error positions the cursor beyond the end of the synzip.pas unit.

Any idea what's wrong here ?

Many thanks

Luc

Offline

#2 2016-01-28 13:09:03

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

Re: mormot compile error

What about if you try to compile other projects, like TestSQL3.dpr ?

Ensure you have set the IDE paths as expected, and documented.
http://synopse.info/files/html/Synopse% … l#TITL_113

Perhaps you have other deflate.obj or trees.obj in your path, which are not the one expected by SynZip.pas.
Those deflate.obj and trees.obj are in the root folder of the source code repository (at the same level than SynZip.pas).

I'm not able to reproduce the issue here.

Offline

Board footer

Powered by FluxBB