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

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

Hi Hans

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

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

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.

Thank you very much for the solution.