zoran
New Member
Posts: 3
|
Post by zoran on Jun 18, 2005 14:50:59 GMT -5
Hi Kevin
I am getting these compiler errors when I try to install VCLZip:
[Error] kphstrms.pas(224): E2003 Undeclared identifier: 'SReadError' [Error] kphstrms.pas(230): E2003 Undeclared identifier: 'SWriteError' [Warning] kphstrms.pas(322): W1002 Symbol 'Win32Check' is specific to a platform [Error] kphstrms.pas(349): E2003 Undeclared identifier: 'SFCreateError' [Error] kphstrms.pas(354): E2003 Undeclared identifier: 'SFOpenError' [Warning] kphstrms.pas(543): W1002 Symbol 'HeapAllocFlags' is specific to a platform [Warning] kphstrms.pas(545): W1002 Symbol 'HeapAllocFlags' is specific to a platform [Error] kphstrms.pas(546): E2003 Undeclared identifier: 'SMemoryStreamError' [Fatal Error] VCLUnZip.pas(29): F2063 Could not compile used unit 'kphstrms.pas'
What am I doing wrong?
I have D2005 and I am using package for D7 since there is no package for D2005 (shouldn't make any difference, should it?)
There is no previous version of VCLZip installed, and I have updated the Library path in D2005.
Win XP Pro SP2, D2005 SP3, VCLLib src30532.zip
Thanks. Zoran
|
|
|
Post by Kevin on Jun 19, 2005 20:36:08 GMT -5
For Delphi 2005, install the files for D7, but create a new package.
Kevin
|
|
|
Post by zorannarozcom on Jun 20, 2005 16:37:24 GMT -5
That's exactly what I did. I copied VCLZipD7_3.dpk into VCLZipD9_3.dpk and with Notepad changed package name to VCLZipD9_3. I've also copied VCLZipD7_3.res into VCLZipD9_3.res.
I opened the package and created project for D2005. When I compile I get those errors.
Did you tried to compile with D2005?
|
|
|
Post by Kevin on Jun 21, 2005 14:04:48 GMT -5
No, that is not creating a new package, you have to create a brand new package for D2005.
Yes, I have compiled with D2005 and it works fine.
Kevin
|
|
|
Post by Dennis Passmore on Jun 24, 2005 13:04:22 GMT -5
The user must manually update the file: kpdefs.inc
by adding the following defines
{$IFDEF VER170} { Delphi 2005} {$DEFINE DELPHI_BCB_3} {$DEFINE HAS_64_BIT_INT} {$WARN SYMBOL_PLATFORM OFF} {$WARN UNIT_PLATFORM OFF} {$DEFINE INT64STREAMS} {$DEFINE ISDELPHI4} {$DEFINE ISDELPHI5} {$DEFINE ISDELPHI6} {$DEFINE ISDELPHI7} {$DEFINE ISDELPHI} {$DEFINE ISCLX} {$ENDIF}
|
|
zoran
New Member
Posts: 3
|
Post by zoran on Jun 25, 2005 13:14:09 GMT -5
I've created brand new package in D2005 and added all the necessary units, but it gave me the same error as before.
After I've applied changes to kpdefs.inc everything worked out fine. Thank you Dennis!
|
|
|
Post by Kevin on Jul 5, 2005 9:10:52 GMT -5
I'm sorry. The newer version, 3.05, that is mentioned on this forum but not yet in the registration instructions, has this modification already in it. I thought you were using the newer version of VCLZip. Thanks Dennis. ;D Kevin
|
|