EDN Admin
Well-known member
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Hi,
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif I have installed visual studio 2010 ultimate on my pc where visual studio 6.0 is already there.
When i try to compile the program, it is giving me the below error for first time and second time when i recompile it, it is succesful.
First time compilation
1>------ Build started: Project: SCD-Merge-New cols, Configuration: Debug Win32 ------<br/>
1>Build started 12/21/2011 3:43:06 PM.<br/>
1>InitializeBuildStatus:<br/>
1> Touching "DebugSCD-Merge-New cols.unsuccessfulbuild".<br/>
1>ClCompile:<br/>
1> main.cpp<br/>
1> bin<br/>
1>c1xx : fatal error C1083: Cannot open source file: 10.0VCbin: No such file or directory<br/>
1> Studio<br/>
1>c1xx : fatal error C1083: Cannot open source file: Studio: No such file or directory<br/>
1> Visual<br/>
1>c1xx : fatal error C1083: Cannot open source file: Visual: No such file or directory<br/>
1> Microsoft<br/>
1>c1xx : fatal error C1083: Cannot open source file: FilesMicrosoft: No such file or directory<br/>
1> Program<br/>
1>c1xx : fatal error C1083: Cannot open source file: Drogram: No such file or directory<br/>
1> Generating Code...<br/>
1><br/>
1>Build FAILED.<br/>
1><br/>
1>Time Elapsed 00:00:01.80<br/>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
second time compilation
1>------ Build started: Project: SCD-Merge-New cols, Configuration: Debug Win32 ------<br/>
1>Build started 12/21/2011 3:58:10 PM.<br/>
1>InitializeBuildStatus:<br/>
1> Touching "DebugMerge-New cols.unsuccessfulbuild".<br/>
1>ClCompile:<br/>
1> All outputs are up-to-date.<br/>
1>ManifestResourceCompile:<br/>
1> All outputs are up-to-date.<br/>
1>Manifest:<br/>
1> All outputs are up-to-date.<br/>
1>LinkEmbedManifest:<br/>
1> All outputs are up-to-date.<br/>
1> Merge-New cols.vcxproj -> D:Solutions-VSMerge-New colsMerge-New colsDebugMerge-New cols.exe<br/>
1>FinalizeBuildStatus:<br/>
1> Deleting file "DebugMerge-New cols.unsuccessfulbuild".<br/>
1> Touching "DebugMerge-New cols.lastbuildstate".<br/>
1><br/>
1>Build succeeded.<br/>
1><br/>
1>Time Elapsed 00:00:01.05<br/>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== <br/>
I tried the following your solution (http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/961add07-e411-4b0e-a606-57e784aae8bc)
as mentioned above like resetting "devenv.exe /resetuserdata", but it didnt worked for me...
Please find the directory settings in visual studio 2010
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Executable
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif :
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif $(VCInstallDir)bin<br/>
$(WindowsSdkDir)binNETFX 4.0 Tools<br/>
$(WindowsSdkDir)bin<br/>
$(VSInstallDir)Common7Toolsbin<br/>
$(VSInstallDir)Common7tools
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif include
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif :<br/>
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Drogram FilesMicrosoft Visual Studio 10.0VCinclude<br/>
$(VCInstallDir)include<br/>
$(VCInstallDir)atlmfcinclude<br/>
$(WindowsSdkDir)include<br/>
$(FrameworkSDKDir)include
Reference <span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories:
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif $(VCInstallDir)atlmfclib;$(VCInstallDir)lib
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Library
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories: $(VCInstallDir)lib;$(VCInstallDir)atlmfclib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)lib
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Source
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories:
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif $(VCInstallDir)atlmfcsrcmfc;$(VCInstallDir)atlmfcsrcmfcm;$(VCInstallDir)atlmfcsrcatl;$(VCInstallDir)crtsrc;
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Exclude directories: Blank/nothing
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Please help me in solving this problem.
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Also it is trying to build each time when i run. I have seen this link, but unable to solve it
vcgeneral/thread/b459ad6d-0d20-4240-9fb5-fc3e4518d8bf" target="_blank" title="Posted to vcgeneral Forum http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/b459ad6d-0d20-4240-9fb5-fc3e4518d8bf<br/>
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Many thanks
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Ravi<br/>
View the full article
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif I have installed visual studio 2010 ultimate on my pc where visual studio 6.0 is already there.
When i try to compile the program, it is giving me the below error for first time and second time when i recompile it, it is succesful.
First time compilation
1>------ Build started: Project: SCD-Merge-New cols, Configuration: Debug Win32 ------<br/>
1>Build started 12/21/2011 3:43:06 PM.<br/>
1>InitializeBuildStatus:<br/>
1> Touching "DebugSCD-Merge-New cols.unsuccessfulbuild".<br/>
1>ClCompile:<br/>
1> main.cpp<br/>
1> bin<br/>
1>c1xx : fatal error C1083: Cannot open source file: 10.0VCbin: No such file or directory<br/>
1> Studio<br/>
1>c1xx : fatal error C1083: Cannot open source file: Studio: No such file or directory<br/>
1> Visual<br/>
1>c1xx : fatal error C1083: Cannot open source file: Visual: No such file or directory<br/>
1> Microsoft<br/>
1>c1xx : fatal error C1083: Cannot open source file: FilesMicrosoft: No such file or directory<br/>
1> Program<br/>
1>c1xx : fatal error C1083: Cannot open source file: Drogram: No such file or directory<br/>
1> Generating Code...<br/>
1><br/>
1>Build FAILED.<br/>
1><br/>
1>Time Elapsed 00:00:01.80<br/>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
second time compilation
1>------ Build started: Project: SCD-Merge-New cols, Configuration: Debug Win32 ------<br/>
1>Build started 12/21/2011 3:58:10 PM.<br/>
1>InitializeBuildStatus:<br/>
1> Touching "DebugMerge-New cols.unsuccessfulbuild".<br/>
1>ClCompile:<br/>
1> All outputs are up-to-date.<br/>
1>ManifestResourceCompile:<br/>
1> All outputs are up-to-date.<br/>
1>Manifest:<br/>
1> All outputs are up-to-date.<br/>
1>LinkEmbedManifest:<br/>
1> All outputs are up-to-date.<br/>
1> Merge-New cols.vcxproj -> D:Solutions-VSMerge-New colsMerge-New colsDebugMerge-New cols.exe<br/>
1>FinalizeBuildStatus:<br/>
1> Deleting file "DebugMerge-New cols.unsuccessfulbuild".<br/>
1> Touching "DebugMerge-New cols.lastbuildstate".<br/>
1><br/>
1>Build succeeded.<br/>
1><br/>
1>Time Elapsed 00:00:01.05<br/>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== <br/>
I tried the following your solution (http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/961add07-e411-4b0e-a606-57e784aae8bc)
as mentioned above like resetting "devenv.exe /resetuserdata", but it didnt worked for me...
Please find the directory settings in visual studio 2010
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Executable
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif :
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif $(VCInstallDir)bin<br/>
$(WindowsSdkDir)binNETFX 4.0 Tools<br/>
$(WindowsSdkDir)bin<br/>
$(VSInstallDir)Common7Toolsbin<br/>
$(VSInstallDir)Common7tools
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif include
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif :<br/>
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Drogram FilesMicrosoft Visual Studio 10.0VCinclude<br/>
$(VCInstallDir)include<br/>
$(VCInstallDir)atlmfcinclude<br/>
$(WindowsSdkDir)include<br/>
$(FrameworkSDKDir)include
Reference <span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories:
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif $(VCInstallDir)atlmfclib;$(VCInstallDir)lib
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Library
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories: $(VCInstallDir)lib;$(VCInstallDir)atlmfclib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)lib
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Source
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif directories:
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif $(VCInstallDir)atlmfcsrcmfc;$(VCInstallDir)atlmfcsrcmfcm;$(VCInstallDir)atlmfcsrcatl;$(VCInstallDir)crtsrc;
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Exclude directories: Blank/nothing
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Please help me in solving this problem.
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Also it is trying to build each time when i run. I have seen this link, but unable to solve it
vcgeneral/thread/b459ad6d-0d20-4240-9fb5-fc3e4518d8bf" target="_blank" title="Posted to vcgeneral Forum http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/b459ad6d-0d20-4240-9fb5-fc3e4518d8bf<br/>
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Many thanks
<span style="color:#000000 <span style="font-family:Verdana,Arial,Helvetica,sans-serif Ravi<br/>
View the full article