Hello,
I'm writing to report, that when I want to install zcomponent.lpk under Lazarus, in an IDE configured with the -dDEBUG compiler directive which is included in the "Debug IDE" profile, I've got the message "FClientCP file not found", in the ZDbcStatement.pas file, procedure TZAbstractStatement.SetASQL, line 637 (release 7.2.14).
Obviously, removing this directive from the "Additions and overrides" menu list will allow my Zeos installation to proceed without any problems . For information, the use of {$IFDEF DEBUG}...\...{$ENDIF} exists in the Lazarus source code for only a few special cases. Not many, but they exist. And I'm currently testing such a special case . So, I'm just posting a suggestion (I don't know enough about the Zeos source codes to have a complete view of the ins and outs of my suggestion). I've seen that elsewhere Zeos uses {$IFDEF ZEOSDEBUG}...\...{$ENDIF} instead: my suggestion would be to use ZEOSDEBUG as a prefix everywhere in this package.
Of course, it would also be better if Lazarus and FPC logically did the same i.e. use LAZARUSDEBUG or FPCDEBUG everywhere. But in the current state of all the source codes, I'm concluding that pragmatically, as far as I'm concerned, reinstalling a package - without is\this debugging functionality - is faster than reinstalling an IDE profile (ceretis paribus).
Regards.
Installing zcomponent.lpk package on Lazarus
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Installing zcomponent.lpk package on Lazarus
Hello Eric,
I did the changes according to your suggestion. Could you please try again?
Best regards,
Jan
I did the changes according to your suggestion. Could you please try again?
Best regards,
Jan