# Update of WIKI on building VTK in visual studio

**URL:** https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429
**Category:** Support
**Created:** [March 7, 2019, 2:36pm UTC](https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429 "2019-03-07T14:36:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rdbrn](https://discourse.vtk.org/user_avatar/discourse.vtk.org/rdbrn/32/5627_2.png) [@rdbrn](https://discourse.vtk.org/u/rdbrn)
#### Post date: [March 7, 2019, 2:36pm UTC](https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429/1 "2019-03-07T14:36:15Z")

</div>

Hi there,

I just went through the wiki ([https://vtk.org/Wiki/VTK/Building/Windows](https://vtk.org/Wiki/VTK/Building/Windows)) on building VTK on windows using visual studio. I had quite some trouble getting it all to work. Especially as the last step (install) required me to run visual studio as administrator.

I would like to update the wiki and make it a bit easier to follow but I do not know how to request an account…

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [March 7, 2019, 3:33pm UTC](https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429/2 "2019-03-07T15:33:32Z")

</div>

Thanks for the offer - any improvements that make it easier for newcomers to build VTK is very welcome. It seems that account creation is disabled for the VTK wiki - hopefully wiki admins will tell you how to proceed.

> [@rdbrn](#):
>
> Especially as the last step (install) required me to run visual studio as administrator.

You don’t need to install VTK. You can run it from the build tree.

If for some reason you want to install it then you can set the destination (`CMAKE_INSTALL_PREFIX` CMake variable) to a folder that your user has write access to. Then you don’t need to run install step as an admin.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [March 7, 2019, 3:46pm UTC](https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429/3 "2019-03-07T15:46:38Z")

</div>

Ruben, thanks for your willingness to update the build instructions.

You know what would be better than updating the wiki? It would be great if you could take the wiki page and make a markdown file in the VTK repository itself. See, for example, ParaView’s build page here: [https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md](https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md)

It would be a fantastic contribution if you added that to VTK by submitting a merge request at [gitlab.kitware.com/vtk/vtk/](http://gitlab.kitware.com/vtk/vtk/)

Thanks!

---

<div class="post-metadata">

### Author: ![rdbrn](https://discourse.vtk.org/user_avatar/discourse.vtk.org/rdbrn/32/5627_2.png) [@rdbrn](https://discourse.vtk.org/u/rdbrn)
#### Post date: [March 9, 2019, 11:39am UTC](https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429/4 "2019-03-09T11:39:17Z")

</div>

Cory, glad to help.

I’ve created a .md file in /Documentation/dev , just like in paraview and gave it the name build\_windows\_vs.md

[https://gitlab.kitware.com/rubendebruin/vtk/blob/doc\_build\_windows/Documentation/dev/build\_windows\_vs.md](https://gitlab.kitware.com/rubendebruin/vtk/blob/doc_build_windows/Documentation/dev/build_windows_vs.md)

As Visual Studio / Windows users my be not too familiar with cmake etc. I’ve tried to write out all the steps.

I would like to include some screen-shots in the build instructions. Is there a specific location in the repository where I can place static images? Or do we place them outside the repo and link to them?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [March 11, 2019, 2:40am UTC](https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429/5 "2019-03-11T02:40:50Z")

</div>

Cool, thanks. When you push your merge request, please tag me to review (@cory.quammen

I’d say it’s okay to have a few images in a subdirectory named `img` or `images`.

---

<div class="post-metadata">

### Author: ![rdbrn](https://discourse.vtk.org/user_avatar/discourse.vtk.org/rdbrn/32/5627_2.png) [@rdbrn](https://discourse.vtk.org/u/rdbrn)
#### Post date: [March 13, 2019, 2:11pm UTC](https://discourse.vtk.org/t/update-of-wiki-on-building-vtk-in-visual-studio/429/6 "2019-03-13T14:11:47Z")

</div>

Merge request submitted.
