ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 cannot compile package PKIECtrl16 under XE2
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

swierzbicki

France
5 Posts

Posted - Oct 25 2011 :  02:22:40  Show Profile  Reply
Hello

I've troubles compiling the latest ImageEn version under XE2 (ImageEn_4.0.1_53706B_Setup).
I'm not able to compile PKIECtrl16.dproj (Release, Win32). Delphi is throwing this error :


[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '@inflate_blocks_new'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '@inflate_blocks'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '@inflate_blocks_reset'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '@inflate_blocks_free'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '@inflate_set_dictionary'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '@inflate_blocks_sync_point'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '@inflate_table'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '_inflate_mask'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '_bz_internal_error'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '_hbMakeCodeLengths'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '_hbAssignCodes'
[DCC Error] iezlib.pas(1): E2065: Unsatisfied forward or external declaration: '_blockSort'
[DCC Fatal Error] tiffilt.pas(637): F2063 Could not compile used unit 'iezlib.pas'
Failed
Elapsed time: 00:00:02.9

swierzbicki

France
5 Posts

Posted - Oct 25 2011 :  02:44:39  Show Profile  Reply
I've found a workarround :

Edited ie.inc and put a remark on :
// ZLib support
//{$define IEINCLUDEZLIB}
Go to Top of Page

fab

1310 Posts

Posted - Oct 25 2011 :  04:28:59  Show Profile  Reply
ZLib is necessary, you should not disable it.
Make sure that precompiled obj files are in the same path of ImageEn pas files.
Go to Top of Page

swierzbicki

France
5 Posts

Posted - Oct 27 2011 :  06:06:21  Show Profile  Reply
Hello Fabrizio,

Problem was solved after putting all imageen .obj file into the source folder. Looks like an incompatibility with Delphi XE2 .Obj files and ImageEn .Obj files.
Go to Top of Page

fab

1310 Posts

Posted - Oct 27 2011 :  08:15:15  Show Profile  Reply
Hello,
ImageEn obj files (precompiled jpeg, zlib, etc...) must stay in the source folder or in the Delphi library path.
Go to Top of Page

swierzbicki

France
5 Posts

Posted - Oct 28 2011 :  05:26:44  Show Profile  Reply
Fabrizio,

Libs folder was in the Delphi library path but this didn't helped.
I was forced to cut and paste them into the source folder.

Anyway thank you for your support.

BR

Stephan
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: