# \--&gt; Error expanding variables in Library Path : Variable : DELPHI - does not exist!

**URL:** https://www.finalbuilder.com/forums/t/gt-error-expanding-variables-in-library-path-variable-delphi-does-not-exist/1090
**Category:** Discussion
**Created:** [January 26, 2009, 1:33am UTC](https://www.finalbuilder.com/forums/t/gt-error-expanding-variables-in-library-path-variable-delphi-does-not-exist/1090 "2009-01-26T01:33:43Z")
**Posts on this page:** 5
**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: [January 26, 2009, 1:33am UTC](https://www.finalbuilder.com/forums/t/gt-error-expanding-variables-in-library-path-variable-delphi-does-not-exist/1090/1 "2009-01-26T01:33:43Z")

</div>

Hi everybody,

I've got following problem. On my computer there are Delphi 7 and Delphi 2007. My packages are built with the Finalbuilder.  
After a while I recognized that EurekaLog doesn't work since I use Delphi 2007. I discovered that EurekaLog options are stored in the .dproj file which I don't have in my CVS :-) After adding this I get following error message while compiling:

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

Then I start reading this forum and used all information I can find:  
1) Use Global Delphi Library Path  
2) Use BDS 2007 Enviroment Variables at Startup (I restarted Finalbuilder after checking this)  
3) Using the right Compiler

Nevertheless this error still occurs. Anybody got an idea what I can do?

cheers Hans

---

<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: [January 27, 2009, 1:55am UTC](https://www.finalbuilder.com/forums/t/gt-error-expanding-variables-in-library-path-variable-delphi-does-not-exist/1090/2 "2009-01-27T01:55:20Z")

</div>

Hi Hans   
  
 For Delphi 2007 (in fact since 2005) the variable is named BDS - and that is what Delphi puts in the library path.

---

<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: [January 27, 2009, 8:22am UTC](https://www.finalbuilder.com/forums/t/gt-error-expanding-variables-in-library-path-variable-delphi-does-not-exist/1090/3 "2009-01-27T08:22:45Z")

</div>

Hello Mr. Parrett,   
 first of all thank you for your answer. You are right, if I change the variable from (DELPHI) to (BDS) compiling works fine although DELPHI is defined in the environment variables in Delphi.   
 I know this is not a delphi forum but can you answer me following question? I think Delphi uses the (DELPHI) variable while creating the .dproj file because the project originally was a Delphi 7 project. Where can I change the settings that Delphi creates the .dproj file with the (BDS) variable. Or must I change it by hand?   
  
 Thank you in advance   
  
 cheers Hans

---

<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: [January 27, 2009, 12:09pm UTC](https://www.finalbuilder.com/forums/t/gt-error-expanding-variables-in-library-path-variable-delphi-does-not-exist/1090/4 "2009-01-27T12:09:59Z")

</div>

Hi Hans   
  
 I believe you will need to change it by hand, I don’t think there is any way to do it automatically. We went through the same issues when we moved from D7 to D2006.

---

<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: [January 27, 2009, 1:30am UTC](https://www.finalbuilder.com/forums/t/gt-error-expanding-variables-in-library-path-variable-delphi-does-not-exist/1090/5 "2009-01-27T01:30:33Z")

</div>

Thank you very much for the solution.
