# Slicer is compiled through the tools cmake, VS2022 on the Win10 platform, and the compiled project can be directly developed on other Windows 10 platforms? If so, how do you need to configure it?

**URL:** <https://discourse.slicer.org/t/slicer-is-compiled-through-the-tools-cmake-vs2022-on-the-win10-platform-and-the-compiled-project-can-be-directly-developed-on-other-windows-10-platforms-if-so-how-do-you-need-to-configure-it/25855>\
**Category:** Support\
**Created:** [October 24, 2022, 6:01am UTC](https://discourse.slicer.org/t/slicer-is-compiled-through-the-tools-cmake-vs2022-on-the-win10-platform-and-the-compiled-project-can-be-directly-developed-on-other-windows-10-platforms-if-so-how-do-you-need-to-configure-it/25855 "2022-10-24T06:01:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lhf](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@lhf](https://discourse.slicer.org/u/lhf)\
**Post date:** [October 24, 2022, 6:01am UTC](https://discourse.slicer.org/t/slicer-is-compiled-through-the-tools-cmake-vs2022-on-the-win10-platform-and-the-compiled-project-can-be-directly-developed-on-other-windows-10-platforms-if-so-how-do-you-need-to-configure-it/25855/1 "2022-10-24T06:01:50Z")

</div>

Operating system:window10.  
Slicer version:The most recent version of slicer.  
Expected behavior:The slicer compiled by the tool can be developed on the Win10 platform.  
Actual behavior:The slicer compiled by the tool has a path problem and cannot be developed on other platforms.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [October 24, 2022, 11:25am UTC](https://discourse.slicer.org/t/slicer-is-compiled-through-the-tools-cmake-vs2022-on-the-win10-platform-and-the-compiled-project-can-be-directly-developed-on-other-windows-10-platforms-if-so-how-do-you-need-to-configure-it/25855/2 "2022-10-24T11:25:06Z")

</div>

What was the path problem you observed?

Here are the build instructions including the recommended source and build directory paths to avoid errors:

[https://slicer.readthedocs.io/en/latest/developer\_guide/build\_instructions/windows.html#set-up-source-and-build-folders](https://slicer.readthedocs.io/en/latest/developer_guide/build_instructions/windows.html#set-up-source-and-build-folders)

---

<div class="post-metadata">

**Author:** ![lhf](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@lhf](https://discourse.slicer.org/u/lhf)\
**Post date:** [October 25, 2022, 6:55am UTC](https://discourse.slicer.org/t/slicer-is-compiled-through-the-tools-cmake-vs2022-on-the-win10-platform-and-the-compiled-project-can-be-directly-developed-on-other-windows-10-platforms-if-so-how-do-you-need-to-configure-it/25855/3 "2022-10-25T06:55:01Z")

</div>

Thank you very much for your reply, I believe it will be of great help in the next compilation process.
