[Lazarus] CGILazIDE cannot be found...
Bo Berglund
bo.berglund at gmail.com
Mon Jan 31 21:06:06 CET 2011
On Mon, 31 Jan 2011 19:41:13 +0100, Sven Barth
<pascaldragon at googlemail.com> wrote:
>> No, I did not know about such a shortcut. Instead I located the
>> project options and in CompilerOptions/Paths/OtherUnitFiles I added
>> the path to the unit file that was missing.
>> But I still do not know if this is the right place. It will probably
>> only affect this project so it has to be repeated for the next.
>> I would have thought that adding a component to the IDE pallet would
>> also make its location known to the IDE so it can find the file that
>> corresponds to the dropped component when compiling....
>
>While adding the path to CompilerOptions/Paths/OtherUnitFiles is a
>possibilty I personally don't consider it the "clean" way. Open the
>Project Inspector and click the "plus". Select the Tab "Dependency" and
>search for your Sdpo package in the combobox. Now click Ok. Your package
>will appear as dependency in the Project Inspector besides LCL (and
>maybe FCL).
>You can now remove the path you added to
>CompilerOptions/Paths/OtherUnitFiles again and then your application
>should compile succesfully.
>
OK, I tried this but apparently yours and my lazarus differ...
- Used menu Project/Project Inspector
- A window pops up with a button on top marked with +
- After clicking this a new window pops up with 3 tabs:
"Add editor files"
"New requirement"
"Add files"
as you can see no tab named "Dependency" where I can do anything like
the suggested action.
However, the "New requirement" tab has a combobox with "Package name"
as its designator so I used that to select the SDpoSerialLaz package.
Then I also removed two Sdpo-related paths from the Project options
and made a quick compile. Working!
Thanks, this looks much cleaner.
Bo Berglund
More information about the Lazarus
mailing list