I've been experimenting with the codetools example finddeclaration project, using the codetools outside the IDE, and feeding FPC and Lazarus source directory information via environment variables to the CodeToolBoss constructor, which works OK for simple source files. However, when looking for, say, the declaration of TLabel in StdCtrls the linkscanner barfs over an include file it cannot find.

TCodeToolManager.HandleException: "include file not found "lcl_defines.inc"" at Line=21 Col=5 in "c:\lazarus\lcl\std
ctrls.pp"

How should I pass the location of lcl\include\ when initializing the codetools?

Howard

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

Reply via email to