Lazarus

Using the Lazarus IDE => Options => Topic started by: CodeZulu on June 06, 2019, 06:38:03 pm

Title: Setting include files path
Post by: CodeZulu on June 06, 2019, 06:38:03 pm
Hi

Using Lazarus 2.0.2 for Linux (FPC version 3.0.4)

When trying to compile I get message 'windows.pp(44,5) Error: include file not found "base.inc" '

I searched for base.inc and found it in
/usr/share/fpcsrc/3.0.4/rtl/win/wininc
and also
/usr/share/fpcsrc/3.0.4/rtl/wince/wininc

How do I set a path for include files in the Lazarus IDE under Tools/Options as there isn't a specific field provided for entering an include path? Or do I set it somewhere else?

Thanks in advance for anyone who can help me.

Title: Re: Setting include files path
Post by: devEric69 on June 06, 2019, 06:54:48 pm
The paths of the directories containing *.inc files, are entered in the project options, in the edit box under the label "Include files (-Fi)".
Title: Re: Setting include files path
Post by: CodeZulu on June 06, 2019, 07:09:11 pm
Thanks!
TinyPortal © 2005-2018