Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-11-2011, 09:28 AM
martijntonies martijntonies is online now
Registered User
 
Join Date: 05-11-2011
Posts: 8
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
Reply With Quote
  #2  
Old 05-11-2011, 09:36 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
  #3  
Old 05-11-2011, 10:18 AM
martijntonies martijntonies is online now
Registered User
 
Join Date: 05-11-2011
Posts: 8
Quote:
Originally Posted by kinook View Post
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.
Reply With Quote
  #4  
Old 05-11-2011, 11:22 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally Posted by martijntonies View Post
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).
Attached Files
File Type: bld UpdateDelphi.bld (3.1 KB, 1617 views)
Reply With Quote
  #5  
Old 05-12-2011, 01:50 AM
martijntonies martijntonies is online now
Registered User
 
Join Date: 05-11-2011
Posts: 8
Quote:
Originally Posted by kinook View Post
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 View Post
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 View Post
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
Attached Files
File Type: zip D2007_TestProject.zip (1.6 KB, 1685 views)
Reply With Quote
  #6  
Old 05-12-2011, 12:49 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally Posted by martijntonies View Post
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.
Reply With Quote
  #7  
Old 05-13-2011, 02:46 AM
martijntonies martijntonies is online now
Registered User
 
Join Date: 05-11-2011
Posts: 8
Quote:
Originally Posted by kinook View Post
This will be fixed in the next version.

Thanks.

Great, thanks for the fast replies.

Reply With Quote
  #8  
Old 02-22-2012, 02:29 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
This is implemented in v8.0.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:41 PM.


Copyright © 1999-2023 Kinook Software, Inc.