[vtkusers] Problem with last step of building VTK in VS 2010

Ben Medina ben.medina at gmail.com
Thu Aug 5 18:46:32 EDT 2010


Sounds like this is your problem:

 1>    file cannot create directory: C:/Program Files (x86)/VTK/lib/vtk-5.7.
 1>    Maybe need administrative privileges.

Try changing CMAKE_INSTALL_PREFIX to some location where you have
permission to create new directories.

- Ben

On Thu, Aug 5, 2010 at 2:53 PM, dedoel <deeel at tlen.pl> wrote:
>
> Hi,
> I was trying to build VTK, and I was following those steps :
>
> http://www.vtk.org/Wiki/VTK_Building_VTK
>
> Everything went fine till the last step, I had to build INSTALL solution
> and got this error :
>
>
>  Building Custom Rule C:/Users/Dawid/VTK/CMakeLists.txt
>  1>  CMake does not need to re-run because
>  C:\MyVTK\CMakeFiles\generate.stamp is up-to-date.
>  1>  CMake Error at cmake_install.cmake:31 (FILE):
>  1>    file cannot create directory: C:/Program Files
>  (x86)/VTK/lib/vtk-5.7.
>  1>    Maybe need administrative privileges.
>
>  1>The system cannot find the batch label specified - VCReportError"
>  1>C:\Program Files
>  (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):
>  error MSB3073: The command ""C:\Program Files (x86)\CMake
>  22.8\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
>  1>C:\Program Files
>  (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):
>  error MSB3073: if errorlevel 1 goto VCReportError
>  1>C:\Program Files
>  (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):
>  error MSB3073: :VCEnd" exited with code 1.
>
> What could be the problem here?
>
> Dawid
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-last-step-of-building-VTK-in-VS-2010-tp2265987p2265987.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list