Trial Version - my first project failed

Hi

I have downloaded the trail version and attempted to build my first project, this has one action (Build a Delphi 2007 project) and has failed to build with the error .....

Error creating cfg file-->Error expanding variable in Library Path : Variable PTSCP2Lib - does not exist!

I presume this relates to my use of Shell Control Pack.  (www.plasmatech.com)

Opening Delphi 2007 > Tools > Options > Environmental Options > Delphi Options > Library - Win32 > Libary Path > Ordered List of Library paths references a path $(PTSCP2Lib)

Opening Delphi 2007 > Tools > Options > Environmental Variables > User Overrides - this has a variable PTSCP2Lib with a value "c:\Program Files (x86)\plasmatech\scp2\source".  The folder does exist on my machine.

Actions I have taken in Delphi 2007..

In the Library - Win32 I removed the path $(PTSCP2Lib) and replaced it with the full path to the source

In User Overrides I removed variable PTSCP2Lib

I still get the above error so I am at a loss as to my next action - can you please advise.

Regards

Philip L Jackson

Hi Phillip

You need to tell FinalBuilder to load the “environment” variables that delphi 2007 defines. Go to the tools menu, options, compilers, Embarcadero Delphi, turn on “Use BDS 2007 Environment Variables on Startup”. Click ok, restart FinalBuilder and it should be fine. You can check in the edit variables dialog to see if they are there, or just run the action.

In the delphi Action properties dialog in FB, have a look at the directories tab, you have options there to choose how FinalBuilder finds the library path.

HTH

Hi

Sorted - Thanks very much

 

PLJ