On Sun, 3 Sep 2006 13:27:41 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> Hi Mattias,
>
> The project I am working on is a Widget Demo for fpGUI, inside the
> fpGUI directory. Directory structure is as follows under Windows:
>
> Programming\
> fpGFX\
> \src
> \linux
> \win32
> fpGUI\
> \examples
> \WidgetDemo
> \src
>
> The paths in the screenshot are pointing to the compiled units (*.ppu)
> of each package, not the source (*.pas) files. I believe this is
> correct.
Yes.
> When I check the "Source Path" of the WidgetDemo.lpr file it shows:
> D:\Programming\fpGUI\examples\widgetdemo
> C:\Lazarus\LCL
Not enough. see below.
> When I "File -> Open" the starting unit of the fpGUI package and view
> it's "Source Path" it shows:
> D:\Programming\fpGUI\src
> D:\Programming\fpGUI\src\defimpl
> D:\Programming\fpGFX\src\win32\lib\i386-win32
> C:\lazarus\packager\units\i386-win32
> C:\Lazarus\LCL
> D:\Programming\fpGFX\src
> D:\Programming\fpGFX\src\emulayer
> D:\Programming\fpGFX\src\win32
> C:\lazarus\packager\registration
>
>
> I notice that if I open the fpGUI package, I can Ctrl+Click on units
> that are in the fpGFX package, and the IDE can find them. I guess the
> paths above are the reason for that.
Yes.
> In the Widget Demo, the IDE doesn't find (Ctrl+Click) any units for
> fpGUI or fpGFX, which I guess is due to the paths shown. Only two
> entries!
That's the problem. see below.
> Is the Widget Demo project supposed to have all the
> inherited paths in the "Source Paths" box? Even the paths from fpGUI
> and fpGFX?
Yes. The demo uses the two packages.
> I opened the "Show Codetools" window, and in the tree, it only has two
> paths defined. Not sure how I am supposed to add the other paths...
> I included another screenshot showing the CodeTools window if that
> might help
The 'Source Directories' contains the path of all units of the project.
Add a unit to the project to add a path.
I don't see the 'Source Directory Additions' node. This node contains
the compiler options of the project (including search paths).
These two nodes are created at the same time in the same function, so I
wonder why the second is missing.
Is the project somewhere available?
I fixed a bug for custom flags and the bug, that 'Show Codetools
values' does not show the current directory. Probably this is not
related to your problem. But it might help finding the problem.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives