Article

From:
To:
All
Subject:
Build fails for language files
Newsgroup:
embarcadero.public.cppbuilder.localization

Build fails for language files

Hi,

I am trying to use the ITE in C++Builder XE3 for the first time and have created a small project which builds and runs correctly. I added a new language to it (German) and opened the Form and RC files in the translation editor and entered some translations there. When I try to build the project I get the following error message.
{code}
Checking project dependencies...
Building BPAlert_DEU.bdsproj (, Win32)
CGRC Command Line:
  CGRC.exe
  "C:\Users\Ciaran\Documents\RAD Studio\Projects\BPAlert\DEU\BPAlert.rc"
  -I"c:\program files (x86)\embarcadero\rad studio\10.0\include\windows\vcl;.."
CGRC Command Line:
  CGRC.exe
"C:\Users\Ciaran\Documents\RAD Studio\Projects\BPAlert\DEU\Win32\Debug\BPAlert_DRC.rc"
  -I"c:\program files (x86)\embarcadero\rad studio\10.0\include\windows\vcl;.."
[Fatal Error] F2039 Could not create output file 'C:\Users\Ciaran\Documents\RAD Studio\Projects\BPAlert\Win32\Debug"\BPAlert.DEU'
Failed
Elapsed time: 00:00:00.0
{code}

I presume that the error is to do with the fact that there is a double quote character in the output path in the error line (...Win32\Debug"\BPAlert) whereas the correct path should be ...Win32\Debug\...

I have searched through the various files in my project and cannot find any sign of the incorrect path anywhere. I would appreciate any suggestions as to how I can correct this issue. Note that the two CGCR.exe lines appear to run correctly as they do not produce any errors if I run them from the command line and they each update the timestamp on the appropriate .RES file.

Regards

Ciaran
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 17:44:29 UTC
Copyright © 2009-2024
HREF Tools Corp.