Recent

Author Topic: Installing Packages  (Read 9957 times)

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Installing Packages
« Reply #15 on: August 10, 2017, 06:19:42 am »
lazarus, in contrast with delphi, uses a dynamic "known path" system. Each project creates its own search and output path list by adding in the project the required packages. In your case open the package select "add\new requirement" and add the packages required by your component I think that you need at least lcl and lclbase. After that try to compile and see which units can not find. Find those units pacakges and add them to the required packages of your package.

Now as for the duplicate compiled files, if its about your files then always answer yes, let the IDE clean up those duplicates for you, less headaches down the road.
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

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Installing Packages
« Reply #16 on: August 10, 2017, 06:22:57 am »
@Degibbo:
Unfortunately i'm not very good at holding hands but perhaps while waiting for someone that could , the following links could perhaps help you get a better understanding (in case you haven't read already).

- Lazarus Packages
- How to write a lazarus component
- Porting Delphi components to Lazarus
- Installing Packages
« Last Edit: August 10, 2017, 06:25:46 am by molly »

balazsszekely

  • Guest
Re: Installing Packages
« Reply #17 on: August 10, 2017, 07:00:23 am »
@Degibbo
Here you go...

 

TinyPortal © 2005-2018