Set Build Delphi Library Path

Hello,

I’m using Final Builder 8 to compile some Delphi Projects, but it seems that the Library Path is not taken into account: compilation fail with “unit not found …”

The fact is, the Delphi Project doesn’t contain the path to every needed files; it only contains path to the files in its folder. Path to “external” files is given by Final Builder (through a .ini file).
In the “Build Delphi” action windows, I can see that the Library Path is correctly set:
“%BIBLIO_ROOT_DIR%\Folder A;%BIBLIO_ROOT_DIR%\Folder B;$(BDS)\Folder C”, etc. BIBLIO_ROOT_DIR is correctly set too. “Use global Delphi Library Path” is uncheck. But compilation fails as said.

I’ve found a “workaround”: i put the Library Path which is in the .ini file into the delphi search path, and then check the box “always use search path from project settings File” in FinalBuilder. However, I don’t want to do that for every project. The paths are all in the .ini file, they’re all correctly loaded into Final Builder, in my mind the compilation should work.

What am i missing?

We need more information to be able to help you here.

What exact version of FinalBuilder 8 are you using?
What delphi version are you using?
What delphi version did you select on the Delphi Action?

I’m using Final Builder v8.0.0.2228 and Delphi 10.2 Tokyo.
I’ve selected Delphi 10.2 Tokyo on the Build Delphi action.
However, the “General” tab of this action says: “The action supports compiling Delphi 3 to XE8”, so I’ve also tried to select Delphie XE8.

But the Delphi version shouldn’t be a problem here: as far as i know, it’s working on another computer with this Delphi version and FinalBuilder 8 (yet I don’t know the exact version). Sadly I don’t have access to this computer to see the differences, I only know that people back here told us to use Delphi 10 and FB8.

The version you are using was released well before Delphi 10.2, it is missing functionality you need.

I’m guessing you are using 8.0.0.2281 as there never was a .228 (apart from a beta version). It’s likely the other version is newer and has 10.2 support.

https://www.finalbuilder.com/downloads/finalbuilder/finalbuilder-8-version-history

The simple answer is you need to update the version of FinalBuilder you are using.

OK. I’ll try with it asap and let you know. Hope it works :slight_smile:
Thanks!