Recent

Author Topic: Setting include files path  (Read 153 times)

CodeZulu

  • Newbie
  • Posts: 4
Setting include files path
« 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.


devEric69

  • Jr. Member
  • **
  • Posts: 64
Re: Setting include files path
« Reply #1 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)".
--
use: Ubuntu 18.04 + Laz. 1.8.5 + FPC 3.0.5.

CodeZulu

  • Newbie
  • Posts: 4
Re: Setting include files path
« Reply #2 on: June 06, 2019, 07:09:11 pm »
Thanks!