none
MSB6006: cmd.exe exited with code 1

    คำถาม

  • Hi guys..

     

    am trying to work on some application to create socket and stuff... It uses some service which n all.. code is done in c++... and when i build it throws error msb6006.

    i tried running the project in visual studio 2005 but the code doesn't support anything but VS2010. error seems somewhere here in microsoft.CPPcommon.targets

    Snippet

    <
    PropertyGroup
     
    Condition
    =
    "'$(CustomBuildAfterTargets)'!='' or '$(CustomBuildBeforeTargets)'!=''
    ">
    
        < CustomBuildToolBeforeTargets > $(CustomBuildBeforeTargets)</ CustomBuildToolBeforeTargets >
        < CustomBuildToolAfterTargets > $(CustomBuildAfterTargets)</ CustomBuildToolAfterTargets >
      </ PropertyGroup >

      <!-- If no before/after targets are set, then set the default -->
      < PropertyGroup   Condition = "'$(CustomBuildAfterTargets)'=='' and '$(CustomBuildBeforeTargets)'=='' ">
        < CustomBuildToolBeforeTarget s > Midl</ CustomBuildToolBeforeTargets >
        < CustomBuildToolAfterTargets > PreBuildEvent</ CustomBuildToolAfterTargets >
        < CustomBuildBeforeTargets > PostBuildEvent</ CustomBuildBeforeTargets >
        < CustomBuildAfterTargets > BscMake</ CustomBuildAfterTargets >
      </ PropertyGroup >

    CustomBuildToolBeforeTarget
    s
     this tag has some problem and thats the reason buld fails... have tried out evrything available on google but its still the same..

    i would really appreciate any help on this..thank you.
    25 มิถุนายน 2553 16:49

