Forum > General

Recompilation of Lazarus IDE in Lazarus.

(1/1)

Kurush:
Hi!

I want to recompile Lazarus IDE in Lazarus itself. I copied the contents of "lazarus.pp" to a new LPR-project, added paths ("ide\"; "debugger\"; "debugger\frames\"; "packager\"; "packager\frames\"; "designer\"; "ide\frames\") and packages ("LazDebuggerGdbmi", "SynEdit", "DebuggerIntf", "SimpleIDEIntf", "CodeTools", "LazControls", "LCL"). I was able to compile and launch Lazarus but there is a problem. Component pallete has only eight tabs ("Standard", "Additional", "Common Controls", "Dialogs", "Data Controls", "Data Access", "System", "Misc"). But I want to have a full component pallete (as in an original Lazarus) including additional components. What should I do?

Thanks in advance for your response.

Martin_fr:
1) You can build the IDE from the Tools menu > "Configure build lazarus"

2) There is project in the folde ide:  ide/lazarus.lpk

3)

--- Quote ---  {$IFDEF AddStaticPkgs}
  {$I staticpackages.inc}
  {$ENDIF}
  {$IFDEF BigIDE}

--- End quote ---
You want to include BigIde, though you also can just add those packages.

staticpackages are packages you installed. But if you do your own project, you better add them as packages, rather than using staticpackages.

4) When you add packages, look for their *Dsgn counterparts. They add the content to the component palette.
E.g., there is SynEditDsgn.lpk


Kurush:

--- Quote from: Martin_fr on July 16, 2018, 12:04:09 pm ---2) There is project in the folde ide:  ide/lazarus.lpk

--- End quote ---

I don't have this file (installed Lazarus from .exe in Windows 10).


--- Quote from: Martin_fr on July 16, 2018, 12:04:09 pm ---4) When you add packages, look for their *Dsgn counterparts. They add the content to the component palette.
E.g., there is SynEditDsgn.lpk

--- End quote ---

Thanks. It seems that it allows solving my problem.

JuhaManninen:

--- Quote from: Kurush on July 16, 2018, 01:02:32 pm ---
--- Quote from: Martin_fr on July 16, 2018, 12:04:09 pm ---2) There is project in the folde ide:  ide/lazarus.lpk

--- End quote ---
I don't have this file (installed Lazarus from .exe in Windows 10).

--- End quote ---
It is actually ide/lazarus.lpi.

Martin_fr:

--- Quote from: JuhaManninen on July 16, 2018, 01:07:20 pm ---It is actually ide/lazarus.lpi.

--- End quote ---

Right, my bad.

Anyway the way to build the IDE, is via the Tools menu.

Afaik the ide/lazarus.lpi is for browsing the sources

Navigation

[0] Message Index

Go to full version