[Lazarus] How to tell lazarus the location of a used package?

Bo Berglund bo.berglund at gmail.com
Sun Nov 21 23:16:09 CET 2010


I have switched to using the SVN version of lazarus.
I put it in parallel to the binary distribution lazarus so now I have
two of them. After I retrieved lazarus from SVN and also the latest
release of fpc I got lazarus to compile with help from this list.

So now I am back to my original project and the strange thing is that
when I open the project in the new lazarus and compile I get an error
because lazarus cannot find the sdposerial package.
It actually opens a dialog box with the text:

"The project requires the package "SdpoSerialLaz (>=0.1.3)". But it
was not found. See Project -> Project Inspector."

The Project Inspector was already on screen, but I don't know what to
do with it. Never seen it before...

I *have* copied SdpoSerial from the original lazarus components dir
into the new lazarus components dir. So what more do I need to do in
order to get lazarus find the sdposerial package?

I have intentionally NOT *installed* it in any of the Lazarus versions
because it does not give me any visual object. But still if I use the
original lazarus it manages to find sdposerial, but not with the SVN
version.

In Delphi 7 I used to set serach paths for units in my project options
thus ensuring that I have full control over which version of common
files were used by my application.
But I cannot find a corrsponding property in the lazarus project
options....
There simply seems to be no place to set project specific paths at
all. What good is project options if you cannot set the project search
paths????


Bo Berglund





More information about the Lazarus mailing list