<p>Am 10.09.2014 11:19 schrieb "Mattias Gaertner" <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<br>
><br>
> On Tue, 09 Sep 2014 22:17:38 +0200<br>
> Sven Barth <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> wrote:<br>
><br>
> > Hello together!<br>
> ><br>
> > I'm currently working on a project that uses the good old Graph units<br>
> > (or PtcGraph to be more precise) and I have the problem that code<br>
> > completion is erratic if (Ptc)Graph is in the uses-clause, because the<br>
> > IDE can not find the graphh.inc include file which is at the top of all<br>
> > Graph units. This include file is located in $fpc/packages/graph/src/inc<br>
> > whereas the full Graph units are located in other directories of<br>
> > $fpc/packages/graph/src/.<br>
> > I've also tried adding the path of the include directory to the "Other<br>
> > source files" or the "Include directories" path. The IDE then either<br>
> > complains that it still can not find the file or it complains that it<br>
> > could not find the end of the file with the cursor still getting<br>
> > positioned at the $include directive.<br>
> ><br>
> > Any ideas I could try? (besides commenting out the include directive :P)<br>
> ><br>
> > Lazarus version is 1.2.4 on i386-linux-gtk2<br>
><br>
> Under Linux 64bit I can use the 'graph' unit and find declaration finds<br>
> $fpc/packages/graph/src/unix/graph.pp<br>
> Then FD on the {$i graphh.inc} gets me to<br>
> $fpc/packages/graph/src/inc/graphh.inc<br>
><br>
> Works on 2.6.4 and 2.7.1.<br>
><br>
> It works with unit ptcgraph as well:<br>
> $fpc/packages/graph/src/ptcgraph/ptcgraph.pp<br>
> $fpc/packages/graph/src/inc/graphh.inc<br>
><br>
> Have you tried Tools / Rescan FPC source directory?</p>
<p>I now did, no difference. I can reproduce it on i368-linux (1.2.4) and i368-win32 (1.2.2). What did work however is copying the graph include files and units to a local directory and including that in "Other sources".</p>
<p>Regards,<br>
Sven</p>