----- Original Message ----- From: "Mattias Gaertner" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, January 13, 2007 1:32 AM
Subject: Re: [lazarus] New to Lazarus General Question


On Fri, 12 Jan 2007 23:09:48 +0100
Vincent Snijders <[EMAIL PROTECTED]> wrote:

Darius Blaszijk schreef:
> I suppose you get the error when compiling a package. To solve
> this, add $(LazarusDir)\lcl\units\$(TargetCPU)-$(TargetOS)\ to the
> search path.

To make it more clear:
Adding the above path is not enough. It is missing the path to the
widgetset.
Instead add the LCL as described below.

Indeed I forgot to mention the widgetset path. Until now I was using this approach but adding LCL as dependency is cleaner, and better. Thanks both for pointing this out.

Darius



> Click on "compiler options" and on the tab "Paths" add the
> searchpath to "Other unit files".

Or even better add the LCL as a required package.

And another hint:
http://wiki.lazarus.freepascal.org/Lazarus_Documentation#Coming_from_Delphi

Mattias

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to