Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Multiple versions of Delphi, cannot build (https://www.kinook.com/Forum/showthread.php?t=4848)

martijntonies 05-11-2011 09:28 AM

Multiple versions of Delphi, cannot build
 
Hi,

I have both Delphi 2007 and Delphi 2009 installed.

On my PC, I have a VBP project for Delphi 2009 and it compiles just fine.

However, a Delphi 2007 just won't build. At first, I got an error from msbuild saying " DebugVN " wasn't valid, so I modified " Borland.Delphi.Targets " in the MS.Net Framework folder and removed that entry.

Now I get compiling errors, while the project compiles just fine in the Delphi 2007 IDE. I get the impression it's using Delphi 2009 instead of 2007.

Anyone got any clues?

With regards,

Martijn Tonies
Upscene Productions

kinook 05-11-2011 09:36 AM

For the Delphi 2007 step, you will need to specify the location of rsvars.bat for that version of Delphi, and possibly the full path+filename for msbuild.exe (if an older version is needed), on the Options tab of the Make Delphi action.
http://www.kinook.com/VisBuildPro/Ma...optionstab.htm

martijntonies 05-11-2011 10:18 AM

Quote:

Originally Posted by kinook (Post 18831)
For the Delphi 2007 step, you will need to specify the location of rsvars.bat for that version of Delphi, and possibly the full path+filename for msbuild.exe (if an older version is needed), on the Options tab of the Make Delphi action.
http://www.kinook.com/VisBuildPro/Ma...optionstab.htm

Right, now I see what "rsvars" is about, I didn't know that.

I checked the Help for a Delphi step, but couldn't find anything related to other Delphi versions on the first Help page there. Can I suggest you put a paragraph "Compiling with a different Delphi version" in it that points to the rsvars setting with a short explanation?

Few more questions:

It seems that the Delphi step cannot find build configurations in the project file for D2007, is that a known issue?

Can I do that rsvars thingy for the whole project so that I do not have to do it in every Delphi step?


Thanks.

kinook 05-11-2011 11:22 AM

1 Attachment(s)
Quote:

Originally Posted by martijntonies (Post 18833)
Right, now I see what "rsvars" is about, I didn't know that.

I checked the Help for a Delphi step, but couldn't find anything related to other Delphi versions on the first Help page there. Can I suggest you put a paragraph "Compiling with a different Delphi version" in it that points to the rsvars setting with a short explanation?

Will do.

Quote:

Few more questions:

It seems that the Delphi step cannot find build configurations in the project file for D2007, is that a known issue?

Please ZIP and send or post a problem project file.

Quote:

Can I do that rsvars thingy for the whole project so that I do not have to do it in every Delphi step?
No, but you could put it in a macro (i.e., D2007PATH) and reference that via %D2007PATH% in the Make Delphi actions. Save the attached project in your project folder and build to update all such actions (but you mentioned that some steps are for D2009, and this would update all steps).

martijntonies 05-12-2011 01:50 AM

1 Attachment(s)
Quote:

Originally Posted by kinook (Post 18835)
Will do.

btw, can you detect installed Delphi versions and provide a drop down box instead of the thing with "rsvars"?

Quote:

Originally Posted by kinook (Post 18835)
Please ZIP and send or post a problem project file.

See attached, just the project, Delphi picks up the build config, VBP doesn't.

Quote:

Originally Posted by kinook (Post 18835)
No, but you could put it in a macro (i.e., D2007PATH) and reference that via %D2007PATH% in the Make Delphi actions. Save the attached project in your project folder and build to update all such actions (but you mentioned that some steps are for D2009, and this would update all steps).

Right, that's useful, thanks!


With regards,

Martijn Tonies

kinook 05-12-2011 12:49 PM

Quote:

Originally Posted by martijntonies (Post 18845)
btw, can you detect installed Delphi versions and provide a drop down box instead of the thing with "rsvars"?

We'll consider it.

Quote:

See attached, just the project, Delphi picks up the build config, VBP doesn't.]
This will be fixed in the next version.

Thanks.

martijntonies 05-13-2011 02:46 AM

Quote:

Originally Posted by kinook (Post 18850)
This will be fixed in the next version.

Thanks.


Great, thanks for the fast replies.

:)

kinook 02-22-2012 01:29 PM

This is implemented in v8.0.


All times are GMT -5. The time now is 09:38 PM.


Copyright © 1999-2023 Kinook Software, Inc.