Recent

Author Topic: Zcomponent missing (Lazarus 1.4)  (Read 7820 times)

MaartenW

  • New member
  • *
  • Posts: 9
Zcomponent missing (Lazarus 1.4)
« on: May 03, 2015, 12:13:12 pm »
After uninstalling Lazarus 1.2.6, and cleaning the Lazarus directory, I installed Lazarus 1.4.
When opening Lazarus after this installation, the message
Quote
"Unable to open the package "zcomponent",
This package was marked for installation."
What should I do to get zcomponent installed?

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Zcomponent missing (Lazarus 1.4)
« Reply #1 on: May 03, 2015, 01:06:08 pm »
install zeos controls I think
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

MaartenW

  • New member
  • *
  • Posts: 9
Re: Zcomponent missing (Lazarus 1.4)
« Reply #2 on: May 03, 2015, 02:05:57 pm »
Should the zeos controls be in the install, or is it a separate download?
Zcomponent is needed for LazReport (lr_zeosdb.lpk), but not included.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Zcomponent missing (Lazarus 1.4)
« Reply #3 on: May 03, 2015, 02:32:49 pm »
Should the zeos controls be in the install, or is it a separate download?
Zcomponent is needed for LazReport (lr_zeosdb.lpk), but not included.
As the name suggests it is a package that adds support for the zeos components in to lazreport. If you are not using zeos components there is no reason to install it and if you do use them then you already have them installed and no problem will arise from using it. So no lazreport should not share zeos components but they should stop sharing the zeos support for lazreport and donate it to zeos components instead.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

MaartenW

  • New member
  • *
  • Posts: 9
Re: Zcomponent missing (Lazarus 1.4)
« Reply #4 on: May 03, 2015, 03:04:48 pm »
Thanks!
Downloaded and installed Zcomponent from ZEOS.
Lazarus doesn't complain no more :), nor me ;).

exdatis

  • Hero Member
  • *****
  • Posts: 668
    • exdatis
Re: Zcomponent missing (Lazarus 1.4)
« Reply #5 on: May 03, 2015, 03:13:40 pm »

oghz

  • New member
  • *
  • Posts: 9
Re: Zcomponent missing (Lazarus 1.4)
« Reply #6 on: January 21, 2022, 03:18:27 pm »
Thanks!
Downloaded and installed Zcomponent from ZEOS.
Lazarus doesn't complain no more :), nor me ;).

Hello, pls can you help with a guide on how to install the zcomponent, see what i did below.

I downloaded the zcomponent zip from Sourceforge
2. extracted the Lazarus folder to Lazarus/components/zcomponent
3. i opened the lpk file in Lazarus to compile and got some errors, see attached picture


wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Zcomponent missing (Lazarus 1.4)
« Reply #7 on: January 21, 2022, 03:30:18 pm »
The ZEOS component consists of several packages, and when you install zcomponents.lpk first the IDE does not know where the others are.

In "Packages" > "Open Package file", open first zcore.lpk, then zplain.lpk, then zparsesql.lpk, then zdbc.lpk - just "open", no need to "compile" nor "install". Finally open zcomponent.lpk and select "use" > "install". Now it should work.

The easier way is to use the Online-Package-Manager (in menu "Package"): scroll down the list, check ZeosDBO, click Install and answer the few questions. Wait until the IDE is rebuilt.

You will get version 7.2.14 of ZEOS this way. If you need the latest development version (some v8.x) you must do the steps as described above.

oghz

  • New member
  • *
  • Posts: 9
Re: Zcomponent missing (Lazarus 1.4)
« Reply #8 on: January 21, 2022, 04:07:25 pm »
Thanks for the suggestion,

I tried that now and got another error

Quote
Compile package zcore 7.2.14: Exit code 1, Errors: 1
zcore.pas(11,3) Fatal: Cannot find ZClasses used by zcore. Check search path of package zcore, try a clean rebuild, check implementation uses sections..
Compile package ChmHelpPkg 0.2.1: Aborted
Compile package DateTimeCtrlsDsgn 1.5.1: Aborted
Compile package DBFLaz 0.1.1: Aborted

I cannot find any file names ZClasses in the zcomponent folder

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Zcomponent missing (Lazarus 1.4)
« Reply #9 on: January 21, 2022, 04:20:29 pm »
What is your Lazarus/FPC version? You seem to be on Windows, aren't you?

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Zcomponent missing (Lazarus 1.4)
« Reply #10 on: January 21, 2022, 04:32:16 pm »
Recent versions of Lazarus has Online Package Manager, which will help you install packages easily:
Lazarus main menu > Package > Online Package Manager

 

TinyPortal © 2005-2018