Recent

Author Topic: Error rebuilding IDE after upgrade.  (Read 403 times)

Prime

  • Jr. Member
  • **
  • Posts: 69
Error rebuilding IDE after upgrade.
« on: January 24, 2026, 12:07:08 am »
Hi all,

I was using Lazarus version 3.0 (yes old I know), and have just tried upgrading to Lazarus 4.4.
I did the upgrade in place as I didn't want to have to re-install all the additional components I had on 3.0.
I saw in the instructions I had to do a rebuild of the IDE so I tried this :

Tools->Configure build Lazarus, then hit the build button, after a fes seconds of compiling I get an error box :

(see attachment).

I obviously need to delete something, but what?

Also when posting, is there any way of controlling where an attachment goes? Other boards I have used have a 'place inline' that allows you to do this.


Cheers.

Phill.
« Last Edit: January 24, 2026, 12:09:13 am by Prime »

jamie

  • Hero Member
  • *****
  • Posts: 7516
Re: Error rebuilding IDE after upgrade.
« Reply #1 on: January 24, 2026, 12:20:44 am »
I don't have that file in the "IDEINTF" one.


When you upgraded did you allow it to empty(Clean) the directory before installing the new one?

It's possible it simply overwrote existing one and the current release does not have that file there anymore.

Jamie
The only true wisdom is knowing you know nothing

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12087
  • Debugger - SynEdit - and more
    • wiki
Re: Error rebuilding IDE after upgrade.
« Reply #2 on: January 24, 2026, 12:28:50 am »
It is possible the file was moved (the related pas file was moved).

So your old install had it in one place, the new intstall in the other. The installer does not currently clean out such old files.

Usually, you can solve this by checking "clean all" in the "configure build lazarus" dialog.

If that isn't enough, manually delete both of the ppu files. They will be recreated. (All ppu, except those in the fpc folder can be recreated by the IDE / well, unless you copied closed source 3rd party ppu into your lazarus folder)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4673
  • I like bugs.
Re: Error rebuilding IDE after upgrade.
« Reply #3 on: January 24, 2026, 09:57:18 am »
I was using Lazarus version 3.0 (yes old I know), and have just tried upgrading to Lazarus 4.4.
I did the upgrade in place as I didn't want to have to re-install all the additional components I had on 3.0.
It is OK to delete the old sources during upgrade. The list of your installed packages is in a config directory which will not be deleted then.
After that a rebuild works as expected.
Yes, units were moved from IdeIntf to BuildIntf few years ago to reduce LCL dependencies.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Prime

  • Jr. Member
  • **
  • Posts: 69
Re: Error rebuilding IDE after upgrade.
« Reply #4 on: January 24, 2026, 04:57:15 pm »
Usually, you can solve this by checking "clean all" in the "configure build lazarus" dialog.

Yeah that did the trick.

Thanks all for replies.

Now off to reinstall Indy & cef4delphi.......

Cheers.

Phill.

 

TinyPortal © 2005-2018