#1 Today 10:45:40

ritsch
Member
Registered: Today
Posts: 1

Error Compiling mormot2tests-Project

Hello,

i followed the installation guide for the mORMot 2 Framework (for delphi).

If i try to compile the mormot2tests-Project, i get some errors.

[dcc32 Error] mormot.lib.z.pas(192): E2065 Unsatisfied forward or external declaration:  'crc32'
[dcc32 Error] mormot.lib.z.pas(199): E2065 Unsatisfied forward or external declaration:  'adler32'
[dcc32 Error] mormot.lib.z.pas(680): E2065 Unsatisfied forward or external declaration:  'deflate'
[dcc32 Error] mormot.lib.z.pas(681): E2065 Unsatisfied forward or external declaration:  'deflateEnd'
[dcc32 Error] mormot.lib.z.pas(682): E2065 Unsatisfied forward or external declaration:  'inflate'
[dcc32 Error] mormot.lib.z.pas(683): E2065 Unsatisfied forward or external declaration:  'inflateEnd'
[dcc32 Error] mormot.lib.z.pas(685): E2065 Unsatisfied forward or external declaration:  'deflateInit_'
[dcc32 Error] mormot.lib.z.pas(687): E2065 Unsatisfied forward or external declaration:  'inflateInit_'
[dcc32 Error] mormot.lib.z.pas(690): E2065 Unsatisfied forward or external declaration:  'deflateInit2_'
[dcc32 Error] mormot.lib.z.pas(692): E2065 Unsatisfied forward or external declaration:  'inflateInit2_'
[dcc32 Error] mormot.lib.z.pas(693): E2065 Unsatisfied forward or external declaration:  'get_crc_table'

I need help fixing this error.

Thank you very much and greetings from Germany.

Offline

#2 Today 12:48:20

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,419
Website

Re: Error Compiling mormot2tests-Project

I can't reproduce it here.
Sounds like a conflict about the zlib statics - i.e. static\delphi\zlib*.obj files - on your side.

Which version of Delphi?
Did you try the mORMot 2 trunk?
Are you not mixing statics and sources between mORMot 1 and mORMot 2?

Ensure you properly downloaded and unpacked the statics as described in the README file.

Offline

Board footer

Powered by FluxBB