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.

When I check the "Source Path" of the WidgetDemo.lpr file it shows:
D:\Programming\fpGUI\examples\widgetdemo
C:\Lazarus\LCL

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.

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!  Is the Widget Demo project supposed to have all the
inherited paths in the "Source Paths" box? Even the paths from fpGUI
and fpGFX?

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

Regards,
 - Graeme -






On 9/3/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
Did I read this screenshot correct: the paths in the
compiler options are correct and complete?

Open the Source Editor -> Popup Menu -> 'Unit Info' -> Source paths.
These are the paths for the current unit. Are they complete?
If not:
Click on 'Show Codetools values'
Open the node 'Define Templates' -> Projects -> Project.
Check that 'Source directories' contains all project directories.

Mattias


--
There's no place like 127.0.0.1

Attachment: ScreenShot2.png
Description: PNG image

Reply via email to