So, the story ... The customer installed SynEdit and was going to recompile AnyDAC for Delphi sources to integrate it with the SynEdit. Then AnyDAC will use SynEdit as an editor for SQL commands with the syntax highlighting support and more. All looked fine. But compileD2010.bat produced the following output: Source\uADGUIxFormsfAbout.dfm
Source\uADGUIxFormsfAsync.dfm
Source\uADGUIxFormsfConnEdit.dfm
Source\uADGUIxFormsfDesignTimeOptions.dfm
Source\uADGUIxFormsfError.dfm
Source\uADGUIxFormsfFetchOptions.dfm
Source\uADGUIxFormsfFields.dfm
Source\uADGUIxFormsfFormatOptions.dfm
Source\uADGUIxFormsfLogin.dfm
Source\uADGUIxFormsfOptsBase.dfm
Source\uADGUIxFormsfQBldr.dfm
Source\uADGUIxFormsfQBldrLink.dfm
Source\uADGUIxFormsfQEdit.dfm
Source\uADGUIxFormsfResourceOptions.dfm
Source\uADGUIxFormsfScript.dfm
Source\uADGUIxFormsfUpdateOptions.dfm
Source\uADGUIxFormsfUSEdit.dfm
17 file(s) copied.
Source\uADGUIxFormsPanelTreeButton.res
Source\uADGUIxFormsQBldrButton.res
Source\uADSplash.res
3 file(s) copied.
Embarcadero Delphi for Win32 compiler version 21.0
Copyright (c) 1983,2009 Embarcadero Technologies, Inc.
Fatal: F1026 File not found: 'Studio\7.0\Dcp;C:\Users\Public\Documents\RAD.dpr'
Press any key to continue . . . Is not strange ? I have reproduced his environment, commented the @echo off and what I see is (I split original command line into few lines for more simple reading): c:\Program Files\RemObjects Software\AnyDAC for Delphi>dcc32.exe
-JL -B -E.\Dcu\D14 -N.\Dcu\D14 -LE.\Dcu\D14 -LN.\Dcu\D14 -NB.\Dcu\D14 -NO.\Dcu\D14
-U.\Dcu\D14;Source;"c:\ProgramData\Embarcadero\Components\SynEdit\Source\";
"C:\Users\Public\Documents\RAD Studio\7.0\Dcp";"C:\Users\Public\Documents\RAD Studio\7.0\Dcp"
-ISource -RSource Packages\AnyDAC_ComI_D14.dpk
Embarcadero Delphi for Win32 compiler version 21.0
Copyright (c) 1983,2009 Embarcadero Technologies, Inc.
Fatal: F1026 File not found: 'Studio\7.0\Dcp;C:\Users\Public\Documents\RAD.dpr' All looks correct, but the problem is simple. Delphi compiler does not support separated quoted paths in parameters, like a -U. Instead, the full parameter must be quoted: "-U.\Dcu\D14;Source;c:\ProgramData\Embarcadero\Components\SynEdit\Source\;
C:\Users\Public\Documents\RAD Studio\7.0\Dcp;C:\Users\Public\Documents\RAD Studio\7.0\Dcp" The changes will be a part of AnyDAC for Delphi May release. |