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