|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
Resource Compile Error when using Alternate Delphi Compile Location
When using an alternate Delphi compile command, the resource changes cannot be compiled. I have both Delphi 5 and 6 installed and sometimes I need to use Delphi 5. If I set the Override location of the compiler to the Delphi 5 directory, the call to brcc32.exe (The resource compiler) fails. It looks like it is missing a quote mark. Here is the output from using the override compiler location, followed by the default compiler location. The first step exits with a message "Failed to create process: The system cannot find the file specified". What prints shows a missing quote after brcc32.exe.
Is there anything I can do to fix this? Thanks 7/10/2006 12:50:22 PM: Building project step 'Make Delphi'... Step default property 'Filename' = 'c:\Projects\PWSDevelopment\ROI Tools\EOT Viewer\RoiEotViewer.dpr' setting properties...compiling VERSIONINFO RC file... "C:\Delphi5\Bin\brcc32.exe RoiEotViewer.vrc -foRoiEotViewer.vres Failed to create process: The system cannot find the file specified. 7/10/2006 12:50:22 PM: Step 'Make Delphi' failed 7/10/2006 12:50:22 PM: Build ended. 7/10/2006 12:48:31 PM: Building project step 'Make Delphi'... Step default property 'Filename' = 'c:\Projects\PWSDevelopment\ROI Tools\EOT Viewer\RoiEotViewer.dpr' setting properties...compiling VERSIONINFO RC file... "C:\Program Files\Borland\Delphi6\Bin\brcc32.exe" RoiEotViewer.vrc -foRoiEotViewer.vres Borland Resource Compiler Version 5.40 Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved. updating VERSIONINFO resource...building... "C:\Program Files\Borland\Delphi6\Bin\dcc32.exe" RoiEotViewer.dpr -B -Q Borland Delphi Version 14.0 Copyright (c) 1983,2001 Borland Software Corporation C:\Projects\PWSDevelopment\ROI Tools\EOT Viewer\WebViewForm.pas(72) Fatal: Could not compile used unit 'Interfaces\RoiWebBrowserIntf.pas' Process completed with exit code 1 7/10/2006 12:48:32 PM: Step 'Make Delphi' failed 7/10/2006 12:48:32 PM: Build ended. |
#2
|
|||
|
|||
It appears that the 'Override default...' field (or macro referenced by it) on the Options tab of the Make Delphi action starts with a double quote. If you remove any double quotes from that field/value, it should work ok.
|
#3
|
|||
|
|||
Thanks,
It was a macro that was quoted - A hold over from when the Delphi Compile command was not there and Delphi was invoked using the Run Program command. Doug |
|
|