On 25/06/2025 14:34, Luca Olivetti via lazarus wrote:

I found the problem: it was using the component from my old lazarus 3.2 directory, maybe some time ago I tried it and never uninstalled it? (I keep around several old versions, I copy the old one into a new directory, git pull and checkout the latest version. Since I use a different pcp directory for windows and linux that explains why it worked in windows and not in linux).

You mean your Lazarus compiled accross 2 install directories?
Strange. (But outside of my expertise to judge what currently is expected / still bad...)


Afaik the IDE remembers for any package that you opened where it was last opened from. And then it uses that. So if you download some package, and then download an update into a new directory, then you must open it once from that new directory, and then it will know the new location. (Yet again, I don't know how that handles versions, in case different projects want different versions???)

And I don't know if that applied (or should apply) to build ins...
If it did, technically lots of people would get an old LCL, because the opened it once from there old install?

-----------------------
You can avoid issues like that, by having different config dirs for each install.

Check the wiki for the file "lazarus.cfg"  (goes into the install dir  / or the dir in which you start "startlazarus" or "lazarus" which ever you start first)


--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to