title: CGAL - building INSTALL .sln ,error MSB3073: The command "setlocal"
body: <p>I have a problem while compiling CGAL I followed the steps here : <a href="http://www.cse.msu.edu/~ytong/CGAL_installation.ppt" rel="nofollow noreferrer">http://www.cse.msu.edu/~ytong/CGAL_installation.ppt</a> I'm using VS2013 , cgal 4.9.1 , BOOST 1.59.0 ,Qt5.7.1</p>
  
  <p>but when I reach at building INSTALL .sln step it show the following error:</p>
  
  <pre><code>Error   1   error MSB3073: The command "setlocal
  "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
  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
  :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets  132 5   INSTALL
  </code></pre>
  
  <p>output message :</p>
  
  <pre><code>   1&gt;------ Rebuild All started: Project: INSTALL, Configuration: Debug Win32 ------
  1&gt;  -- Install configuration: "Debug"
  1&gt;  -- Up-to-date: C:/Program Files (x86)/CGAL/share/doc/CGAL-4.9.1/AUTHORS
  1&gt;  -- Up-to-date: C:/Program Files (x86)/CGAL/share/doc/CGAL-4.9.1/CHANGES
  1&gt;  CMake Error at cmake_install.cmake:39 (file):
  1&gt;    file INSTALL cannot set permissions on "C:/Program Files
  1&gt;    (x86)/CGAL/share/doc/CGAL-4.9.1/CHANGES"
  1&gt;  
  1&gt;  
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "setlocal
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
  1&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code 1.
  ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
  </code></pre>
  
  <p>any help please?</p>