On Mon, 27 Nov 2006 19:43:59 -0200
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> fpGUI uses a Lazarus package to be compiled. Then, a fpgui project
> will add that project to it´s Project Inspector.
> 
> The problem is, even thougth I added all fpgui necessary directories
> on compiler options, the when I right-click a fpgui type, and click
> "Find Declaration" is seams to never be able to find the declaration:
> 
> C:\Programas\fpGUI\trunk\gfx\fpgfx.pas(26,3) Error: unit not found:
> gfxinterface
> 
> Or other not found messagemessages.
> 
> I already added to "Other Unit Files":
> 
> C:\Programas\fpGUI\trunk\gfx\;C:\Programas\fpGUI\trunk\gfx\gdi\

To the project, or the package? The package would be the right place.


> which is all fpgui directories needed for the project. gfxinterface
> for example is on the second directory. Any ideas?

Should work. Please check:
Open gfx\fpgfx.pas. Popup Menu -> Unit Info -> Source Paths.
Is gfx\gdi there with full filename?
If not, then continue:
Click on 'Show Codetools values'.
If you added the path to the project's compiler options:
Right treeview (Define templates) -> Projects -> Project -> Source
Directories.
There should be several Source Directories. One entry for gfx and one
for gfx\gdi (with full filename).

 
> using latest subversion on both Windows and Linux (same behavior).
> 
> Compiling, running and debugging the project works perfectly.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to