Forum > General

Compiling lazarus

<< < (4/4)

JuhaManninen:
FPC is in $PATH after installing Lazarus 2.2, right? In your GitLab main directory run "make clean all" or "make clean bigide". Then start Lazarus.exe from the cmd line.
Build it again from Lazarus Tools menu with all the debug flags. There is a "Debug IDE" profile to choose.
You can choose more packages to install before building.
Don't copy any directories from the 2.2 release.

duzenko:

--- Quote from: JuhaManninen on January 18, 2022, 09:09:12 am ---FPC is in $PATH after installing Lazarus 2.2, right?

--- End quote ---
No, do I need to add it to PATH?
I've been running it with full path to make.exe, i.e.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---C:\dev\lazarus22\fpc\3.2.2\bin\i386-win32\make

duzenko:
Anyway, I was able to resolve it with checking the clean checkbox in Lazarus GUI
And breakpoints worked after I switched to debug profile

JuhaManninen:

--- Quote from: duzenko on January 18, 2022, 10:43:31 am ---No, do I need to add it to PATH?
I've been running it with full path to make.exe, i.e.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---C:\dev\lazarus22\fpc\3.2.2\bin\i386-win32\make
--- End quote ---
The Makefiles call fpc. It must be in PATH. Then also "make" and some scripts are found without specifying the full path.
The Lazarus installer sets the PATH if I remember right. At least it should.
I use Windows only seldom myself. I am not sure.

Navigation

[0] Message Index

[*] Previous page

Go to full version