I have a FB6 project which creates a Delphi component for all Delphi/BCB Versions. I'm using an INI File Iterator which sets the compiler version on a "Compile Delphi Win32 project" action. Works.
Now I moved that project to FB7 and my BCB6 actions fails (all others are working):
Error creating cfg file. --> Error expanding variables in Library Path : Variable : BCB - does not exist!
I'm not using overriden enviroment variables. All BCB variables use default values.
What I've already tried:
KB article to pull environments variables at startup
Running BCB6 outside FB7 works
FB6 project still works
Upgraded to FB 7.0.0.898
I noticed that under tools->options->compiler->Embarcadero Delphi, the library paths are split between two tabs. When I uncheck "Use Registry for Lib poaths" only the current tab brings up a list editor, the lib paths 2 tab does not work (not related to my problem above).
Thanks for the report, I can reproduce the issue with the variables. We changed the way the delphi action finds and expands delphi evironment variables. This was done iin order to avoid version issues due to multiple versions of delphi/cbuilder defining the same variables with different values. In this case, when visualizing the variable namespace we missed the fact that the delphi action also deals with $(BCB). I have checked in a fix (and for the path editor on the lib paths tab), I’ll post here when a build is available with the fix (later today).