In the Delphi project options, the search path is set to a relative path and the project builds, as it's locating some modules in this directory: ..\..\Submodules\dmLib
In the FinalBuilder project, I originally clicked "Load Settings from Project File" where it sets the Directories->Search path to ..\..\Submodules\dmLib
I have the FB Options Source configuration for "Load Settings from project file": Packages, Compiler, Linker, Directories are checked.
The Starting directory config option is set to the project's base path.
If I run this action in FB, I get a 'file not found' build error referencing a source file in this relative path.
However, if I uncheck to reuse project directories in FB, the project builds successfully. What is in the search path in FB project config exactly matches that in the Delphi project file.
If in the Directories tab, if I check "Always use search Path from the Project Settings File" the project fails to build. (F1026 file not found)
So simply toggling this single "Always use search Path from the Project Settings File" checkbox allows the project to build (if unchecked) or not build (if checked.) The value that is in the Search Path exactly matches what's in the Delphi project configuration.
The previous action clears the output folder so I know it's a clean directory before attempting to build.
I tried to replace the relative paths with full path names and I get the same error so it appears to be missing the Search Path in the Delphi project file.
Relative search paths do work, however one thing to check is the Starting Dir on the Project tab of the delphi action properties dialog. This is the path that all relative search paths are relative to.
Also on the Compiler tab, there is an option to “keep generated .cfg file” (it usually gets deleted after the action completes) - this will leave the file in the delphi project folder, with a .used extension. This is useful for checking exactly what paths were passed to the compiler.
The starting path is correct. This is referred to in my comment about the “Always use search path from the Project Settings File” option…if this is checked, the build fails. If this is unchecked, it works with the the same exact same relative path in the Search Path configuration in FinalBuilder (right under this checkbox) as is configured in the Search Path in Delphi.
As far as “keep generated .cfg file” - thanks, I’ll take a look at that feature.
This demonstrates that the search path in Delphi is configured within “All configurations” and is used by both Build/Release configurations.
I’ve tried a few tests and cannot get any XE2 project that relies on project search paths to build with FinalBuilder unless I set that search path within FinalBuilder. (I cannot use the “Load Settings from project File” with “Directories” option checked.)
Can you send your .dproj file to support@finalbuilder.com - that’s the only way we will be able to see what is going on. There are some issues with some dproj files, especially if they were upgraded from older versions of delphi.
BTW, I wasn’t able to play the screencast, media player just crashed and quicktime told me it needed to install something (probably a codec) but didn’t say which codec.
I have the same problem with my FB Embarcadero XE 2 Edition v7.0.0.1725. Is it possible to update to this version 7.0.0.1830 to try if my problem are resolved.
No, there are no updates to the Embarcadero edition of FinalBuilder. You can upgrade to the full version, contact sales@finalbuilder.com for a discount (inlcude a screenshot of your Xe2 about box to prove eligabiliy).