ตอบทั้งหมด

  • Hi, Mann

    The microsoft.CPPcommon.targets stores some common MsBuild Targets for CPP project. And I think the problem is in your vcxproj, could you tell me did this error happen in other C++ project? And did you have some build action in your cpp project?

    Please right click the project node to unload your project, and post the content of the *.vcxproj here.

    Thanks

    Chao

    28 มิถุนายน 2553 11:27
  • Hi, Dude

    Any feedback?

    Thanks

    Chao 

    29 มิถุนายน 2553 8:40
  • Hi. I had the same problem. I did have some build action in the cpp project; It is when I try to build it that this errors happens. The output window of VS 2010 shows that it is looking for files and not finding them. I do believe the problem is in *.vcxproj too; the problem does not occur with other projects  The source code that I got was not complete and that was the problem. Apparently the developer wanted the code to be looked at but not built. The project file has references to non-existent header files in a non existent subdirectory. So, cmd.com was trying to process non-existent files! I thought the developer was just omitting extra features that he did not want in the public version.
    26 กันยายน 2553 1:10
  • <?xml version="1.0" encoding="utf-8"?>
    <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <ItemGroup Label="ProjectConfigurations">
        <ProjectConfiguration Include="Debug|Win32">
          <Configuration>Debug</Configuration>
          <Platform>Win32</Platform>
        </ProjectConfiguration>
        <ProjectConfiguration Include="Debug|x64">
          <Configuration>Debug</Configuration>
          <Platform>x64</Platform>
        </ProjectConfiguration>
        <ProjectConfiguration Include="Release|Win32">
          <Configuration>Release</Configuration>
          <Platform>Win32</Platform>
        </ProjectConfiguration>
        <ProjectConfiguration Include="Release|x64">
          <Configuration>Release</Configuration>
          <Platform>x64</Platform>
        </ProjectConfiguration>
      </ItemGroup>
      <PropertyGroup Label="Globals">
        <ProjectGuid>{5FF3964A-3D01-4C51-89B7-C87252756BD2}</ProjectGuid>
        <Keyword>Win32Proj</Keyword>
        <RootNamespace>Hilo</RootNamespace>
        <SccProjectName>
        </SccProjectName>
        <SccAuxPath>
        </SccAuxPath>
        <SccLocalPath>
        </SccLocalPath>
        <SccProvider>
        </SccProvider>
        <ProjectName>Annotator</ProjectName>
      </PropertyGroup>
      <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <UseDebugLibraries>true</UseDebugLibraries>
        <CharacterSet>Unicode</CharacterSet>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <UseDebugLibraries>true</UseDebugLibraries>
        <CharacterSet>Unicode</CharacterSet>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <UseDebugLibraries>false</UseDebugLibraries>
        <WholeProgramOptimization>true</WholeProgramOptimization>
        <CharacterSet>Unicode</CharacterSet>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
        <ConfigurationType>Application</ConfigurationType>
        <UseDebugLibraries>false</UseDebugLibraries>
        <WholeProgramOptimization>true</WholeProgramOptimization>
        <CharacterSet>Unicode</CharacterSet>
      </PropertyGroup>
      <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
      <ImportGroup Label="ExtensionSettings">
      </ImportGroup>
      <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
        <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
      </ImportGroup>
      <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
        <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
      </ImportGroup>
      <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
        <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
      </ImportGroup>
      <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
        <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
      </ImportGroup>
      <PropertyGroup Label="UserMacros" />
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
        <LinkIncremental>true</LinkIncremental>
        <ExecutablePath>C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin;$(ExecutablePath)</ExecutablePath>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
        <LinkIncremental>true</LinkIncremental>
        <ExecutablePath>C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin;$(ExecutablePath)</ExecutablePath>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
        <LinkIncremental>false</LinkIncremental>
        <ExecutablePath>C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin;$(ExecutablePath)</ExecutablePath>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
        <LinkIncremental>false</LinkIncremental>
        <ExecutablePath>C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin;$(ExecutablePath)</ExecutablePath>
      </PropertyGroup>
      <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
        <ClCompile>
          <PrecompiledHeader>Use</PrecompiledHeader>
          <WarningLevel>Level4</WarningLevel>
          <Optimization>Disabled</Optimization>
          <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
          <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
          <AdditionalIncludeDirectories>..\Common\Include;.</AdditionalIncludeDirectories>
          <EnablePREfast>false</EnablePREfast>
        </ClCompile>
        <Link>
          <SubSystem>Windows</SubSystem>
          <GenerateDebugInformation>true</GenerateDebugInformation>
          <AdditionalDependencies>d2d1.lib;dwrite.lib;windowscodecs.lib;shlwapi.lib;structuredquery.lib;Propsys.lib;Comctl32.lib;common.lib;%(AdditionalDependencies)</AdditionalDependencies>
          <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
          <AdditionalLibraryDirectories>$(SolutionDir)$(Configuration)\</AdditionalLibraryDirectories>
        </Link>
        <Manifest>
          <EnableDPIAwareness>true</EnableDPIAwareness>
        </Manifest>
      </ItemDefinitionGroup>
      <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
        <ClCompile>
          <PrecompiledHeader>Use</PrecompiledHeader>
          <WarningLevel>Level4</WarningLevel>
          <Optimization>Disabled</Optimization>
          <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
          <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
          <AdditionalIncludeDirectories>..\Common\Include;.</AdditionalIncludeDirectories>
          <EnablePREfast>false</EnablePREfast>
        </ClCompile>
        <Link>
          <SubSystem>Windows</SubSystem>
          <GenerateDebugInformation>true</GenerateDebugInformation>
          <AdditionalDependencies>d2d1.lib;dwrite.lib;windowscodecs.lib;shlwapi.lib;structuredquery.lib;Propsys.lib;Comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
          <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
          <AdditionalLibraryDirectories>$(SolutionDir)$(Configuration)\</AdditionalLibraryDirectories>
        </Link>
        <Manifest>
          <EnableDPIAwareness>true</EnableDPIAwareness>
        </Manifest>
      </ItemDefinitionGroup>
      <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
        <ClCompile>
          <WarningLevel>Level4</WarningLevel>
          <PrecompiledHeader>Use</PrecompiledHeader>
          <Optimization>MaxSpeed</Optimization>
          <FunctionLevelLinking>true</FunctionLevelLinking>
          <IntrinsicFunctions>true</IntrinsicFunctions>
          <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
          <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
          <AdditionalIncludeDirectories>..\Common\Include;.</AdditionalIncludeDirectories>
        </ClCompile>
        <Link>
          <SubSystem>Windows</SubSystem>
          <GenerateDebugInformation>true</GenerateDebugInformation>
          <EnableCOMDATFolding>true</EnableCOMDATFolding>
          <OptimizeReferences>true</OptimizeReferences>
          <AdditionalDependencies>d2d1.lib;dwrite.lib;windowscodecs.lib;shlwapi.lib;structuredquery.lib;Propsys.lib;Comctl32.lib;common.lib;%(AdditionalDependencies)</AdditionalDependencies>
          <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
          <AdditionalLibraryDirectories>$(SolutionDir)$(Configuration)\</AdditionalLibraryDirectories>
        </Link>
      </ItemDefinitionGroup>
      <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
        <ClCompile>
          <WarningLevel>Level4</WarningLevel>
          <PrecompiledHeader>Use</PrecompiledHeader>
          <Optimization>MaxSpeed</Optimization>
          <FunctionLevelLinking>true</FunctionLevelLinking>
          <IntrinsicFunctions>true</IntrinsicFunctions>
          <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
          <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
          <AdditionalIncludeDirectories>..\Common\Include;.</AdditionalIncludeDirectories>
        </ClCompile>
        <Link>
          <SubSystem>Windows</SubSystem>
          <GenerateDebugInformation>true</GenerateDebugInformation>
          <EnableCOMDATFolding>true</EnableCOMDATFolding>
          <OptimizeReferences>true</OptimizeReferences>
          <AdditionalDependencies>d2d1.lib;dwrite.lib;windowscodecs.lib;shlwapi.lib;structuredquery.lib;Propsys.lib;Comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
          <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
          <AdditionalLibraryDirectories>$(SolutionDir)$(Configuration)\</AdditionalLibraryDirectories>
        </Link>
      </ItemDefinitionGroup>
      <ItemGroup>
        <None Include="Annotator.ico" />
        <None Include="ReadMe.txt" />
        <CustomBuild Include="RibbonMarkup.xml">
          <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">uicc.exe ribbonmarkup.xml ribbonmarkup.bml /header:RibbonIds.h /res:RibbonRes.rc</Command>
          <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">uicc.exe ribbonmarkup.xml ribbonmarkup.bml /header:RibbonIds.h /res:RibbonRes.rc</Command>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">ribbonmarkup.bml;RibbonRes.rc;RibbonIds.h;%(Outputs)</Outputs>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ribbonmarkup.bml;RibbonRes.rc;RibbonIds.h;%(Outputs)</Outputs>
          <SubType>Designer</SubType>
          <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">uicc.exe ribbonmarkup.xml ribbonmarkup.bml /header:RibbonIds.h /res:RibbonRes.rc</Command>
          <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">uicc.exe ribbonmarkup.xml ribbonmarkup.bml /header:RibbonIds.h /res:RibbonRes.rc</Command>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">ribbonmarkup.bml;RibbonRes.rc;RibbonIds.h;%(Outputs)</Outputs>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ribbonmarkup.bml;RibbonRes.rc;RibbonIds.h;%(Outputs)</Outputs>
        </CustomBuild>
        <None Include="AnnotatorSmall.ico" />
      </ItemGroup>
      <ItemGroup>
        <ClInclude Include="Animation.h" />
        <ClInclude Include="DrawGeometryOperation.h" />
        <ClInclude Include="ImageClippingOperation.h" />
        <ClInclude Include="ImageTransformationOperation.h" />
        <ClInclude Include="PointAnimation.h" />
        <ClInclude Include="ImageOperation.h" />
        <ClInclude Include="PropertySet.h" />
        <ClInclude Include="PropertySetInterface.h" />
        <ClInclude Include="SimpleImage.h" />
        <ClInclude Include="ImageEditor.h" />
        <ClInclude Include="ImageEditorInterface.h" />
        <ClInclude Include="Resource.h" />
        <ClInclude Include="Image.h" />
        <ClInclude Include="stdafx.h" />
        <ClInclude Include="targetver.h" />
        <ClInclude Include="AnnotatorApplication.h" />
        <ClInclude Include="UICommandHandler.h" />
        <ClInclude Include="Taskbar.h" />
      </ItemGroup>
      <ItemGroup>
        <ClCompile Include="Annotator.cpp" />
        <ClCompile Include="ImageClippingOperation.cpp" />
        <ClCompile Include="ImageTransformationOperation.cpp" />
        <ClCompile Include="PointAnimation.cpp" />
        <ClCompile Include="DrawGeometryOperation.cpp" />
        <ClCompile Include="ImageEditor.cpp" />
        <ClCompile Include="PropertySet.cpp" />
        <ClCompile Include="SimpleImage.cpp" />
        <ClCompile Include="stdafx.cpp">
          <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
          <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
          <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
          <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
        </ClCompile>
        <ClCompile Include="AnnotatorApplication.cpp" />
        <ClCompile Include="UICommandHandler.cpp" />
        <ClCompile Include="Taskbar.cpp" />
      </ItemGroup>
      <ItemGroup>
        <ResourceCompile Include="Annotator.rc" />
      </ItemGroup>
      <ItemGroup>
        <ProjectReference Include="..\Common\Common.vcxproj">
          <Project>{e2238402-dd1f-4dfd-a740-e6770766015e}</Project>
        </ProjectReference>
      </ItemGroup>
      <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
      <ImportGroup Label="ExtensionTargets">
      </ImportGroup>
    </Project>
    22 ตุลาคม 2553 11:56
  • In my custom build I'm running HTML Help Workshop hhc.exe which exits with errorlevel 1 when it has finished. I'm unaware of any other exit codes it has. None the less it was killing the overall build.

    In VS2008 my build script contained the following code:
    "C:\Program Files\HTML Help Workshop\hhc.exe"  "%(FullPath)"
    IF ERRORLEVEL 1 GOTO VCEnd
    :VCEnd

    This fails in VS2010 and while it took a little while poking around I've finally cracked it.

    Here is what I have now:
    "C:\Program Files\HTML Help Workshop\hhc.exe"  "%(FullPath)"
    IF ERRORLEVEL 1 EXIT /B 0

    Let the builds continue...

    3 สิงหาคม 2554 21:34
  • Hello All,

    I am trying to install OpenCV in MVS 2010 but I am getting the above error during build. As I am new to C# , will be great if somebody can help. The error which I am getting is in  file "Microsoft.CppCommon.targets" . As per above post from Chau , I unloaded the project and below are the details.

    <?xml version="1.0" encoding="utf-8"?>
    <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <ItemGroup Label="ProjectConfigurations">
        <ProjectConfiguration Include="Debug|x64">
          <Configuration>Debug</Configuration>
          <Platform>x64</Platform>
        </ProjectConfiguration>
        <ProjectConfiguration Include="Release|x64">
          <Configuration>Release</Configuration>
          <Platform>x64</Platform>
        </ProjectConfiguration>
      </ItemGroup>
      <PropertyGroup Label="Globals">
        <ProjectGUID>{0614561B-36AB-4DEB-B467-91ACE8A53CCA}</ProjectGUID>
        <Keyword>Win32Proj</Keyword>
        <Platform>x64</Platform>
        <ProjectName>ALL_BUILD</ProjectName>
      </PropertyGroup>
      <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
        <ConfigurationType>Utility</ConfigurationType>
        <UseOfMfc>false</UseOfMfc>
        <CharacterSet>MultiByte</CharacterSet>
      </PropertyGroup>
      <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
        <ConfigurationType>Utility</ConfigurationType>
        <UseOfMfc>false</UseOfMfc>
        <CharacterSet>MultiByte</CharacterSet>
      </PropertyGroup>
      <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
      <ImportGroup Label="ExtensionSettings">
      </ImportGroup>
      <ImportGroup Label="PropertySheets">
        <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />  </ImportGroup>
      <PropertyGroup Label="UserMacros" />
        <PropertyGroup>
          <_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
          <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
          <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
        </PropertyGroup>
      <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
        <Midl>
          <AdditionalIncludeDirectories>C:/OpenCV2.1/.;C:/OpenCV2.1/build;C:/OpenCV2.1/include;C:/OpenCV2.1/include/opencv;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
          <OutputDirectory>$(IntDir)</OutputDirectory>
          <HeaderFileName>%(Filename).h</HeaderFileName>
          <TypeLibraryName>%(Filename).tlb</TypeLibraryName>
          <InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName>
          <ProxyFileName>%(Filename)_p.c</ProxyFileName>
        </Midl>
      </ItemDefinitionGroup>
      <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
        <Midl>
          <AdditionalIncludeDirectories>C:/OpenCV2.1/.;C:/OpenCV2.1/build;C:/OpenCV2.1/include;C:/OpenCV2.1/include/opencv;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
          <OutputDirectory>$(IntDir)</OutputDirectory>
          <HeaderFileName>%(Filename).h</HeaderFileName>
          <TypeLibraryName>%(Filename).tlb</TypeLibraryName>
          <InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName>
          <ProxyFileName>%(Filename)_p.c</ProxyFileName>
        </Midl>
      </ItemDefinitionGroup>
      <ItemGroup>
        <CustomBuild Include="CMakeFiles\ALL_BUILD.rule">
          <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Build all projects</Message>
          <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal
    :cmEnd
    endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
    :cmErrorLevel
    exit /b %1
    :cmDone
    if %errorlevel% neq 0 goto :VCEnd</Command>
          <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:/OpenCV2.1/build/CMakeFiles/ALL_BUILD.rule;%(AdditionalInputs)</AdditionalInputs>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\OpenCV2.1\build\CMakeFiles\ALL_BUILD</Outputs>
          <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Build all projects</Message>
          <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal
    :cmEnd
    endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
    :cmErrorLevel
    exit /b %1
    :cmDone
    if %errorlevel% neq 0 goto :VCEnd</Command>
          <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:/OpenCV2.1/build/CMakeFiles/ALL_BUILD.rule;%(AdditionalInputs)</AdditionalInputs>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\OpenCV2.1\build\CMakeFiles\ALL_BUILD</Outputs>
        </CustomBuild>
      </ItemGroup>
      <ItemGroup>
        <CustomBuild Include="..\CMakeLists.txt">
          <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Building Custom Rule C:/OpenCV2.1/CMakeLists.txt</Message>
          <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal
    "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -H.. -B. --check-stamp-file C:\OpenCV2.1\build\CMakeFiles\generate.stamp
    if %errorlevel% neq 0 goto :cmEnd
    :cmEnd
    endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
    :cmErrorLevel
    exit /b %1
    :cmDone
    if %errorlevel% neq 0 goto :VCEnd</Command>
          <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:/OpenCV2.1/CMakeLists.txt;C:\OpenCV2.1\CMakeLists.txt;C:\OpenCV2.1\build\CMakeFiles\CMakeSystem.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCCompiler.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCXXCompiler.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeSystemSpecificInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeGenericSystem.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\Windows.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\WindowsPaths.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\Windows-cl.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCPlatform.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCXXPlatform.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\cl.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeRCCompiler.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeRCInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCommonLanguageInclude.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCXXInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\Windows-cl.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCPlatform.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCXXPlatform.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\cl.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCommonLanguageInclude.cmake;C:\OpenCV2.1\OpenCVPCHSupport.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPythonInterp.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageMessage.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeParseArguments.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPythonLibs.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeFindFrameworks.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageMessage.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeParseArguments.cmake;C:\OpenCV2.1\cvconfig.h.cmake;C:\OpenCV2.1\OpenCVConfig.cmake.in;C:\OpenCV2.1\OpenCVConfig.cmake.in;C:\OpenCV2.1\OpenCVConfig.cmake.in;C:\OpenCV2.1\opencv.pc.cmake.in;C:\OpenCV2.1\cmake_uninstall.cmake.in;C:\OpenCV2.1\Package.cmake.in;C:\OpenCV2.1\build\.cpack\Package.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CPack.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CPackComponent.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Templates\CPackConfig.cmake.in;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Templates\CPackConfig.cmake.in;C:\OpenCV2.1\OpenCVFindLATEX.cmake;C:\OpenCV2.1\CMakeLists.txt;%(AdditionalInputs)</AdditionalInputs>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\OpenCV2.1\build\CMakeFiles\generate.stamp</Outputs>
          <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Building Custom Rule C:/OpenCV2.1/CMakeLists.txt</Message>
          <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal
    "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -H.. -B. --check-stamp-file C:\OpenCV2.1\build\CMakeFiles\generate.stamp
    if %errorlevel% neq 0 goto :cmEnd
    :cmEnd
    endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
    :cmErrorLevel
    exit /b %1
    :cmDone
    if %errorlevel% neq 0 goto :VCEnd</Command>
          <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:/OpenCV2.1/CMakeLists.txt;C:\OpenCV2.1\CMakeLists.txt;C:\OpenCV2.1\build\CMakeFiles\CMakeSystem.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCCompiler.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCXXCompiler.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeSystemSpecificInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeGenericSystem.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\Windows.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\WindowsPaths.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\Windows-cl.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCPlatform.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCXXPlatform.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\cl.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeRCCompiler.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeRCInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCommonLanguageInclude.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCXXInformation.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\Windows-cl.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCPlatform.cmake;C:\OpenCV2.1\build\CMakeFiles\CMakeCXXPlatform.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\Platform\cl.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeCommonLanguageInclude.cmake;C:\OpenCV2.1\OpenCVPCHSupport.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPythonInterp.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageMessage.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeParseArguments.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPythonLibs.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeFindFrameworks.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\FindPackageMessage.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CMakeParseArguments.cmake;C:\OpenCV2.1\cvconfig.h.cmake;C:\OpenCV2.1\OpenCVConfig.cmake.in;C:\OpenCV2.1\OpenCVConfig.cmake.in;C:\OpenCV2.1\OpenCVConfig.cmake.in;C:\OpenCV2.1\opencv.pc.cmake.in;C:\OpenCV2.1\cmake_uninstall.cmake.in;C:\OpenCV2.1\Package.cmake.in;C:\OpenCV2.1\build\.cpack\Package.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CPack.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CPackComponent.cmake;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Templates\CPackConfig.cmake.in;C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Templates\CPackConfig.cmake.in;C:\OpenCV2.1\OpenCVFindLATEX.cmake;C:\OpenCV2.1\CMakeLists.txt;%(AdditionalInputs)</AdditionalInputs>
          <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\OpenCV2.1\build\CMakeFiles\generate.stamp</Outputs>
        </CustomBuild>
      </ItemGroup>
      <ItemGroup>
        <None Include="C:\OpenCV2.1\build\CMakeFiles\ALL_BUILD" />
      </ItemGroup>
      <ItemGroup>
        <ProjectReference Include="C:/OpenCV2.1/build/doc/ReferenceManual.vcxproj">
          <Project>23D0423F-BF7D-4A98-86A4-8B5D7F98F185</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/ZERO_CHECK.vcxproj">
          <Project>4492F7DE-4C38-408A-8E9A-B4D5A7770D27</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/adaptiveskindetector.vcxproj">
          <Project>17DB012D-528C-499F-9C57-BCDF6DEBF7A7</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/bgfg_codebook.vcxproj">
          <Project>20FBE51F-0DAD-4BC9-95FD-B2CD4888F783</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/bgfg_segm.vcxproj">
          <Project>CD1246D6-9E4E-4C39-BEF3-5DE65244C7F0</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/blobtrack.vcxproj">
          <Project>E12D9FD2-E007-41FD-B51D-55C7649D565E</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/calibration.vcxproj">
          <Project>AF9AE49C-7300-49C1-B775-F730366F7617</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/calibration_artificial.vcxproj">
          <Project>E4A41A2D-BA41-4090-A274-47CFB849D007</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/camshiftdemo.vcxproj">
          <Project>1AFFC117-F4A4-413D-9F87-F63D9EDFB673</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/contours.vcxproj">
          <Project>44845715-FEB0-4119-8C1A-5C0D266E0BCA</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/convert_cascade.vcxproj">
          <Project>BEDD8AC9-83DB-4701-A532-187BE669BDF5</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/convexhull.vcxproj">
          <Project>E899F14C-CC46-4708-A9A2-7644C0E4F84E</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/apps/haartraining/createsamples.vcxproj">
          <Project>9AC42764-673D-478F-837B-32474894A3A8</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/src/cv/cv.vcxproj">
          <Project>1579BC7B-118D-42F1-9A61-D918B96082F8</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/src/cvaux/cvaux.vcxproj">
          <Project>DACA9A48-4104-4644-AC09-24180BFB91EA</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/apps/haartraining/cvhaartraining.vcxproj">
          <Project>A7CA0CEB-4CA9-4ABB-89DD-D8BE09F1824A</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/tests/cv/cvtest.vcxproj">
          <Project>3D7FEB84-E665-4F95-BB9B-6B98C492136B</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/src/cxcore/cxcore.vcxproj">
          <Project>D8882117-352B-41C1-A881-8FBE9FFBFB01</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/tests/cxcore/cxcoretest.vcxproj">
          <Project>0CBFAF9A-F85A-49E5-BD8E-3CD1011F7A6F</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/tests/cxts/cxts.vcxproj">
          <Project>649687BB-1724-45A9-A286-22E37DFFA828</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/delaunay.vcxproj">
          <Project>DA79217E-AE1D-47E0-8998-B51407022920</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/demhist.vcxproj">
          <Project>B3EC9C2F-AD6F-4F96-B7F1-E0040DD3244C</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/dft.vcxproj">
          <Project>D2CEF53D-8D61-4E84-BD4A-BDDF785706C4</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/distrans.vcxproj">
          <Project>44F72FBF-653B-4931-BB38-F2D56C61F356</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/drawing.vcxproj">
          <Project>0E15020E-125E-4DA8-9988-44BF2833F119</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/edge.vcxproj">
          <Project>ED6D5DB2-39AD-4B4E-9285-14641F6A6A03</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/facedetect.vcxproj">
          <Project>4FCBFD6F-3FBC-4C50-B70D-9A1BE4AA4FC2</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/fback.vcxproj">
          <Project>237D4447-FD1A-41BE-BE8B-071CC4386693</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/fback_c.vcxproj">
          <Project>0F46116C-F6BF-4BE1-9072-40CF6F79CF3B</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/ffilldemo.vcxproj">
          <Project>FDEB4350-0C57-480A-9727-4F204B17001D</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/find_obj.vcxproj">
          <Project>32F51B25-48B0-4CA9-80D5-E0C140462FDF</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/find_obj_calonder.vcxproj">
          <Project>991F404C-268B-4C8E-830E-EF96AC458F91</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/find_obj_ferns.vcxproj">
          <Project>79896CB8-EE08-4252-9EB1-B9CFF0D108A0</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/fitellipse.vcxproj">
          <Project>0E5C657E-E66B-45A9-81CB-21CF53B24F1F</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/3rdparty/flann/flann.vcxproj">
          <Project>059340A3-00A5-454B-91CF-8AA7E7AD0C12</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/grabcut.vcxproj">
          <Project>2BFE5E15-4A94-4ED2-871E-C75BC0B72793</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/apps/haartraining/haartraining.vcxproj">
          <Project>826B088D-9D7E-4E7D-874A-3EE13DB42322</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/src/highgui/highgui.vcxproj">
          <Project>8D6CD9B8-93A5-471B-8A15-393ECCFCC477</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/houghlines.vcxproj">
          <Project>0CFF7776-3537-4730-83B3-4771356A06BD</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/image.vcxproj">
          <Project>9473A4E8-2838-48D3-8BF6-777C18A4A8CB</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/inpaint.vcxproj">
          <Project>B37F442A-250D-4EEC-9652-ADE40E257951</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/kalman.vcxproj">
          <Project>BA67A9BE-59BC-4028-B89C-A03CE6F48A10</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/kmeans.vcxproj">
          <Project>68E9532B-1C2A-42EC-B98D-8397207045E0</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/laplace.vcxproj">
          <Project>6DE439CE-467D-4CE0-83A0-8C34B2DBC5F8</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/letter_recog.vcxproj">
          <Project>AF261CAE-CBAE-4868-86E4-858FF4C308EF</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/3rdparty/libjasper/libjasper.vcxproj">
          <Project>574C03FA-420E-4A71-B41D-6B0BC4C2B9D5</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/3rdparty/libjpeg/libjpeg.vcxproj">
          <Project>D0493296-AA6F-4B2E-AD95-E116EA9B4BAB</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/3rdparty/libpng/libpng.vcxproj">
          <Project>9006E84C-C133-4253-B768-15A5AEAB1CD2</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/3rdparty/libtiff/libtiff.vcxproj">
          <Project>5228BB35-00F5-4353-ACF7-53EF80A0CBA4</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/lkdemo.vcxproj">
          <Project>8E65C0FE-C46B-47E0-8F9D-A7E954C139B8</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/minarea.vcxproj">
          <Project>CFADE263-9866-47F9-A4B7-539B42536976</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/src/ml/ml.vcxproj">
          <Project>962F47A1-3B41-4B3A-96EA-47CF525DB733</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/tests/ml/mltest.vcxproj">
          <Project>32F5DA29-6BEB-4E13-B0D9-B860C956E9E3</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/morphology.vcxproj">
          <Project>45A59B78-5073-4809-92C0-06A651107A37</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/motempl.vcxproj">
          <Project>DF2851E7-3DC3-4816-8293-D60E04052A43</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/mser.vcxproj">
          <Project>4B8415A1-DAB8-4D96-8B42-66EA13F01D62</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/mushroom.vcxproj">
          <Project>A27339A4-9EB7-45FC-9C28-8AC01D47A941</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/3rdparty/lapack/opencv_lapack.vcxproj">
          <Project>A462E283-DEB3-4088-8CC8-4356F698CAB0</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/peopledetect.vcxproj">
          <Project>D4334A60-607B-46F4-8FD5-C67DC99534C2</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/apps/haartraining/performance.vcxproj">
          <Project>CC2AD109-B9D9-4FCB-B4BA-D1107D7FD4B6</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/polar_transforms.vcxproj">
          <Project>E26A0524-9AF0-4169-A55F-7A251FB0038E</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/pyramid_segmentation.vcxproj">
          <Project>0EB246D1-8CC7-4E32-8EB5-9C8F7E090B67</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/squares.vcxproj">
          <Project>5AF95C95-5DE7-4933-9A8E-D39099C25B51</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/stereo_calib.vcxproj">
          <Project>4714876D-EFC7-4001-97F8-805A2BA4429D</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/stereo_match.vcxproj">
          <Project>0BA14D1C-22C0-43AD-B068-8CA445543718</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/apps/traincascade/traincascade.vcxproj">
          <Project>03E789DE-75FD-4521-9C7F-76DA6F818484</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/tree_engine.vcxproj">
          <Project>B7459935-0877-4FFD-802B-75557FD7B9D5</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/samples/c/watershed.vcxproj">
          <Project>8729233F-4029-47A7-B787-3CA61AF6BF9B</Project>
        </ProjectReference>
        <ProjectReference Include="C:/OpenCV2.1/build/3rdparty/zlib/zlib.vcxproj">
          <Project>776C4DC1-73A1-45EB-A69F-22E8438098A7</Project>
        </ProjectReference>
      </ItemGroup>
      <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
      <ImportGroup Label="ExtensionTargets">
      </ImportGroup>
    </Project>

    Hoping to get a positive reply. 

    Regards,

    Manish

    25 กุมภาพันธ์ 2555 11:10
  • Hi!

    I have same problem.

    Studio writes what problem here.

    .vcxproj:

    <CustomBuild Include="$(OutDir)\mksnapshot.exe">
    <FileType>Document</FileType>
    <Command>call $(OutDir)mksnapshot.exe &quot;--log-snapshot-positions&quot; &quot;--logfile&quot; &quot;$(IntDir)snapshot.log&quot; &quot;$(IntDir)snapshot.cc&quot;
    </Command><Message>run_mksnapshot</Message>
    <Outputs>$(IntDir)\snapshot.cc</Outputs></CustomBuild>

    Thanks.

    23 พฤษภาคม 2555 13:42