# First attempt trying out FinalBuilder6 trial. No luck. Delphi 2009 project

**URL:** https://www.finalbuilder.com/forums/t/first-attempt-trying-out-finalbuilder6-trial-no-luck-delphi-2009-project/1222
**Category:** Discussion
**Created:** [June 3, 2009, 8:22am UTC](https://www.finalbuilder.com/forums/t/first-attempt-trying-out-finalbuilder6-trial-no-luck-delphi-2009-project/1222 "2009-06-03T08:22:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 3, 2009, 8:22am UTC](https://www.finalbuilder.com/forums/t/first-attempt-trying-out-finalbuilder6-trial-no-luck-delphi-2009-project/1222/1 "2009-06-03T08:22:58Z")

</div>

I used a trial version of FinalBuilder 4 a few years back, and was thinking again about buying this tool.

So I&nbsp;downloaded the latest trial.&nbsp;&nbsp;I added one of my projects (it looks like you have to specify the .dpr file, not the .dproj file as the main project file)&nbsp;&nbsp;and tried to build it from inside final builder. I&nbsp;think&nbsp;I have set all the options up correctly (mainly it takes all the settings from the delphi project).

&nbsp;

Then I try to build, it appears to run the Borland Resource Compiler first, which works, it says Resource Compiled&nbsp;Ok,&nbsp;then it says "Error Creating cfg file.". Then it says:

--\> Error expanding variables in Library Path : Variable : DELPHI - does not exist!

What is that about? &nbsp;I assume it's barfing on the $(DELPHI)&nbsp;items in the library path. I have enough prior experience on FinalBuilder 4 trial to know that this all just "worked"&nbsp;in FB4.

&nbsp;

&nbsp;

Warren

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 4, 2009, 1:27am UTC](https://www.finalbuilder.com/forums/t/first-attempt-trying-out-finalbuilder6-trial-no-luck-delphi-2009-project/1222/2 "2009-06-04T01:27:09Z")

</div>

Hi Warren   
  
 This issue here is that there is no variable named DELPHI, even in D2009. FinalBuilder does support the $(BDS) variable when D2009 is selected as the compiler version. Delphi 2009 doesn’t support $(DELPHI) in the Library or Search path either, so I assume you have defined an Environment variable in the IDE called DELPHI? If this is the case, the in the FinalBuilder Options, Under Compilers\Borland Delphi, turn on the option to “Use RadStudio 2009 Environment Variables at Startup” and then restart FinalBuilder. That will cause FinalBuilder to add any RadStudio 2009 environment variables as System variables in FinalBuilder.   
  
 HTH

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 4, 2009, 3:08am UTC](https://www.finalbuilder.com/forums/t/first-attempt-trying-out-finalbuilder6-trial-no-luck-delphi-2009-project/1222/3 "2009-06-04T03:08:22Z")

</div>

&nbsp;Well what's confusing me is that I didn't use $(DELPHI)&nbsp;anywhere in my library path in the delphi 2009 project settings, but yet, Final&nbsp;Builder seems to have imported project options for&nbsp;Delphi 7 library path (from the .cfg file maybe?) instead of from the .dproj file, even though I told it, it was a delphi 2009 project. &nbsp;I wonder if having old .cfg files around confuses final builder when opening a project that used to be a Delphi 7 project (many years ago) but is now a delphi 2009 project?

&nbsp;

Warren

&nbsp;

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 4, 2009, 6:06am UTC](https://www.finalbuilder.com/forums/t/first-attempt-trying-out-finalbuilder6-trial-no-luck-delphi-2009-project/1222/4 "2009-06-04T06:06:20Z")

</div>

It turns out that Delphi’s own IDE will silently pass by these invalid $(SYMBOL) expansions and that Final Builder dies when it encounters them.   
  
 This in turn motivated me to clean up my project configuration settings which seem to have accumulated way more cruft in them than I ever imagined. So it’s All Good on that account now.   
  
 Thank you Vincent.   
  
 W
