[Lazarus] make clean all after a unit is relocated

zeljko zeljko at holobit.net
Mon Oct 24 18:03:29 CEST 2011


On Monday 24 of October 2011 13:40:42 Mattias Gaertner wrote:

> When it happens the next time, do a
> make clean > clean.txt
> ls -lR >> clean.txt
> 
> and send me the output.

I'll do that.

> 
> > 2.Another thing is when I work something to fix something inside eg gtk2
> > widgetset, I'm working on project, and added eg. DebugLn('Something') in
> > some proc in gtk2.
> > Now rebuild project ... lcl isn't rebuilded ?!? why ?
> 
> Maybe a file is missing in the lcl.lpk?

What file ? Don't know .. exact problem is ws dir, if I change anything in lcl 
then it's recompiled - no problem, but small change in ws code eg. in gtk2proc 
or something similar, doesn't trigger lcl to rebuild.

> 
> > now I must cd to
> > lcl/units/i386-linux/gtk2 and manually remove ppus and others, and then
> > rebuild test project again.
> 
> For your interest:
> Eventually I want to add a quick fix item, to check if the missing unit
> belongs to a package. Then it could check if the source file is in the
> lpk and ask to add it and/or to recompile the package.
> This feature is needed anyway, because there are some corner cases
> that the IDE can not detect.

Yes, thanks, that's exact case, but weird thing that sometimes it works 
(usually if I change something in interface part, or if I change few lines of 
code), but adding just one DebugLn() somewhere doesn't work.

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111024/4784e8d9/attachment-0003.html>


More information about the Lazarus mailing list