Recent

Author Topic: Setting include files path  (Read 2343 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

  • Hero Member
  • *****
  • Posts: 648
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: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

CodeZulu

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

 

TinyPortal © 2005-2018