Are you creating a GUI app?  If so, Lazarus should add those search
paths for you. Do you have the LCL as a project requirement. To check
this, go to Procject -> 'project inspector'.  You should see LCL in
the requirements list.  If not, click "Add" then "New Requirements"
and select it from the Packages combo.

As a side note: To extra info to the compiler in Lazarus, go to
Project -> Compiler Options -> Other. You can type them in the "custom
options" memo box.

Regards,
 - Graeme -


On 17/09/06, Colin Lehmann <[EMAIL PROTECTED]> wrote:
Micha Nelissen wrote:
> Colin Lehmann wrote:
>
>> Now I have lazarus working at last, my first little program gives me
>> this error, I looked in The Environment Options but there is nothing
>> that looks likely, do I have to set it in the fpc.cfg file?
>>
>> Is it looking for the unit named Interfaces or is it looking for the
>> interfaces for all units?
>>
>
> There is a unit named Interfaces. Use the -FU option to pass the path to
> the fpc compiler.
>
> fpc -FU/usr/lib/lazarus/lcl/units/i386-linux/
> -FU/usr/lib/lazarus/lcl/units/i386-linux/gtk/
>
> for example. It's possible to add these to your fpc.cfg, but it may
> confuse you later when you use different widgetset or cross-compilation.
>
> Micha
>
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
>
>
Micha, please forgive me but I am in the Lazarus editor, those lines
look like they are to be attached to the compiler call, "fpc" but I am
not calling the compiler directly, Lazarus is calling it?

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



--
There's no place like 127.0.0.1

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

Reply via email to