<div>Hi Johann<br></div><div><br></div><div>I have had similar issues in the past. I would really be nice if (like Delphi) there was a setting in the Tools/Options window where you could set (or at least see) the paths to all the units used by Lazarus as well as a separate setting for the paths to all the units used by the current project. Nothing stops Lazarus from reading and writing this information from the .cfg file. B.T.W. since I finally got a bunch of 3D components installed in Lazarus and did not want to go through all the trouble of re-installing them, I am still using Lazarus 1.0 RC1, with fpc-2.6.0 on a Debian-based system (at least until I run into a problem where I really need an update).</div>
<div><br></div><div>As an alternative, try running fp-2.6.0 from the commandline. I am not sure if it will solve your problem with the missing unit/path, but if you ever used the original Borland Turbo Pascal, you will feel right at home. And it is much faster than Lazarus. I think for the kind of project you are looking at, it might be the better choice.</div>
<div><br></div><div>Cheers<br></div><div>Chavoux</div><div><br></div><div class="gmail_quote">On 19 February 2013 10:17, Johann Spies <span dir="ltr"><<a href="mailto:johann.spies@gmail.com" target="_blank">johann.spies@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My endeavour to return to Pascal is getting to the point of frustration:<br><br>1. Although I found that sometimes I have to tell Lazarus to scan the fpcsource to be able to find installed units, it still happens that from time to time I cannot compile something because a unit cannot be found. <br>
<br>Today it is "<i>Can't find unit AvgLvlTree ... check if package LazUtils is in the dependencies"<br><br>I have read the wiki and FAQ about this type of problems but that did not help at all.<br><br>Both fpc and lazarus cannot find the unit despite the fact that I did a rerun of fpcmkcfg adn despite that the following shows the unit is there:<br>
<br><br>locate -i avglvltree<br>/home/js/.lazarus/lib/LazUtils/lib/x86_64-linux/avglvltree.o<br>/home/js/.lazarus/lib/LazUtils/lib/x86_64-linux/avglvltree.ppu<br>/usr/share/lazarus/1.0.6/components/lazutils/avglvltree.pas<br>
/usr/share/lazarus/1.0.6/components/lazutils/lib/x86_64-linux/avglvltree.o<br>/usr/share/lazarus/1.0.6/components/lazutils/lib/x86_64-linux/avglvltree.ppu<br>/usr/share/lazarus/1.0.6/docs/xml/lazutils/avglvltree.xml<br>/usr/share/lazarus/1.0.6/test/lazutils/testavglvltree.pas<br>
js@artikel ~/p/pascal> sudo fpcmkcfg > /tmp/fpc.cfg<br><br><br clear="all"></i>2. My second problem is not that serious but Lazarus as an editor is extremely slow. It reminds me of the reason why I do not use Eclipse for other projects and normally prefer Emacs or Vim. Unfortunately the fpc-ide is not debug-enabled and I do not know how to enable it. I have recompiled the sources and according to what I understand of the configuration in the sources debug should be enabled.<br>
<br>There must be some way to get around these type of frustrations. Any help?<br><br>Regards<br>Johann<br><br><br>PS. I am working with Lazarus 1.0.6 and fpc-2.6.0-7 on Debian. I have downloaded the packages from the Lazarus site and removed all standard Debian freepascal-related packages from my system.<span class="HOEnZb"><font color="#888888"><br>
<br><br>-- <br>Because experiencing your loyal love is better than life itself, <br>my lips will praise you. (Psalm 63:3)<br>
</font></span><br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br>