>
> > You should not include this unit. That's an error.
>

Ok.

> It means you have a LCL component somewhere in your app, that's what's
> causing this.

Ok.  But everything was completely fine until the latest svn update.  While
there is no widget components created some obscure unit may tap into an LCL
type or constant.  Which most likely should have been removed during
optimization.


> The widgetset independent parts have been moved to a package of its
> own: LazUtils.
> Open the project inspector and replace the dependency LCL with LazUtils.
> Do the same for any of your packages that works without gui.
>

Ok, I just replaced LCL dependency with LazUtils and it compiled and works
just like before!  Thanks.  I recommend that you make sure that when a new
project is created it uses LazUtils as a dependency for console apps -
otherwise other people may run into this problem and not understand why
their console apps behave strangely.

Thanks guys!!!
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to