Hallo,
der C++ Builder aus dem
Rad Studio 2007 bringt beim Linken den Fehler:
Kann Datei nicht öffnen. In der Dateiausgabe findet sich folgendes:
Zitat:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Borl and.Cpp.Targets(1796,3): error : Fatal: Datei kann nicht ge÷ffnet werden
Die Datei existiert aber.
Habe mir mal die Zeile 1796 ff angeschaut:
Zitat:
<Target Name="_PerformLink" DependsOnTargets="_ResolveOutput;_CheckLinkDepende ncies">
<ILINK32
Condition="'$(TLibLink)'!='true' And ('@(OutputOutOfDate)'!='' Or '$(ForceLink)'=='true')"
ProjectFileName="$(MSBuildProjectFullPath)"
InternalDependencyCheck="false"
KibitzTask="$(_KibitzTask)"
ForceExecute="$(ForceLink)"
LibraryPath="$(ILINK_LibraryPath)"
ObjectSearchPath="$(ILINK_ObjectSearchPath)"
IntermediateOutputPath="$(ILINK_IntermediateOutput Path)"
BpiLibOutputDir="$(ILINK_BpiLibOutputDir)"
FullDebugInfo="$(ILINK_FullDebugInfo)"
GenerateImportLibrary="$(ILINK_GenerateImportLibra ry)"
GenerateDRC="$(ILINK_GenerateDRC)"
DisableIncrementalLinking="$(ILINK_DisableIncremen talLinking)"
MaxErrors="$(ILINK_MaxErrors)"
SuppressBanner="$(ILINK_SuppressBanner)"
KeepOutputFiles="$(ILINK_KeepOutputFiles)"
DisplayTime="$(ILINK_DisplayTime)"
AdditionalOptions="$(ILINK_AdditionalOptions)"
FilenameAlias="$(ILINK_FilenameAlias)"
AppType="$(ILINK_AppType)"
WinAppType="$(ILINK_WinAppType)"
MapWithMangledNames="$(ILINK_MapWithMangledNames)"
MapFileType="$(ILINK_MapFileType)"
BaseAddress="$(ILINK_BaseAddress)"
HeapReserveSize="$(ILINK_HeapReserveSize)"
HeapCommitSize="$(ILINK_HeapCommitSize)"
StackReserveSize="$(ILINK_StackReserveSize)"
StackCommitSize="$(ILINK_StackCommitSize)"
Description="$(ILINK_Description)"
SectionFlags="$(ILINK_SectionFlags)"
ImageFlags="$(ILINK_ImageFlags)"
DelayLoadDll="$(ILINK_DelayLoadDll)"
ClearState="$(ILINK_ClearState)"
CaseSensitive="$(ILINK_CaseSensitive)"
Verbose="$(ILINK_Verbose)"
FastTLS="$(ILINK_FastTLS)"
ImageChecksum="$(ILINK_ImageChecksum)"
ReplaceResources="$(ILINK_ReplaceResources)"
FileAlignment="$(ILINK_FileAlignment)"
ObjectAlignment="$(ILINK_ObjectAlignment)"
OSVersion="$(ILINK_OSVersion)"
UserVersion="$(ILINK_UserVersion)"
PackageType="$(ILINK_PackageType)"
PackageBaseName="$(ILINK_PackageBaseName)"
GenerateLibFile="$(ILINK_GenerateLibFile)"
AllWarnings="$(ILINK_AllWarnings)"
DisableWarnings="$(ILINK_DisableWarnings)"
SelectedWarnings="$(ILINK_SelectedWarnings)"
wexp="$(ILINK_wexp)"
wrty="$(ILINK_wrty)"
wdup="$(ILINK_wdup)"
wdpl="$(ILINK_wdpl)"
wnou="$(ILINK_wnou)"
wuld="$(ILINK_wuld)"
wsrd="$(ILINK_wsrd)"
wdee="$(ILINK_wdee)"
wsnf="$(ILINK_wsnf)"
ObjFiles="$(ILINK_StartupObjs);$(ILINK_PackageImpo rts);$(ILINK_AdditionalObjs);@(CompiledObjs);@(Obj Files)"
OutputFile="@(OutputFile)"
MapFile="@(ILinkMapFile)"
LibFiles="$(CodeGuard_Lib);$(ILINK_PackageLibs);@( LibFiles);$(ILINK_AdditionalLibs)"
DefFile="@(DefFile)"
ResFiles="@(CompiledResources);@(ResFiles)"
FormResources="@(FormResources)"
ShowStdOut="$(ShowStdOut)"
/>