Forum > General

Compiling lazarus

<< < (3/4) > >>

Also, the compiled binary in the git folder only has gdb debugger option

You can make it a secondary install. So it is independent of your main install.

You can point it to use the FPC from your main install.
Do not copy the FPC folder. Or if you do, make sure to update the file "fpc.cfg".
Or install an FPC of your choice.

Same for GDB. Or download from our Sourceforge site.

* only gdb debugger.
- You probably just did "make". If you did "make bigide" it should be there.
- On windows the easiest way to build, is to copy an existing lazarus.exe, and the build from the menu.
   (Though that breaks every now and then / every few years / and it does break right this week...)

In any case, now that you have a lazarus.exe you can use this.
- Menu: Packages > Install Packages ==> add LazDebuggerFp
  and if you are there, also add: Cody, LazDebuggerFpGdbmi, TurboPowerIProDsgn (if it is not installed already)
   (any LazDebugger* - you may not need them, but that way you know if any change you make breaks them)
- Then rebuild the IDE.

If you get an error about LazDebuggerIntf or IdeDebugger unit missing => as I said, every now and then it breaks (new build in dependency....)
=> go to package > install package, and install the 2 packages too (or do it before you even try to rebuild).
  If there are not listed (they should be, but sometimes...),  menu Package > Open Package from file  (ide/packages/idedebugger ; components/LazDebuggers/LazDebuggerIntf). Once you had them open, they will appear in the install list.

Hi, I have a problem with compiling again
I'm on latest git
Trying to make from command line results in

--- 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";}};} ---(10028) Recompiling Debugger, checksum changed for C:\dev\lazarus_src\components\debuggerintf\lib\i386-win32\dbgintfdebuggerbase.ppuC:\dev\lazarus_src\ide\environmentopts.pp(55,50) Fatal: (10022) Can't find unit Debugger used by EnvironmentOptsFatal: (1018) Compilation aborted
Lazarus GUI rebuild seems to give no errors but breakpoints are disabled and self-debugging does not work

Another issue is I can't add FpDebug to compiled lazarus
Do I need copy and paste the fpc folder from my 2.2 install to the sources folder?




[0] Message Index

[#] Next page

[*] Previous page

Go to full version