On Mon, 13 Jul 2015, Graeme Geldenhuys wrote:

Hi,

tiOPF uses a tiDefines.inc include file in all its units. If I'm busy
with another project and want to look something up in the tiOPF code, I
can't jump from Interface to Implementation, because the IDE complains
that the include file can't be found. I can to comment out the include
line, then the code jumping works.

Is there a way to tell Lazarus IDE to ignore such errors, or to specify
a global (IDE wide) Include search path. I tried adding a
-Fi/path/to/tiopf/Core in my ~/.fpc.cfg but that didn't help.

Did you try adding {$INCLUDEPATH } to the unit ?

Also: if you change something to ~/.fpc.cfg, you should restart Lazarus.
I have several defines in my ~/.fpc.cfg, and lazarus picks it up nicely after a 
restart.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to