<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 22/07/2010 09:34, Mattias Gaertner wrote:
<blockquote cite="mid:20100722143459.7c1b15cc@limapholos.matom.wg"
type="cite">
<pre wrap="">On Thu, 22 Jul 2010 09:01:07 -0300
Guionardo Furlan <a class="moz-txt-link-rfc2396E" href="mailto:guionardo@gmail.com"><guionardo@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Buenas staff (this message was send to Editor section of the forum, but
nobody answered yet, sou I hope you can help me)
I am organizing my package of utilities, for ease of maintenance here.
But I have a very annoying problem in Laz 9.0.29-24657/FPC 2.4.0
The package compiles without problems, but the IDE is lost when using
CodeCompletion unit and shows no errors found, as follows:
Code:
H:\#Projects\Lazarus_FPC\GuioUtils\GForms\gdefaultform.pas (9.26)
Error: unit not found: GDatabaseCheck
</pre>
</blockquote>
<pre wrap="">
Is the # really there?
</pre>
<blockquote type="cite">
<pre wrap="">Notice that the folder of the package is GuioUtils and has subfolders like
GForms example. In this case, the subfolder within GDatabaseCheck is
GDatabase. All paths are defined in the "compiler options" package on the
lines "Other files of units" and "Other sources"
</pre>
</blockquote>
<pre wrap="">
"Other sources" is only for units, that the compiler should not find,
but only the IDE. See here:
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Other_sources">http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Other_sources</a>
If I understand your text correct you have this file layout:
H:\#Projects\Lazarus_FPC\GuioUtils\
xyz.lpk
GDatabase\
GDatabaseCheck.pas
GForms\
gdefaultform.pas
Then your "Other Unit Files" in the compiler options of your package
should be:
GDatabase;GForms
Note: Order and trailing path delimiters do not matter.
</pre>
<blockquote type="cite">
<pre wrap="">I was already on the link:
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/Unit_not_found_-_How_to_find_unitslooking">http://wiki.lazarus.freepascal.org/Unit_not_found_-_How_to_find_unitslooking</a>
for some solution but nothing worked.
Any suggestions of what to do?
</pre>
</blockquote>
<pre wrap="">
Mattias
--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
Thanks for the useful info, Mattias<br>
<br>
I've done the settings and updated the lazarus with the last version
today + fpc 2.4.3.<br>
<br>
Everything is ok now, inclusive other issues on packages and units
(of the used components) that needed to be open to use codetools.<br>
<br>
That hug!<br>
<br>
<div class="moz-signature">-- <br>
Att
<i>Guionardo Furlan</i><br>
<blockquote>Timeo hominen unius libri</blockquote>
<br>
<a href="http://guionardofurlan.com.br">http://guionardofurlan.com.br</a></div>
</body>
</html>